Lines Matching defs:desc
160 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
171 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
211 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
313 struct gpio_desc *desc = &gdev->descs[i]; in gpio_name_to_desc() local
521 struct gpio_desc *desc; in gpiochip_machine_hog() local
704 struct gpio_desc *desc = &gdev->descs[i]; in gpiochip_add_data_with_key() local
1967 static int gpiod_request_commit(struct gpio_desc *desc, const char *label) in gpiod_request_commit()
2029 static int validate_desc(const struct gpio_desc *desc, const char *func) in validate_desc()
2049 #define VALIDATE_DESC(desc) do { \ argument
2055 #define VALIDATE_DESC_VOID(desc) do { \ argument
2061 int gpiod_request(struct gpio_desc *desc, const char *label) in gpiod_request()
2083 static bool gpiod_free_commit(struct gpio_desc *desc) in gpiod_free_commit()
2131 void gpiod_free(struct gpio_desc *desc) in gpiod_free()
2156 struct gpio_desc *desc; in gpiochip_is_requested() local
2198 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc() local
2228 void gpiochip_free_own_desc(struct gpio_desc *desc) in gpiochip_free_own_desc()
2254 static int gpio_set_config(struct gpio_desc *desc, enum pin_config_param mode) in gpio_set_config()
2274 static int gpio_set_bias(struct gpio_desc *desc) in gpio_set_bias()
2303 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input()
2349 static int gpiod_direction_output_raw_commit(struct gpio_desc *desc, int value) in gpiod_direction_output_raw_commit()
2403 int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw()
2422 int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output()
2493 int gpiod_set_config(struct gpio_desc *desc, unsigned long config) in gpiod_set_config()
2513 int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) in gpiod_set_debounce()
2530 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory) in gpiod_set_transitory()
2569 int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low()
2580 void gpiod_toggle_active_low(struct gpio_desc *desc) in gpiod_toggle_active_low()
2609 static int gpiod_get_raw_value_commit(const struct gpio_desc *desc) in gpiod_get_raw_value_commit()
2703 const struct gpio_desc *desc = desc_array[i]; in gpiod_get_array_value_complex() local
2723 const struct gpio_desc *desc = desc_array[j]; in gpiod_get_array_value_complex() local
2754 int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value()
2773 int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value()
2850 static void gpio_set_open_drain_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_drain_value_commit()
2875 static void gpio_set_open_source_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_source_value_commit()
2895 static void gpiod_set_raw_value_commit(struct gpio_desc *desc, bool value) in gpiod_set_raw_value_commit()
2984 struct gpio_desc *desc = desc_array[i]; in gpiod_set_array_value_complex() local
3039 void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value()
3057 static void gpiod_set_value_nocheck(struct gpio_desc *desc, int value) in gpiod_set_value_nocheck()
3080 void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value()
3145 int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep()
3157 int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name) in gpiod_set_consumer_name()
3180 int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq()
3218 struct gpio_desc *desc; in gpiochip_lock_as_irq() local
3272 struct gpio_desc *desc; in gpiochip_unlock_as_irq() local
3289 struct gpio_desc *desc = gpiochip_get_desc(gc, offset); in gpiochip_disable_irq() local
3299 struct gpio_desc *desc = gpiochip_get_desc(gc, offset); in gpiochip_enable_irq() local
3383 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep()
3400 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep()
3480 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_raw_value_cansleep()
3498 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep()
3663 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find() local
3773 struct gpio_desc *desc; in fwnode_gpiod_get_index() local
3865 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, in gpiod_configure_flags()
3941 struct gpio_desc *desc = NULL; in gpiod_get_index() local
4037 struct gpio_desc *desc = ERR_PTR(-ENODEV); in fwnode_get_named_gpiod() local
4095 struct gpio_desc *desc; in gpiod_get_index_optional() local
4115 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog()
4176 struct gpio_desc *desc; in gpiod_get_array() local
4316 void gpiod_put(struct gpio_desc *desc) in gpiod_put()