/Linux-v6.1/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-v6.1/drivers/gpio/ |
D | gpio-msc313.c | 596 struct gpio_chip *gpiochip; in msc313_gpio_probe() local 630 gpiochip = devm_kzalloc(dev, sizeof(*gpiochip), GFP_KERNEL); in msc313_gpio_probe() 631 if (!gpiochip) in msc313_gpio_probe() 634 gpiochip->label = DRIVER_NAME; in msc313_gpio_probe() 635 gpiochip->parent = dev; in msc313_gpio_probe() 636 gpiochip->request = gpiochip_generic_request; in msc313_gpio_probe() 637 gpiochip->free = gpiochip_generic_free; in msc313_gpio_probe() 638 gpiochip->direction_input = msc313_gpio_direction_input; in msc313_gpio_probe() 639 gpiochip->direction_output = msc313_gpio_direction_output; in msc313_gpio_probe() 640 gpiochip->get = msc313_gpio_get; in msc313_gpio_probe() [all …]
|
D | TODO | 163 directory per gpiochip and one file entry per line: 165 /sys/kernel/debug/gpiochip/gpiochip0 166 /sys/kernel/debug/gpiochip/gpiochip0/gpio0 167 /sys/kernel/debug/gpiochip/gpiochip0/gpio1 168 /sys/kernel/debug/gpiochip/gpiochip0/gpio2 169 /sys/kernel/debug/gpiochip/gpiochip0/gpio3 171 /sys/kernel/debug/gpiochip/gpiochip1 172 /sys/kernel/debug/gpiochip/gpiochip1/gpio0 173 /sys/kernel/debug/gpiochip/gpiochip1/gpio1
|
D | gpio-sama5d2-piobu.c | 112 * sama5d2_piobu_get_direction() - gpiochip get_direction 127 * sama5d2_piobu_direction_input() - gpiochip direction_input 136 * sama5d2_piobu_direction_output() - gpiochip direction_output 151 * sama5d2_piobu_get() - gpiochip get 170 * sama5d2_piobu_set() - gpiochip set 214 dev_err(&pdev->dev, "Failed to add gpiochip %d\n", ret); in sama5d2_piobu_probe()
|
D | gpio-ixp4xx.c | 45 * @gc: gpiochip for this instance 270 * the fixed gpiochip base. in ixp4xx_gpio_probe() 286 dev_err(dev, "failed to add SoC gpiochip\n"); in ixp4xx_gpio_probe()
|
D | gpiolib.c | 380 * is using more than one gpiochip per the same device. We have to stop in devprop_gpiochip_set_names() 387 …dev_warn(&gdev->dev, "gpio-line-names too short (length %d), cannot map names for the gpiochip at … in devprop_gpiochip_set_names() 405 * When more that one gpiochip per device is used, 'count' can in devprop_gpiochip_set_names() 903 "REMOVING GPIOCHIP WITH GPIOS STILL REQUESTED\n"); in gpiochip_remove() 906 * The gpiochip side puts its use of the device to rest here: in gpiochip_remove() 1014 * to a gpiochip 1015 * @gc: the gpiochip to set the irqchip hierarchical handler to 1298 * @hwirq: the local IRQ/GPIO line offset on this gpiochip 1301 * gpiochip by assigning the gpiochip as chip data, and using the irqchip 1302 * stored inside the gpiochip. [all …]
|
D | gpiolib.h | 19 #define GPIOCHIP_NAME "gpiochip" 29 * @chip: pointer to the corresponding gpiochip, holding static
|
D | gpio-ftgpio010.c | 3 * Faraday Technolog FTGPIO010 gpiochip and interrupt routines 43 * @gc: gpiochip for this instance
|
D | gpio-tps65086.c | 97 dev_err(&pdev->dev, "Could not register gpiochip, %d\n", ret); in tps65086_gpio_probe()
|
D | gpio-twl6040.c | 96 dev_err(&pdev->dev, "could not register gpiochip, %d\n", ret); in gpo_twl6040_probe()
|
D | gpio-imx-scu.c | 5 * The driver exports a standard gpiochip interface
|
D | gpio-tpic2810.c | 122 dev_err(&client->dev, "Unable to register gpiochip\n"); in tpic2810_probe()
|
D | gpio-lp873x.c | 151 dev_err(&pdev->dev, "Could not register gpiochip, %d\n", ret); in lp873x_gpio_probe()
|
D | gpio-mlxbf.c | 81 dev_err(&pdev->dev, "Failed adding memory mapped gpiochip\n"); in mlxbf_gpio_probe()
|
/Linux-v6.1/tools/gpio/ |
D | gpio-utils.c | 25 * Provide the api of gpiochip for chardev interface. There are two 37 * gpiotools_request_line() - request gpio lines in a gpiochip 38 * @device_name: The name of gpiochip without prefix "/dev/", 151 * gpiotools_release_line() - Release the line(s) of gpiochip 173 * @device_name: The name of gpiochip without prefix "/dev/", 195 * @device_name: The name of gpiochip without prefix "/dev/", 200 * @values: The array of values get from gpiochip. 234 * @device_name: The name of gpiochip without prefix "/dev/", 252 * @device_name: The name of gpiochip without prefix "/dev/", 257 * @values: The array of values set to gpiochip, must be
|
D | gpio-watch.c | 37 perror("unable to open gpiochip"); in main() 98 printf("%s: <gpiochip> <line0> <line1> ...\n", argv[0]); in main()
|
/Linux-v6.1/drivers/iio/dac/ |
D | ad5592r-base.c | 132 st->gpiochip.label = dev_name(st->dev); in ad5592r_gpio_init() 133 st->gpiochip.base = -1; in ad5592r_gpio_init() 134 st->gpiochip.ngpio = 8; in ad5592r_gpio_init() 135 st->gpiochip.parent = st->dev; in ad5592r_gpio_init() 136 st->gpiochip.can_sleep = true; in ad5592r_gpio_init() 137 st->gpiochip.direction_input = ad5592r_gpio_direction_input; in ad5592r_gpio_init() 138 st->gpiochip.direction_output = ad5592r_gpio_direction_output; in ad5592r_gpio_init() 139 st->gpiochip.get = ad5592r_gpio_get; in ad5592r_gpio_init() 140 st->gpiochip.set = ad5592r_gpio_set; in ad5592r_gpio_init() 141 st->gpiochip.request = ad5592r_gpio_request; in ad5592r_gpio_init() [all …]
|
D | ad5592r-base.h | 55 struct gpio_chip gpiochip; member
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | gpio-cdev | 1 What: /dev/gpiochip[0-9]+ 6 The character device files /dev/gpiochip* are the interface
|
/Linux-v6.1/tools/testing/selftests/gpio/ |
D | gpio-mockup.sh | 281 # For each gpiochip the fence post lines, 0 and n-1, are tested, and the 285 # gpiochip is tested as well. 297 gpiochip=$(find "$DEBUGFS/$module/" -name gpiochip* -type d | sort) 298 for chip in $gpiochip; do
|
/Linux-v6.1/Documentation/admin-guide/gpio/ |
D | gpio-aggregator.rst | 13 GPIO controllers are exported to userspace using /dev/gpiochip* character 104 After that, a new gpiochip "door" has been created:
|
/Linux-v6.1/Documentation/ABI/obsolete/ |
D | sysfs-gpio | 26 /gpiochipN ... for each gpiochip; #N is its first GPIO
|
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/ |
D | bq24190.yaml | 85 interrupt-parent = <&gpiochip>;
|
/Linux-v6.1/arch/mips/bcm63xx/ |
D | setup.c | 164 /* register gpiochip */ in bcm63xx_register_devices()
|
/Linux-v6.1/drivers/pinctrl/ |
D | pinctrl-rk805.c | 460 dev_err(&pdev->dev, "Couldn't add gpiochip\n"); in rk805_pinctrl_probe() 475 dev_err(&pdev->dev, "Couldn't add gpiochip pin range\n"); in rk805_pinctrl_probe()
|