Lines Matching defs:desc
163 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
174 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
214 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
310 struct gpio_desc *desc = &gdev->descs[i]; in gpio_name_to_desc() local
584 struct gpio_desc *desc; in linehandle_create() local
698 struct gpio_desc *desc; member
894 struct gpio_desc *desc; in lineevent_create() local
1064 struct gpio_desc *desc; in gpio_ioctl() local
1221 struct gpio_desc *desc; in gpiochip_machine_hog() local
1399 struct gpio_desc *desc = &gdev->descs[i]; in gpiochip_add_data_with_key() local
1499 struct gpio_desc *desc; in gpiochip_remove() local
2660 static int gpiod_request_commit(struct gpio_desc *desc, const char *label) in gpiod_request_commit()
2722 static int validate_desc(const struct gpio_desc *desc, const char *func) in validate_desc()
2742 #define VALIDATE_DESC(desc) do { \ argument
2748 #define VALIDATE_DESC_VOID(desc) do { \ argument
2754 int gpiod_request(struct gpio_desc *desc, const char *label) in gpiod_request()
2776 static bool gpiod_free_commit(struct gpio_desc *desc) in gpiod_free_commit()
2810 void gpiod_free(struct gpio_desc *desc) in gpiod_free()
2835 struct gpio_desc *desc; in gpiochip_is_requested() local
2874 struct gpio_desc *desc = gpiochip_get_desc(chip, hwnum); in gpiochip_request_own_desc() local
2904 void gpiochip_free_own_desc(struct gpio_desc *desc) in gpiochip_free_own_desc()
2950 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input()
3001 static int gpiod_direction_output_raw_commit(struct gpio_desc *desc, int value) in gpiod_direction_output_raw_commit()
3055 int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw()
3074 int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output()
3147 int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) in gpiod_set_debounce()
3174 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory) in gpiod_set_transitory()
3216 int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low()
3245 static int gpiod_get_raw_value_commit(const struct gpio_desc *desc) in gpiod_get_raw_value_commit()
3340 const struct gpio_desc *desc = desc_array[i]; in gpiod_get_array_value_complex() local
3360 const struct gpio_desc *desc = desc_array[j]; in gpiod_get_array_value_complex() local
3391 int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value()
3410 int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value()
3487 static void gpio_set_open_drain_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_drain_value_commit()
3512 static void gpio_set_open_source_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_source_value_commit()
3532 static void gpiod_set_raw_value_commit(struct gpio_desc *desc, bool value) in gpiod_set_raw_value_commit()
3621 struct gpio_desc *desc = desc_array[i]; in gpiod_set_array_value_complex() local
3679 void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value()
3697 static void gpiod_set_value_nocheck(struct gpio_desc *desc, int value) in gpiod_set_value_nocheck()
3720 void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value()
3785 int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep()
3797 int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name) in gpiod_set_consumer_name()
3820 int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq()
3858 struct gpio_desc *desc; in gpiochip_lock_as_irq() local
3910 struct gpio_desc *desc; in gpiochip_unlock_as_irq() local
3927 struct gpio_desc *desc = gpiochip_get_desc(chip, offset); in gpiochip_disable_irq() local
3937 struct gpio_desc *desc = gpiochip_get_desc(chip, offset); in gpiochip_enable_irq() local
4016 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep()
4033 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep()
4113 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_raw_value_cansleep()
4131 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep()
4296 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find() local
4438 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, in gpiod_configure_flags()
4514 struct gpio_desc *desc = NULL; in gpiod_get_index() local
4607 struct gpio_desc *desc = ERR_PTR(-ENODEV); in fwnode_get_named_gpiod() local
4662 struct gpio_desc *desc; in gpiod_get_index_optional() local
4682 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog()
4744 struct gpio_desc *desc; in gpiod_get_array() local
4884 void gpiod_put(struct gpio_desc *desc) in gpiod_put()