• Home
  • Raw
  • Download

Lines Matching refs:desc

35 	struct gpio_desc *desc[];  member
84 void gpiod_put(struct gpio_desc *desc);
106 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc);
107 void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc);
110 int gpiod_get_direction(struct gpio_desc *desc);
111 int gpiod_direction_input(struct gpio_desc *desc);
112 int gpiod_direction_output(struct gpio_desc *desc, int value);
113 int gpiod_direction_output_raw(struct gpio_desc *desc, int value);
116 int gpiod_get_value(const struct gpio_desc *desc);
121 void gpiod_set_value(struct gpio_desc *desc, int value);
126 int gpiod_get_raw_value(const struct gpio_desc *desc);
131 void gpiod_set_raw_value(struct gpio_desc *desc, int value);
138 int gpiod_get_value_cansleep(const struct gpio_desc *desc);
143 void gpiod_set_value_cansleep(struct gpio_desc *desc, int value);
148 int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc);
153 void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value);
159 int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce);
160 int gpiod_set_transitory(struct gpio_desc *desc, bool transitory);
162 int gpiod_is_active_low(const struct gpio_desc *desc);
163 int gpiod_cansleep(const struct gpio_desc *desc);
165 int gpiod_to_irq(const struct gpio_desc *desc);
166 int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name);
170 int desc_to_gpio(const struct gpio_desc *desc);
235 static inline void gpiod_put(struct gpio_desc *desc) in gpiod_put() argument
240 WARN_ON(desc); in gpiod_put()
244 struct gpio_desc *desc) in devm_gpiod_unhinge() argument
249 WARN_ON(desc); in devm_gpiod_unhinge()
305 static inline void devm_gpiod_put(struct device *dev, struct gpio_desc *desc) in devm_gpiod_put() argument
310 WARN_ON(desc); in devm_gpiod_put()
323 static inline int gpiod_get_direction(const struct gpio_desc *desc) in gpiod_get_direction() argument
326 WARN_ON(desc); in gpiod_get_direction()
329 static inline int gpiod_direction_input(struct gpio_desc *desc) in gpiod_direction_input() argument
332 WARN_ON(desc); in gpiod_direction_input()
335 static inline int gpiod_direction_output(struct gpio_desc *desc, int value) in gpiod_direction_output() argument
338 WARN_ON(desc); in gpiod_direction_output()
341 static inline int gpiod_direction_output_raw(struct gpio_desc *desc, int value) in gpiod_direction_output_raw() argument
344 WARN_ON(desc); in gpiod_direction_output_raw()
349 static inline int gpiod_get_value(const struct gpio_desc *desc) in gpiod_get_value() argument
352 WARN_ON(desc); in gpiod_get_value()
364 static inline void gpiod_set_value(struct gpio_desc *desc, int value) in gpiod_set_value() argument
367 WARN_ON(desc); in gpiod_set_value()
378 static inline int gpiod_get_raw_value(const struct gpio_desc *desc) in gpiod_get_raw_value() argument
381 WARN_ON(desc); in gpiod_get_raw_value()
393 static inline void gpiod_set_raw_value(struct gpio_desc *desc, int value) in gpiod_set_raw_value() argument
396 WARN_ON(desc); in gpiod_set_raw_value()
408 static inline int gpiod_get_value_cansleep(const struct gpio_desc *desc) in gpiod_get_value_cansleep() argument
411 WARN_ON(desc); in gpiod_get_value_cansleep()
423 static inline void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) in gpiod_set_value_cansleep() argument
426 WARN_ON(desc); in gpiod_set_value_cansleep()
437 static inline int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc) in gpiod_get_raw_value_cansleep() argument
440 WARN_ON(desc); in gpiod_get_raw_value_cansleep()
452 static inline void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, in gpiod_set_raw_value_cansleep() argument
456 WARN_ON(desc); in gpiod_set_raw_value_cansleep()
468 static inline int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce) in gpiod_set_debounce() argument
471 WARN_ON(desc); in gpiod_set_debounce()
475 static inline int gpiod_set_transitory(struct gpio_desc *desc, bool transitory) in gpiod_set_transitory() argument
478 WARN_ON(desc); in gpiod_set_transitory()
482 static inline int gpiod_is_active_low(const struct gpio_desc *desc) in gpiod_is_active_low() argument
485 WARN_ON(desc); in gpiod_is_active_low()
488 static inline int gpiod_cansleep(const struct gpio_desc *desc) in gpiod_cansleep() argument
491 WARN_ON(desc); in gpiod_cansleep()
495 static inline int gpiod_to_irq(const struct gpio_desc *desc) in gpiod_to_irq() argument
498 WARN_ON(desc); in gpiod_to_irq()
502 static inline int gpiod_set_consumer_name(struct gpio_desc *desc, in gpiod_set_consumer_name() argument
506 WARN_ON(desc); in gpiod_set_consumer_name()
515 static inline int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() argument
518 WARN_ON(desc); in desc_to_gpio()
664 int gpiod_export(struct gpio_desc *desc, bool direction_may_change);
666 struct gpio_desc *desc);
667 void gpiod_unexport(struct gpio_desc *desc);
671 static inline int gpiod_export(struct gpio_desc *desc, in gpiod_export() argument
678 struct gpio_desc *desc) in gpiod_export_link() argument
683 static inline void gpiod_unexport(struct gpio_desc *desc) in gpiod_unexport() argument