Home
last modified time | relevance | path

Searched refs:gpiochip (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-msc313.c614 struct gpio_chip *gpiochip; in msc313_gpio_probe() local
648 gpiochip = devm_kzalloc(dev, sizeof(*gpiochip), GFP_KERNEL); in msc313_gpio_probe()
649 if (!gpiochip) in msc313_gpio_probe()
652 gpiochip->label = DRIVER_NAME; in msc313_gpio_probe()
653 gpiochip->parent = dev; in msc313_gpio_probe()
654 gpiochip->request = gpiochip_generic_request; in msc313_gpio_probe()
655 gpiochip->free = gpiochip_generic_free; in msc313_gpio_probe()
656 gpiochip->direction_input = msc313_gpio_direction_input; in msc313_gpio_probe()
657 gpiochip->direction_output = msc313_gpio_direction_output; in msc313_gpio_probe()
658 gpiochip->get = msc313_gpio_get; in msc313_gpio_probe()
[all …]
H A DTODO79 Get rid of <linux/gpio/legacy-of-mm-gpiochip.h>
175 directory per gpiochip and one file entry per line:
177 /sys/kernel/debug/gpiochip/gpiochip0
178 /sys/kernel/debug/gpiochip/gpiochip0/gpio0
179 /sys/kernel/debug/gpiochip/gpiochip0/gpio1
180 /sys/kernel/debug/gpiochip/gpiochip0/gpio2
181 /sys/kernel/debug/gpiochip/gpiochip0/gpio3
183 /sys/kernel/debug/gpiochip/gpiochip1
184 /sys/kernel/debug/gpiochip/gpiochip1/gpio0
185 /sys/kernel/debug/gpiochip/gpiochip1/gpio1
H A Dgpiolib-sysfs.c443 ATTRIBUTE_GROUPS(gpiochip);
/linux/Documentation/ABI/testing/
H A Dgpio-cdev1 What: /dev/gpiochip[0-9]+
6 The character device files /dev/gpiochip* are the interface
/linux/drivers/media/i2c/
H A Dmax96717.c282 static int max96717_gpiochip_get(struct gpio_chip *gpiochip, in max96717_gpiochip_get() argument
285 struct max96717_priv *priv = gpiochip_get_data(gpiochip); in max96717_gpiochip_get()
300 static void max96717_gpiochip_set(struct gpio_chip *gpiochip, in max96717_gpiochip_set() argument
303 struct max96717_priv *priv = gpiochip_get_data(gpiochip); in max96717_gpiochip_set()
309 static int max96717_gpio_get_direction(struct gpio_chip *gpiochip, in max96717_gpio_get_direction() argument
312 struct max96717_priv *priv = gpiochip_get_data(gpiochip); in max96717_gpio_get_direction()
323 static int max96717_gpio_direction_out(struct gpio_chip *gpiochip, in max96717_gpio_direction_out() argument
326 struct max96717_priv *priv = gpiochip_get_data(gpiochip); in max96717_gpio_direction_out()
333 static int max96717_gpio_direction_in(struct gpio_chip *gpiochip, in max96717_gpio_direction_in() argument
336 struct max96717_priv *priv = gpiochip_get_data(gpiochip); in max96717_gpio_direction_in()
/linux/tools/testing/selftests/gpio/
H A Dgpio-mockup.sh297 gpiochip=$(find "$DEBUGFS/$module/" -name gpiochip* -type d | sort)
298 for chip in $gpiochip; do
/linux/drivers/platform/x86/
H A Dsilicom-platform.c69 struct gpio_chip *gpiochip; member
487 .gpiochip = &silicom_gpio_chip,
620 .gpiochip = &silicom_gpio_chip,
937 silicom_gpiochip = info->gpiochip; in silicom_platform_info_init()
/linux/Documentation/admin-guide/gpio/
H A Dgpio-aggregator.rst13 GPIO controllers are exported to userspace using /dev/gpiochip* character
104 After that, a new gpiochip "door" has been created:
/linux/drivers/iio/dac/
H A Dad5592r-base.h55 struct gpio_chip gpiochip; member
/linux/Documentation/userspace-api/gpio/
H A Dsysfs.rst140 gpiochip nodes (possibly in conjunction with schematics) to determine
/linux/Documentation/driver-api/gpio/
H A Dboard.rst190 The line will be hogged as soon as the gpiochip is created or - in case the
H A Ddriver.rst650 these helpers, we can set .irq.need_valid_mask of the gpiochip before
/linux/drivers/hid/
H A DKconfig270 and gpiochip to expose these functions of the CP2112. The
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1732 [HW] Sets the ranges of gpiochip of for this device.