Home
last modified time | relevance | path

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

/Linux-v5.15/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.h39 void acpi_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev);
63 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()
255 static int gpiodev_add_to_list(struct gpio_device *gdev) in gpiodev_add_to_list()
257 struct gpio_device *prev, *next; in gpiodev_add_to_list()
265 next = list_entry(gpio_devices.next, struct gpio_device, list); in gpiodev_add_to_list()
272 prev = list_entry(gpio_devices.prev, struct gpio_device, list); in gpiodev_add_to_list()
304 struct gpio_device *gdev; in gpio_name_to_desc()
343 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names()
375 struct gpio_device *gdev = chip->gpiodev; in devprop_gpiochip_set_names()
[all …]
Dgpiolib.h46 struct gpio_device { struct
100 struct gpio_device *gdev;
Dgpiolib-cdev.c70 struct gpio_device *gdev;
285 static int linehandle_create(struct gpio_device *gdev, void __user *ip) in linehandle_create()
485 struct gpio_device *gdev;
1313 static int linereq_create(struct gpio_device *gdev, void __user *ip) in linereq_create()
1479 struct gpio_device *gdev;
1707 static int lineevent_create(struct gpio_device *gdev, void __user *ip) in lineevent_create()
1975 struct gpio_device *gdev;
1987 struct gpio_device *gdev = cdev->gdev; in chipinfo_get()
2108 struct gpio_device *gdev = cdev->gdev; in gpio_ioctl()
2278 struct gpio_device *gdev = container_of(inode->i_cdev, in gpio_chrdev_open()
[all …]
Dgpiolib-sysfs.c570 struct gpio_device *gdev; in gpiod_export()
741 int gpiochip_sysfs_register(struct gpio_device *gdev) in gpiochip_sysfs_register()
779 void gpiochip_sysfs_unregister(struct gpio_device *gdev) in gpiochip_sysfs_unregister()
807 struct gpio_device *gdev; in gpiolib_sysfs_init()
Dgpiolib-of.c1043 void of_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev) in of_gpio_dev_init()
Dgpiolib-acpi.c1347 void acpi_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev) in acpi_gpio_dev_init()
/Linux-v5.15/include/linux/gpio/
Ddriver.h18 struct gpio_device;
363 struct gpio_device *gpiodev;