Lines Matching defs:desc
109 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
120 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
158 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
269 struct gpio_desc *desc = &descs[id]; in gpiochip_add() local
778 static int __gpiod_request(struct gpio_desc *desc, const char *label) in __gpiod_request()
821 int gpiod_request(struct gpio_desc *desc, const char *label) in gpiod_request()
848 static bool __gpiod_free(struct gpio_desc *desc) in __gpiod_free()
881 void gpiod_free(struct gpio_desc *desc) in gpiod_free()
904 struct gpio_desc *desc; in gpiochip_is_requested() local
931 struct gpio_desc *desc = gpiochip_get_desc(chip, hwnum); in gpiochip_request_own_desc() local
954 void gpiochip_free_own_desc(struct gpio_desc *desc) in gpiochip_free_own_desc()
979 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input()
1007 static int _gpiod_direction_output_raw(struct gpio_desc *desc, int value) in _gpiod_direction_output_raw()
1055 int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw()
1077 int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output()
1097 int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) in gpiod_set_debounce()
1124 int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low()
1152 static bool _gpiod_get_raw_value(const struct gpio_desc *desc) in _gpiod_get_raw_value()
1175 int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value()
1195 int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value()
1216 static void _gpio_set_open_drain_value(struct gpio_desc *desc, bool value) in _gpio_set_open_drain_value()
1243 static void _gpio_set_open_source_value(struct gpio_desc *desc, bool value) in _gpio_set_open_source_value()
1265 static void _gpiod_set_raw_value(struct gpio_desc *desc, bool value) in _gpiod_set_raw_value()
1328 struct gpio_desc *desc = desc_array[i]; in gpiod_set_array_priv() local
1372 void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value()
1393 void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value()
1452 int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep()
1467 int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq()
1531 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep()
1549 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep()
1575 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_raw_value_cansleep()
1594 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep()
1669 struct gpio_desc *desc; in of_find_gpio() local
1701 struct gpio_desc *desc; in acpi_find_gpio() local
1768 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find() local
1923 static int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, in gpiod_configure_flags()
1970 struct gpio_desc *desc = NULL; in __gpiod_get_index() local
2033 struct gpio_desc *desc = ERR_PTR(-ENODEV); in fwnode_get_named_gpiod() local
2088 struct gpio_desc *desc; in __gpiod_get_index_optional() local
2108 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog()
2176 struct gpio_desc *desc; in gpiod_get_array() local
2232 void gpiod_put(struct gpio_desc *desc) in gpiod_put()