Lines Matching defs:desc
164 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
175 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
215 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
317 struct gpio_desc *desc = &gdev->descs[i]; in gpio_name_to_desc() local
525 struct gpio_desc *desc; in gpiochip_machine_hog() local
715 struct gpio_desc *desc = &gdev->descs[i]; in gpiochip_add_data_with_key() local
2001 static int gpiod_request_commit(struct gpio_desc *desc, const char *label) in gpiod_request_commit()
2063 static int validate_desc(const struct gpio_desc *desc, const char *func) in validate_desc()
2083 #define VALIDATE_DESC(desc) do { \ argument
2089 #define VALIDATE_DESC_VOID(desc) do { \ argument
2095 int gpiod_request(struct gpio_desc *desc, const char *label) in gpiod_request()
2117 static bool gpiod_free_commit(struct gpio_desc *desc) in gpiod_free_commit()
2165 void gpiod_free(struct gpio_desc *desc) in gpiod_free()
2190 struct gpio_desc *desc; in gpiochip_is_requested() local
2232 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc() local
2262 void gpiochip_free_own_desc(struct gpio_desc *desc) in gpiochip_free_own_desc()
2288 static int gpio_set_config(struct gpio_desc *desc, enum pin_config_param mode) in gpio_set_config()
2308 static int gpio_set_bias(struct gpio_desc *desc) in gpio_set_bias()
2337 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input()
2383 static int gpiod_direction_output_raw_commit(struct gpio_desc *desc, int value) in gpiod_direction_output_raw_commit()
2437 int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw()
2456 int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output()
2527 int gpiod_set_config(struct gpio_desc *desc, unsigned long config) in gpiod_set_config()
2547 int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) in gpiod_set_debounce()
2564 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory) in gpiod_set_transitory()
2603 int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low()
2614 void gpiod_toggle_active_low(struct gpio_desc *desc) in gpiod_toggle_active_low()
2643 static int gpiod_get_raw_value_commit(const struct gpio_desc *desc) in gpiod_get_raw_value_commit()
2737 const struct gpio_desc *desc = desc_array[i]; in gpiod_get_array_value_complex() local
2757 const struct gpio_desc *desc = desc_array[j]; in gpiod_get_array_value_complex() local
2788 int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value()
2807 int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value()
2884 static void gpio_set_open_drain_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_drain_value_commit()
2909 static void gpio_set_open_source_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_source_value_commit()
2929 static void gpiod_set_raw_value_commit(struct gpio_desc *desc, bool value) in gpiod_set_raw_value_commit()
3018 struct gpio_desc *desc = desc_array[i]; in gpiod_set_array_value_complex() local
3073 void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value()
3091 static void gpiod_set_value_nocheck(struct gpio_desc *desc, int value) in gpiod_set_value_nocheck()
3114 void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value()
3179 int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep()
3191 int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name) in gpiod_set_consumer_name()
3214 int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq()
3262 struct gpio_desc *desc; in gpiochip_lock_as_irq() local
3316 struct gpio_desc *desc; in gpiochip_unlock_as_irq() local
3333 struct gpio_desc *desc = gpiochip_get_desc(gc, offset); in gpiochip_disable_irq() local
3343 struct gpio_desc *desc = gpiochip_get_desc(gc, offset); in gpiochip_enable_irq() local
3427 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep()
3444 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep()
3524 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_raw_value_cansleep()
3542 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep()
3707 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find() local
3817 struct gpio_desc *desc; in fwnode_gpiod_get_index() local
3909 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, in gpiod_configure_flags()
3985 struct gpio_desc *desc = NULL; in gpiod_get_index() local
4081 struct gpio_desc *desc = ERR_PTR(-ENODEV); in fwnode_get_named_gpiod() local
4139 struct gpio_desc *desc; in gpiod_get_index_optional() local
4159 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog()
4220 struct gpio_desc *desc; in gpiod_get_array() local
4360 void gpiod_put(struct gpio_desc *desc) in gpiod_put()