Lines Matching refs:gpiod_data
55 struct gpiod_data { struct
127 struct gpiod_data *data = container_of(attr, struct gpiod_data, in direction_show()
144 struct gpiod_data *data = container_of(attr, struct gpiod_data, in direction_store()
166 struct gpiod_data *data = container_of(attr, struct gpiod_data, in value_show()
183 struct gpiod_data *data = container_of(attr, struct gpiod_data, in value_store()
205 struct gpiod_data *data = priv; in gpio_sysfs_irq()
213 static int gpio_sysfs_request_irq(struct gpiod_data *data, unsigned char flags) in gpio_sysfs_request_irq()
273 static void gpio_sysfs_free_irq(struct gpiod_data *data) in gpio_sysfs_free_irq()
298 struct gpiod_data *data = container_of(attr, struct gpiod_data, in edge_show()
314 struct gpiod_data *data = container_of(attr, struct gpiod_data, in edge_store()
344 static int gpio_sysfs_set_active_low(struct gpiod_data *data, int value) in gpio_sysfs_set_active_low()
370 struct gpiod_data *data = container_of(attr, struct gpiod_data, in active_low_show()
385 struct gpiod_data *data = container_of(attr, struct gpiod_data, in active_low_store()
406 struct gpiod_data *data; in gpio_is_visible()
409 data = container_of(dev_attr, struct gpiod_data, dir_attr); in gpio_is_visible()
415 data = container_of(dev_attr, struct gpiod_data, edge_attr); in gpio_is_visible()
731 struct gpiod_data *desc_data; in gpiod_export()
878 struct gpiod_data *data = dev_get_drvdata(dev); in match_export()
930 struct gpiod_data *tmp, *desc_data = NULL; in gpiod_unexport()