/Linux-v5.4/drivers/i2c/muxes/ |
D | i2c-mux-ltc4306.c | 49 struct gpio_chip gpiochip; member 159 data->gpiochip.label = dev_name(dev); in ltc4306_gpio_init() 160 data->gpiochip.base = -1; in ltc4306_gpio_init() 161 data->gpiochip.ngpio = data->chip->num_gpios; in ltc4306_gpio_init() 162 data->gpiochip.parent = dev; in ltc4306_gpio_init() 163 data->gpiochip.can_sleep = true; in ltc4306_gpio_init() 164 data->gpiochip.get_direction = ltc4306_gpio_get_direction; in ltc4306_gpio_init() 165 data->gpiochip.direction_input = ltc4306_gpio_direction_input; in ltc4306_gpio_init() 166 data->gpiochip.direction_output = ltc4306_gpio_direction_output; in ltc4306_gpio_init() 167 data->gpiochip.get = ltc4306_gpio_get; in ltc4306_gpio_init() [all …]
|
/Linux-v5.4/drivers/gpio/ |
D | gpiolib.c | 85 static int gpiochip_add_irqchip(struct gpio_chip *gpiochip, 88 static void gpiochip_irqchip_remove(struct gpio_chip *gpiochip); 89 static int gpiochip_irqchip_init_hw(struct gpio_chip *gpiochip); 90 static int gpiochip_irqchip_init_valid_mask(struct gpio_chip *gpiochip); 91 static void gpiochip_irqchip_free_valid_mask(struct gpio_chip *gpiochip); 387 static void gpiochip_free_valid_mask(struct gpio_chip *gpiochip) in gpiochip_free_valid_mask() argument 389 bitmap_free(gpiochip->valid_mask); in gpiochip_free_valid_mask() 390 gpiochip->valid_mask = NULL; in gpiochip_free_valid_mask() 393 bool gpiochip_line_is_valid(const struct gpio_chip *gpiochip, in gpiochip_line_is_valid() argument 397 if (likely(!gpiochip->valid_mask)) in gpiochip_line_is_valid() [all …]
|
D | TODO | 95 Currently we set up the irqchip after setting up the gpiochip
|
D | gpiolib-sysfs.c | 445 ATTRIBUTE_GROUPS(gpiochip);
|
/Linux-v5.4/include/linux/gpio/ |
D | driver.h | 580 void gpiochip_set_chained_irqchip(struct gpio_chip *gpiochip, 585 void gpiochip_set_nested_irqchip(struct gpio_chip *gpiochip, 589 int gpiochip_irqchip_add_key(struct gpio_chip *gpiochip, 598 bool gpiochip_irqchip_irq_valid(const struct gpio_chip *gpiochip, 609 static inline int gpiochip_irqchip_add(struct gpio_chip *gpiochip, in gpiochip_irqchip_add() argument 618 return gpiochip_irqchip_add_key(gpiochip, irqchip, first_irq, in gpiochip_irqchip_add() 623 static inline int gpiochip_irqchip_add_nested(struct gpio_chip *gpiochip, in gpiochip_irqchip_add_nested() argument 633 return gpiochip_irqchip_add_key(gpiochip, irqchip, first_irq, in gpiochip_irqchip_add_nested() 638 static inline int gpiochip_irqchip_add(struct gpio_chip *gpiochip, in gpiochip_irqchip_add() argument 644 return gpiochip_irqchip_add_key(gpiochip, irqchip, first_irq, in gpiochip_irqchip_add() [all …]
|
/Linux-v5.4/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-v5.4/drivers/iio/dac/ |
D | ad5592r-base.c | 134 st->gpiochip.label = dev_name(st->dev); in ad5592r_gpio_init() 135 st->gpiochip.base = -1; in ad5592r_gpio_init() 136 st->gpiochip.ngpio = 8; in ad5592r_gpio_init() 137 st->gpiochip.parent = st->dev; in ad5592r_gpio_init() 138 st->gpiochip.can_sleep = true; in ad5592r_gpio_init() 139 st->gpiochip.direction_input = ad5592r_gpio_direction_input; in ad5592r_gpio_init() 140 st->gpiochip.direction_output = ad5592r_gpio_direction_output; in ad5592r_gpio_init() 141 st->gpiochip.get = ad5592r_gpio_get; in ad5592r_gpio_init() 142 st->gpiochip.set = ad5592r_gpio_set; in ad5592r_gpio_init() 143 st->gpiochip.request = ad5592r_gpio_request; in ad5592r_gpio_init() [all …]
|
D | ad5592r-base.h | 53 struct gpio_chip gpiochip; member
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | gpio-cdev | 1 What: /dev/gpiochip[0-9]+ 6 The character device files /dev/gpiochip* are the interface
|
/Linux-v5.4/Documentation/ABI/obsolete/ |
D | sysfs-gpio | 24 /gpiochipN ... for each gpiochip; #N is its first GPIO
|
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/ |
D | bq24190.txt | 47 interrupts-extended = <&gpiochip 10 IRQ_TYPE_EDGE_FALLING>;
|
/Linux-v5.4/Documentation/translations/zh_CN/ |
D | gpio.txt | 623 有所不同。在这种情况下,你可能需要使用 gpiochip 节点(尽可能地结合电路图)来
|
/Linux-v5.4/Documentation/admin-guide/gpio/ |
D | sysfs.rst | 136 gpiochip nodes (possibly in conjunction with schematics) to determine
|
/Linux-v5.4/Documentation/driver-api/gpio/ |
D | board.rst | 194 The line will be hogged as soon as the gpiochip is created or - in case the
|
D | driver.rst | 493 gpiochip. It will pass the struct gpio_chip* for the chip to all IRQ 498 - gpiochip_irqchip_add_nested(): adds a nested cascaded irqchip to a gpiochip, 514 these helpers, we can set .irq.need_valid_mask of the gpiochip before
|
D | legacy.rst | 728 gpiochip nodes (possibly in conjunction with schematics) to determine
|
/Linux-v5.4/drivers/hid/ |
D | Kconfig | 273 and gpiochip to expose these functions of the CP2112. The
|
/Linux-v5.4/Documentation/admin-guide/ |
D | kernel-parameters.txt | 1367 [HW] Sets the ranges of gpiochip of for this device.
|