Home
last modified time | relevance | path

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

/Linux-v6.6/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.h56 struct gpio_device { struct
84 static inline struct gpio_device *to_gpio_device(struct device *dev) in to_gpio_device() argument
86 return container_of(dev, struct gpio_device, dev); in to_gpio_device()
89 static inline struct gpio_device *gpio_device_get(struct gpio_device *gdev) in gpio_device_get()
94 static inline void gpio_device_put(struct gpio_device *gdev) in gpio_device_put()
169 struct gpio_device *gdev;
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.c127 struct gpio_device *gdev; in gpio_to_desc()
162 struct gpio_device *gdev = gc->gpiodev; in gpiochip_get_desc()
203 struct gpio_device *gdev; in gpiochip_find_base()
274 static int gpiodev_add_to_list(struct gpio_device *gdev) in gpiodev_add_to_list()
276 struct gpio_device *prev, *next; in gpiodev_add_to_list()
284 next = list_first_entry(&gpio_devices, struct gpio_device, list); in gpiodev_add_to_list()
291 prev = list_last_entry(&gpio_devices, struct gpio_device, list); in gpiodev_add_to_list()
322 struct gpio_device *gdev; in gpio_name_to_desc()
356 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names()
388 struct gpio_device *gdev = chip->gpiodev; in gpiochip_set_names()
[all …]
Dgpiolib-cdev.c67 struct gpio_device *gdev, poll_fn func) in call_poll_locked()
79 unsigned long arg, struct gpio_device *gdev, in call_ioctl_locked()
93 struct gpio_device *gdev, read_fn func) in call_read_locked()
117 struct gpio_device *gdev;
342 static int linehandle_create(struct gpio_device *gdev, void __user *ip) in linehandle_create()
566 struct gpio_device *gdev;
1632 static int linereq_create(struct gpio_device *gdev, void __user *ip) in linereq_create()
1806 struct gpio_device *gdev;
2082 static int lineevent_create(struct gpio_device *gdev, void __user *ip) in lineevent_create()
2357 struct gpio_device *gdev;
[all …]
Dgpiolib-of.h15 struct gpio_device;
Dgpiolib-acpi.h21 struct gpio_device;
Dgpiolib-sysfs.c560 struct gpio_device *gdev; in gpiod_export()
731 int gpiochip_sysfs_register(struct gpio_device *gdev) in gpiochip_sysfs_register()
769 void gpiochip_sysfs_unregister(struct gpio_device *gdev) in gpiochip_sysfs_unregister()
795 struct gpio_device *gdev; in gpiolib_sysfs_init()
/Linux-v6.6/include/linux/gpio/
Ddriver.h30 struct gpio_device;
417 struct gpio_device *gpiodev;