Home
last modified time | relevance | path

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

/openbmc/linux/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, \
/openbmc/linux/Documentation/driver-api/gpio/
H A Dboard.rst113 GPIO_LOOKUP(key, chip_hwnum, con_id, flags)
114 GPIO_LOOKUP_IDX(key, chip_hwnum, con_id, idx, flags)
120 - chip_hwnum is the hardware number of the GPIO within the chip, or U16_MAX
/openbmc/linux/drivers/platform/x86/intel/int3472/
H A Ddiscrete.c80 table_entry->chip_hwnum = agpio->pin_table[0]; in skl_int3472_map_gpio_to_sensor()
/openbmc/linux/drivers/gpio/
H A Dgpiolib.c643 desc = gpiochip_get_desc(gc, hog->chip_hwnum); in gpiochip_machine_hog()
656 __func__, gc->label, hog->chip_hwnum, rv); in gpiochip_machine_hog()
3934 if (p->chip_hwnum == U16_MAX) { in gpiod_find()
3961 if (gc->ngpio <= p->chip_hwnum) { in gpiod_find()
3964 idx, p->chip_hwnum, gc->ngpio - 1, in gpiod_find()
3969 desc = gpiochip_get_desc(gc, p->chip_hwnum); in gpiod_find()
H A Dgpio-sim.c803 hog->chip_hwnum = line->offset; in gpio_sim_add_hogs()