Lines Matching defs:desc
106 const char *gpiod_get_label(struct gpio_desc *desc) in gpiod_get_label()
130 static int desc_set_label(struct gpio_desc *desc, const char *label) in desc_set_label()
218 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
237 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
258 struct gpio_device *gpiod_to_gpio_device(struct gpio_desc *desc) in gpiod_to_gpio_device()
353 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
462 struct gpio_desc *desc; in gpio_name_to_desc() local
782 struct gpio_desc *desc; in gpiochip_machine_hog() local
1019 struct gpio_desc *desc = &gdev->descs[desc_index]; in gpiochip_add_data_with_key() local
2275 static int gpiod_request_commit(struct gpio_desc *desc, const char *label) in gpiod_request_commit()
2321 static int validate_desc(const struct gpio_desc *desc, const char *func) in validate_desc()
2334 #define VALIDATE_DESC(desc) do { \ argument
2340 #define VALIDATE_DESC_VOID(desc) do { \ argument
2346 int gpiod_request(struct gpio_desc *desc, const char *label) in gpiod_request()
2366 static void gpiod_free_commit(struct gpio_desc *desc) in gpiod_free_commit()
2400 void gpiod_free(struct gpio_desc *desc) in gpiod_free()
2423 struct gpio_desc *desc; in gpiochip_dup_line_label() local
2475 struct gpio_desc *desc = gpiochip_get_desc(gc, hwnum); in gpiochip_request_own_desc() local
2506 void gpiochip_free_own_desc(struct gpio_desc *desc) in gpiochip_free_own_desc()
2532 static int gpio_set_config_with_argument(struct gpio_desc *desc, in gpio_set_config_with_argument()
2546 static int gpio_set_config_with_argument_optional(struct gpio_desc *desc, in gpio_set_config_with_argument_optional()
2569 static int gpio_set_config(struct gpio_desc *desc, enum pin_config_param mode) in gpio_set_config()
2574 static int gpio_set_bias(struct gpio_desc *desc) in gpio_set_bias()
2616 int gpio_set_debounce_timeout(struct gpio_desc *desc, unsigned int debounce) in gpio_set_debounce_timeout()
2633 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input()
2683 static int gpiod_direction_output_raw_commit(struct gpio_desc *desc, int value) in gpiod_direction_output_raw_commit()
2741 int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw()
2761 int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output()
2835 int gpiod_enable_hw_timestamp_ns(struct gpio_desc *desc, unsigned long flags) in gpiod_enable_hw_timestamp_ns()
2868 int gpiod_disable_hw_timestamp_ns(struct gpio_desc *desc, unsigned long flags) in gpiod_disable_hw_timestamp_ns()
2901 int gpiod_set_config(struct gpio_desc *desc, unsigned long config) in gpiod_set_config()
2922 int gpiod_set_debounce(struct gpio_desc *desc, unsigned int debounce) in gpiod_set_debounce()
2939 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory) in gpiod_set_transitory()
2961 int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low()
2972 void gpiod_toggle_active_low(struct gpio_desc *desc) in gpiod_toggle_active_low()
2979 static int gpio_chip_get_value(struct gpio_chip *gc, const struct gpio_desc *desc) in gpio_chip_get_value()
3006 static int gpiod_get_raw_value_commit(const struct gpio_desc *desc) in gpiod_get_raw_value_commit()
3125 const struct gpio_desc *desc = desc_array[i]; in gpiod_get_array_value_complex() local
3147 const struct gpio_desc *desc = desc_array[j]; in gpiod_get_array_value_complex() local
3181 int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value()
3201 int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value()
3283 static void gpio_set_open_drain_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_drain_value_commit()
3310 static void gpio_set_open_source_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_source_value_commit()
3332 static void gpiod_set_raw_value_commit(struct gpio_desc *desc, bool value) in gpiod_set_raw_value_commit()
3432 struct gpio_desc *desc = desc_array[i]; in gpiod_set_array_value_complex() local
3489 void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value()
3507 static void gpiod_set_value_nocheck(struct gpio_desc *desc, int value) in gpiod_set_value_nocheck()
3530 void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value()
3603 int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep()
3618 int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name) in gpiod_set_consumer_name()
3633 int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq()
3691 struct gpio_desc *desc; in gpiochip_lock_as_irq() local
3737 struct gpio_desc *desc; in gpiochip_unlock_as_irq() local
3750 struct gpio_desc *desc = gpiochip_get_desc(gc, offset); in gpiochip_disable_irq() local
3760 struct gpio_desc *desc = gpiochip_get_desc(gc, offset); in gpiochip_enable_irq() local
3845 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep()
3863 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep()
3948 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_raw_value_cansleep()
3966 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep()
4048 void gpiod_line_state_notify(struct gpio_desc *desc, unsigned long action) in gpiod_line_state_notify()
4149 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find() local
4247 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find_by_fwnode() local
4277 struct gpio_desc *desc = NULL; in gpiod_find_and_request() local
4447 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, in gpiod_configure_flags()
4558 struct gpio_desc *desc; in gpiod_get_index_optional() local
4579 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog()
4620 struct gpio_desc *desc; in gpiochip_free_hogs() local
4644 struct gpio_desc *desc; in gpiod_get_array() local
4791 void gpiod_put(struct gpio_desc *desc) in gpiod_put()
4879 struct gpio_desc *desc; in gpiolib_dbg_show() local