Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-sysfs.h8 struct gpio_device;
10 int gpiochip_sysfs_register(struct gpio_device *gdev);
11 void gpiochip_sysfs_unregister(struct gpio_device *gdev);
15 static inline int gpiochip_sysfs_register(struct gpio_device *gdev) in gpiochip_sysfs_register()
20 static inline void gpiochip_sysfs_unregister(struct gpio_device *gdev) in gpiochip_sysfs_unregister()
Dgpiolib-cdev.h8 struct gpio_device;
10 int gpiolib_cdev_register(struct gpio_device *gdev, dev_t devt);
11 void gpiolib_cdev_unregister(struct gpio_device *gdev);
Dgpiolib.h57 struct gpio_device { struct
86 static inline struct gpio_device *to_gpio_device(struct device *dev) in to_gpio_device() argument
88 return container_of(dev, struct gpio_device, dev); in to_gpio_device()
162 struct gpio_device *gdev;
Dgpiolib.c128 struct gpio_device *gdev; in gpio_to_desc()
163 struct gpio_device *gdev = gc->gpiodev; in gpiochip_get_desc()
204 struct gpio_device *gdev; in gpiochip_find_base()
275 static int gpiodev_add_to_list(struct gpio_device *gdev) in gpiodev_add_to_list()
277 struct gpio_device *prev, *next; in gpiodev_add_to_list()
285 next = list_first_entry(&gpio_devices, struct gpio_device, list); in gpiodev_add_to_list()
292 prev = list_last_entry(&gpio_devices, struct gpio_device, list); in gpiodev_add_to_list()
323 struct gpio_device *gdev; in gpio_name_to_desc()
357 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names()
389 struct gpio_device *gdev = chip->gpiodev; in gpiochip_set_names()
[all …]
Dgpiolib-cdev.c69 struct gpio_device *gdev, poll_fn func) in call_poll_locked()
81 unsigned long arg, struct gpio_device *gdev, in call_ioctl_locked()
95 struct gpio_device *gdev, read_fn func) in call_read_locked()
119 struct gpio_device *gdev;
348 static int linehandle_create(struct gpio_device *gdev, void __user *ip) in linehandle_create()
596 struct gpio_device *gdev;
1810 static int linereq_create(struct gpio_device *gdev, void __user *ip) in linereq_create()
1984 struct gpio_device *gdev;
2260 static int lineevent_create(struct gpio_device *gdev, void __user *ip) in lineevent_create()
2534 struct gpio_device *gdev;
[all …]
Dgpiolib-sysfs.c564 struct gpio_device *gdev; in gpiod_export()
735 int gpiochip_sysfs_register(struct gpio_device *gdev) in gpiochip_sysfs_register()
773 void gpiochip_sysfs_unregister(struct gpio_device *gdev) in gpiochip_sysfs_unregister()
799 struct gpio_device *gdev; in gpiolib_sysfs_init()
Dgpiolib-of.h15 struct gpio_device;
Dgpiolib-acpi.h21 struct gpio_device;