Lines Matching full:gpios
29 * Opaque descriptor for modem lines controlled by GPIOs
36 * Set state of the modem control output lines via GPIOs.
38 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl);
41 * Get state of the modem control input lines from GPIOs.
44 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl);
47 * Get state of the modem control output lines from GPIOs.
51 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl);
56 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios,
60 * Request and set direction of modem control line GPIOs and set up irq
69 * Request and set direction of modem control line GPIOs.
80 void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios);
86 void mctrl_gpio_disable_ms_sync(struct mctrl_gpios *gpios);
92 void mctrl_gpio_disable_ms_no_sync(struct mctrl_gpios *gpios);
97 void mctrl_gpio_enable_irq_wake(struct mctrl_gpios *gpios);
102 void mctrl_gpio_disable_irq_wake(struct mctrl_gpios *gpios);
107 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
112 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
118 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get_outputs() argument
124 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument
142 static inline void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios) in mctrl_gpio_enable_ms() argument
146 static inline void mctrl_gpio_disable_ms_sync(struct mctrl_gpios *gpios) in mctrl_gpio_disable_ms_sync() argument
150 static inline void mctrl_gpio_disable_ms_no_sync(struct mctrl_gpios *gpios) in mctrl_gpio_disable_ms_no_sync() argument
154 static inline void mctrl_gpio_enable_irq_wake(struct mctrl_gpios *gpios) in mctrl_gpio_enable_irq_wake() argument
158 static inline void mctrl_gpio_disable_irq_wake(struct mctrl_gpios *gpios) in mctrl_gpio_disable_irq_wake() argument