Home
last modified time | relevance | path

Searched refs:chip_hwnum (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/include/linux/gpio/
H A Dmachine.h37 u16 chip_hwnum; member
60 u16 chip_hwnum; member
92 .chip_hwnum = _chip_hwnum, \
104 .chip_hwnum = _chip_hwnum, \
/linux-6.15/Documentation/driver-api/gpio/
H A Dboard.rst107 GPIO_LOOKUP(key, chip_hwnum, con_id, flags)
108 GPIO_LOOKUP_IDX(key, chip_hwnum, con_id, idx, flags)
114 - chip_hwnum is the hardware number of the GPIO within the chip, or U16_MAX
/linux-6.15/drivers/gpio/
H A Dgpiolib.c866 desc = gpiochip_get_desc(gc, hog->chip_hwnum); in gpiochip_machine_hog()
876 __func__, gc->label, hog->chip_hwnum, rv); in gpiochip_machine_hog()
4491 if (p->chip_hwnum == U16_MAX) { in gpiod_find()
4520 if (gc->ngpio <= p->chip_hwnum) { in gpiod_find()
4523 idx, p->chip_hwnum, gc->ngpio - 1, in gpiod_find()
4528 desc = gpio_device_get_desc(gdev, p->chip_hwnum); in gpiod_find()
H A Dgpio-sim.c833 hog->chip_hwnum = line->offset; in gpio_sim_add_hogs()