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()
299 struct gpio_desc *desc = &gdev->descs[i]; in gpio_name_to_desc() local
562 struct gpio_desc *desc; in linehandle_create() local
676 struct gpio_desc *desc; member
865 struct gpio_desc *desc; in lineevent_create() local
1036 struct gpio_desc *desc; in gpio_ioctl() local
1190 struct gpio_desc *desc; in gpiochip_machine_hog() local
1345 struct gpio_desc *desc = &gdev->descs[i]; in gpiochip_add_data_with_key() local
1449 struct gpio_desc *desc; in gpiochip_remove() local
2266 static int gpiod_request_commit(struct gpio_desc *desc, const char *label) in gpiod_request_commit()
2320 static int validate_desc(const struct gpio_desc *desc, const char *func) in validate_desc()
2340 #define VALIDATE_DESC(desc) do { \ argument
2346 #define VALIDATE_DESC_VOID(desc) do { \ argument
2352 int gpiod_request(struct gpio_desc *desc, const char *label) in gpiod_request()
2374 static bool gpiod_free_commit(struct gpio_desc *desc) in gpiod_free_commit()
2407 void gpiod_free(struct gpio_desc *desc) in gpiod_free()
2432 struct gpio_desc *desc; in gpiochip_is_requested() local
2464 struct gpio_desc *desc = gpiochip_get_desc(chip, hwnum); in gpiochip_request_own_desc() local
2487 void gpiochip_free_own_desc(struct gpio_desc *desc) in gpiochip_free_own_desc()
2513 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input()
2546 static int gpiod_direction_output_raw_commit(struct gpio_desc *desc, int value) in gpiod_direction_output_raw_commit()
2578 int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw()
2597 int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output()
2654 int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) in gpiod_set_debounce()
2681 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory) in gpiod_set_transitory()
2723 int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low()
2752 static int gpiod_get_raw_value_commit(const struct gpio_desc *desc) in gpiod_get_raw_value_commit()
2817 const struct gpio_desc *desc = desc_array[i]; in gpiod_get_array_value_complex() local
2833 const struct gpio_desc *desc = desc_array[j]; in gpiod_get_array_value_complex() local
2859 int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value()
2878 int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value()
2947 static void gpio_set_open_drain_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_drain_value_commit()
2974 static void gpio_set_open_source_value_commit(struct gpio_desc *desc, bool value) in gpio_set_open_source_value_commit()
2996 static void gpiod_set_raw_value_commit(struct gpio_desc *desc, bool value) in gpiod_set_raw_value_commit()
3058 struct gpio_desc *desc = desc_array[i]; in gpiod_set_array_value_complex() local
3105 void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value()
3123 static void gpiod_set_value_nocheck(struct gpio_desc *desc, int value) in gpiod_set_value_nocheck()
3146 void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value()
3203 int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep()
3215 void gpiod_set_consumer_name(struct gpio_desc *desc, const char *name) in gpiod_set_consumer_name()
3230 int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq()
3268 struct gpio_desc *desc; in gpiochip_lock_as_irq() local
3319 struct gpio_desc *desc; in gpiochip_unlock_as_irq() local
3378 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep()
3395 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep()
3469 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_raw_value_cansleep()
3487 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep()
3648 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find() local
3810 int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, in gpiod_configure_flags()
3874 struct gpio_desc *desc = NULL; in gpiod_get_index() local
3946 struct gpio_desc *desc; in gpiod_get_from_of_node() local
4023 struct gpio_desc *desc = ERR_PTR(-ENODEV); in fwnode_get_named_gpiod() local
4081 struct gpio_desc *desc; in gpiod_get_index_optional() local
4101 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog()
4172 struct gpio_desc *desc; in gpiod_get_array() local
4227 void gpiod_put(struct gpio_desc *desc) in gpiod_put()