Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib.h51 struct gpio_device { struct
180 struct gpio_device *gdev;
250 int gpiochip_sysfs_register(struct gpio_device *gdev);
251 void gpiochip_sysfs_unregister(struct gpio_device *gdev);
255 static inline int gpiochip_sysfs_register(struct gpio_device *gdev) in gpiochip_sysfs_register()
260 static inline void gpiochip_sysfs_unregister(struct gpio_device *gdev) in gpiochip_sysfs_unregister()
Dgpiolib.c90 struct gpio_device *gdev; in gpio_to_desc()
118 struct gpio_device *gdev = chip->gpiodev; in gpiochip_get_desc()
153 struct gpio_device *gdev; in gpiochip_find_base()
215 static int gpiodev_add_to_list(struct gpio_device *gdev) in gpiodev_add_to_list()
217 struct gpio_device *prev, *next; in gpiodev_add_to_list()
225 next = list_entry(gpio_devices.next, struct gpio_device, list); in gpiodev_add_to_list()
232 prev = list_entry(gpio_devices.prev, struct gpio_device, list); in gpiodev_add_to_list()
261 struct gpio_device *gdev; in gpio_name_to_desc()
295 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names()
331 struct gpio_device *gdev;
[all …]
Dgpiolib-sysfs.c550 struct gpio_device *gdev; in gpiod_export()
721 int gpiochip_sysfs_register(struct gpio_device *gdev) in gpiochip_sysfs_register()
760 void gpiochip_sysfs_unregister(struct gpio_device *gdev) in gpiochip_sysfs_unregister()
788 struct gpio_device *gdev; in gpiolib_sysfs_init()
Dgpiolib-acpi.c75 static int acpi_gpiochip_pin_to_gpio_offset(struct gpio_device *gdev, int pin) in acpi_gpiochip_pin_to_gpio_offset()
106 static inline int acpi_gpiochip_pin_to_gpio_offset(struct gpio_device *gdev, in acpi_gpiochip_pin_to_gpio_offset()
Dgpiolib-of.c234 struct gpio_device *gdev = gc->gpiodev; in of_gpiochip_set_names()