Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpio/
Dgpiolib-sysfs.h8 int gpiochip_sysfs_register(struct gpio_device *gdev);
9 void gpiochip_sysfs_unregister(struct gpio_device *gdev);
13 static inline int gpiochip_sysfs_register(struct gpio_device *gdev) in gpiochip_sysfs_register()
18 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-of.h18 void of_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev);
38 struct gpio_device *gdev) in of_gpio_dev_init()
Dgpiolib-acpi.h41 void acpi_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev);
65 static inline void acpi_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev) { } in acpi_gpio_dev_init()
Dgpiolib.c109 struct gpio_device *gdev; in gpio_to_desc()
144 struct gpio_device *gdev = gc->gpiodev; in gpiochip_get_desc()
185 struct gpio_device *gdev; in gpiochip_find_base()
254 static int gpiodev_add_to_list(struct gpio_device *gdev) in gpiodev_add_to_list()
256 struct gpio_device *prev, *next; in gpiodev_add_to_list()
264 next = list_first_entry(&gpio_devices, struct gpio_device, list); in gpiodev_add_to_list()
271 prev = list_last_entry(&gpio_devices, struct gpio_device, list); in gpiodev_add_to_list()
302 struct gpio_device *gdev; in gpio_name_to_desc()
336 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names()
368 struct gpio_device *gdev = chip->gpiodev; in devprop_gpiochip_set_names()
[all …]
Dgpiolib.h53 struct gpio_device { struct
149 struct gpio_device *gdev;
Dgpiolib-cdev.c65 struct gpio_device *gdev, poll_fn func) in call_poll_locked()
77 unsigned long arg, struct gpio_device *gdev, in call_ioctl_locked()
91 struct gpio_device *gdev, read_fn func) in call_read_locked()
115 struct gpio_device *gdev;
342 static int linehandle_create(struct gpio_device *gdev, void __user *ip) in linehandle_create()
567 struct gpio_device *gdev;
1619 static int linereq_create(struct gpio_device *gdev, void __user *ip) in linereq_create()
1788 struct gpio_device *gdev;
2049 static int lineevent_create(struct gpio_device *gdev, void __user *ip) in lineevent_create()
2320 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()
759 void gpiochip_sysfs_unregister(struct gpio_device *gdev) in gpiochip_sysfs_unregister()
783 struct gpio_device *gdev; in gpiolib_sysfs_init()
Dgpiolib-of.c1018 void of_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev) in of_gpio_dev_init()
Dgpiolib-acpi.c1366 void acpi_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev) in acpi_gpio_dev_init()
/linux-6.1.9/include/linux/gpio/
Ddriver.h21 struct gpio_device;
409 struct gpio_device *gpiodev;