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.
79 * Normally, this function will not be called, as the GPIOs will
82 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios);
87 void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios);
92 void mctrl_gpio_disable_ms(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
143 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios) in mctrl_gpio_free() argument
147 static inline void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios) in mctrl_gpio_enable_ms() argument
151 static inline void mctrl_gpio_disable_ms(struct mctrl_gpios *gpios) in mctrl_gpio_disable_ms() argument
155 static inline void mctrl_gpio_enable_irq_wake(struct mctrl_gpios *gpios) in mctrl_gpio_enable_irq_wake() argument
159 static inline void mctrl_gpio_disable_irq_wake(struct mctrl_gpios *gpios) in mctrl_gpio_disable_irq_wake() argument