Home
last modified time | relevance | path

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

/Linux-v6.1/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.h49 struct gpio_device { struct
144 struct gpio_device *gdev;
Dgpiolib-cdev.c71 struct gpio_device *gdev;
286 static int linehandle_create(struct gpio_device *gdev, void __user *ip) in linehandle_create()
511 struct gpio_device *gdev;
1530 static int linereq_create(struct gpio_device *gdev, void __user *ip) in linereq_create()
1699 struct gpio_device *gdev;
1927 static int lineevent_create(struct gpio_device *gdev, void __user *ip) in lineevent_create()
2198 struct gpio_device *gdev;
2210 struct gpio_device *gdev = cdev->gdev; in chipinfo_get()
2331 struct gpio_device *gdev = cdev->gdev; in gpio_ioctl()
2503 struct gpio_device *gdev = container_of(inode->i_cdev, in gpio_chrdev_open()
[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-v6.1/include/linux/gpio/
Ddriver.h21 struct gpio_device;
409 struct gpio_device *gpiodev;