Lines Matching defs:desc
108 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio()
119 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) in gpiod_to_chip()
157 int gpiod_get_direction(struct gpio_desc *desc) in gpiod_get_direction()
330 struct gpio_desc *desc = &descs[id]; in gpiochip_add() local
402 struct gpio_desc *desc; in gpiochip_remove() local
891 static int __gpiod_request(struct gpio_desc *desc, const char *label) in __gpiod_request()
942 int gpiod_request(struct gpio_desc *desc, const char *label) in gpiod_request()
969 static bool __gpiod_free(struct gpio_desc *desc) in __gpiod_free()
1002 void gpiod_free(struct gpio_desc *desc) in gpiod_free()
1025 struct gpio_desc *desc; in gpiochip_is_requested() local
1052 struct gpio_desc *desc = gpiochip_get_desc(chip, hwnum); in gpiochip_request_own_desc() local
1075 void gpiochip_free_own_desc(struct gpio_desc *desc) in gpiochip_free_own_desc()
1100 int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input()
1128 static int _gpiod_direction_output_raw(struct gpio_desc *desc, int value) in _gpiod_direction_output_raw()
1176 int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw()
1198 int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output()
1218 int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) in gpiod_set_debounce()
1245 int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low()
1273 static int _gpiod_get_raw_value(const struct gpio_desc *desc) in _gpiod_get_raw_value()
1303 int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value()
1323 int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value()
1347 static void _gpio_set_open_drain_value(struct gpio_desc *desc, bool value) in _gpio_set_open_drain_value()
1374 static void _gpio_set_open_source_value(struct gpio_desc *desc, bool value) in _gpio_set_open_source_value()
1396 static void _gpiod_set_raw_value(struct gpio_desc *desc, bool value) in _gpiod_set_raw_value()
1458 struct gpio_desc *desc = desc_array[i]; in gpiod_set_array_value_priv() local
1500 void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value()
1521 void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value()
1582 int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep()
1597 int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq()
1661 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep()
1679 int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep()
1708 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_raw_value_cansleep()
1727 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep()
1817 struct gpio_desc *desc; in of_find_gpio() local
1856 struct gpio_desc *desc; in acpi_find_gpio() local
1923 struct gpio_desc *desc = ERR_PTR(-ENOENT); in gpiod_find() local
2073 static void gpiod_parse_flags(struct gpio_desc *desc, unsigned long lflags) in gpiod_parse_flags()
2093 static int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, in gpiod_configure_flags()
2133 struct gpio_desc *desc = NULL; in gpiod_get_index() local
2198 struct gpio_desc *desc = ERR_PTR(-ENODEV); in fwnode_get_named_gpiod() local
2261 struct gpio_desc *desc; in gpiod_get_index_optional() local
2281 int gpiod_hog(struct gpio_desc *desc, const char *name, in gpiod_hog()
2353 struct gpio_desc *desc; in gpiod_get_array() local
2409 void gpiod_put(struct gpio_desc *desc) in gpiod_put()