/Linux-v4.19/drivers/i2c/muxes/ |
D | i2c-mux-ltc4306.c | 50 struct gpio_chip gpiochip; member 160 data->gpiochip.label = dev_name(dev); in ltc4306_gpio_init() 161 data->gpiochip.base = -1; in ltc4306_gpio_init() 162 data->gpiochip.ngpio = data->chip->num_gpios; in ltc4306_gpio_init() 163 data->gpiochip.parent = dev; in ltc4306_gpio_init() 164 data->gpiochip.can_sleep = true; in ltc4306_gpio_init() 165 data->gpiochip.get_direction = ltc4306_gpio_get_direction; in ltc4306_gpio_init() 166 data->gpiochip.direction_input = ltc4306_gpio_direction_input; in ltc4306_gpio_init() 167 data->gpiochip.direction_output = ltc4306_gpio_direction_output; in ltc4306_gpio_init() 168 data->gpiochip.get = ltc4306_gpio_get; in ltc4306_gpio_init() [all …]
|
/Linux-v4.19/drivers/gpio/ |
D | gpiolib.c | 83 static int gpiochip_add_irqchip(struct gpio_chip *gpiochip, 86 static void gpiochip_irqchip_remove(struct gpio_chip *gpiochip); 87 static int gpiochip_irqchip_init_valid_mask(struct gpio_chip *gpiochip); 88 static void gpiochip_irqchip_free_valid_mask(struct gpio_chip *gpiochip); 362 static int gpiochip_init_valid_mask(struct gpio_chip *gpiochip) in gpiochip_init_valid_mask() argument 366 struct device_node *np = gpiochip->of_node; in gpiochip_init_valid_mask() 370 gpiochip->need_valid_mask = true; in gpiochip_init_valid_mask() 373 if (!gpiochip->need_valid_mask) in gpiochip_init_valid_mask() 376 gpiochip->valid_mask = gpiochip_allocate_mask(gpiochip); in gpiochip_init_valid_mask() 377 if (!gpiochip->valid_mask) in gpiochip_init_valid_mask() [all …]
|
D | gpiolib-sysfs.c | 445 ATTRIBUTE_GROUPS(gpiochip);
|
/Linux-v4.19/include/linux/gpio/ |
D | driver.h | 447 void gpiochip_set_chained_irqchip(struct gpio_chip *gpiochip, 452 void gpiochip_set_nested_irqchip(struct gpio_chip *gpiochip, 456 int gpiochip_irqchip_add_key(struct gpio_chip *gpiochip, 465 bool gpiochip_irqchip_irq_valid(const struct gpio_chip *gpiochip, 476 static inline int gpiochip_irqchip_add(struct gpio_chip *gpiochip, in gpiochip_irqchip_add() argument 485 return gpiochip_irqchip_add_key(gpiochip, irqchip, first_irq, in gpiochip_irqchip_add() 490 static inline int gpiochip_irqchip_add_nested(struct gpio_chip *gpiochip, in gpiochip_irqchip_add_nested() argument 500 return gpiochip_irqchip_add_key(gpiochip, irqchip, first_irq, in gpiochip_irqchip_add_nested() 505 static inline int gpiochip_irqchip_add(struct gpio_chip *gpiochip, in gpiochip_irqchip_add() argument 511 return gpiochip_irqchip_add_key(gpiochip, irqchip, first_irq, in gpiochip_irqchip_add() [all …]
|
/Linux-v4.19/tools/testing/selftests/gpio/ |
D | gpio-mockup-sysfs.sh | 101 echo `ls -d $GPIO_DRV_SYSFS/gpiochip* 2>/dev/null` 121 gpiochip=`list_chip $module` 122 if [ X"$gpiochip" = X ]; then 130 for chip in $gpiochip; do
|
/Linux-v4.19/drivers/iio/dac/ |
D | ad5592r-base.c | 135 st->gpiochip.label = dev_name(st->dev); in ad5592r_gpio_init() 136 st->gpiochip.base = -1; in ad5592r_gpio_init() 137 st->gpiochip.ngpio = 8; in ad5592r_gpio_init() 138 st->gpiochip.parent = st->dev; in ad5592r_gpio_init() 139 st->gpiochip.can_sleep = true; in ad5592r_gpio_init() 140 st->gpiochip.direction_input = ad5592r_gpio_direction_input; in ad5592r_gpio_init() 141 st->gpiochip.direction_output = ad5592r_gpio_direction_output; in ad5592r_gpio_init() 142 st->gpiochip.get = ad5592r_gpio_get; in ad5592r_gpio_init() 143 st->gpiochip.set = ad5592r_gpio_set; in ad5592r_gpio_init() 144 st->gpiochip.request = ad5592r_gpio_request; in ad5592r_gpio_init() [all …]
|
D | ad5592r-base.h | 54 struct gpio_chip gpiochip; member
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | gpio-cdev | 1 What: /dev/gpiochip[0-9]+ 6 The character device files /dev/gpiochip* are the interface
|
/Linux-v4.19/Documentation/devicetree/bindings/power/supply/ |
D | bq24190.txt | 39 interrupts-extended = <&gpiochip 10 IRQ_TYPE_EDGE_FALLING>;
|
/Linux-v4.19/Documentation/ABI/obsolete/ |
D | sysfs-gpio | 24 /gpiochipN ... for each gpiochip; #N is its first GPIO
|
/Linux-v4.19/Documentation/translations/zh_CN/ |
D | gpio.txt | 623 有所不同。在这种情况下,你可能需要使用 gpiochip 节点(尽可能地结合电路图)来
|
/Linux-v4.19/Documentation/driver-api/gpio/ |
D | driver.rst | 302 * gpiochip_irqchip_add(): adds a chained irqchip to a gpiochip. It will pass 308 * gpiochip_irqchip_add_nested(): adds a nested irqchip to a gpiochip. 322 set .irq.need_valid_mask of the gpiochip before gpiochip_add_data() is
|
D | board.rst | 194 The line will be hogged as soon as the gpiochip is created or - in case the
|
D | legacy.rst | 729 gpiochip nodes (possibly in conjunction with schematics) to determine
|
/Linux-v4.19/Documentation/gpio/ |
D | sysfs.txt | 125 gpiochip nodes (possibly in conjunction with schematics) to determine
|
/Linux-v4.19/drivers/hid/ |
D | Kconfig | 248 and gpiochip to expose these functions of the CP2112. The
|
/Linux-v4.19/Documentation/admin-guide/ |
D | kernel-parameters.txt | 1317 [HW] Sets the ranges of gpiochip of for this device.
|