Lines Matching +full:clr +full:- +full:gpios
1 /* SPDX-License-Identifier: GPL-2.0-only */
12 #include <asm-generic/gpio.h>
28 return -EINVAL; in __gpio_get_value()
42 return -EINVAL; in __gpio_cansleep()
47 return -EINVAL; in __gpio_to_irq()
55 return -EINVAL; in gpio_direction_input()
63 return -EINVAL; in gpio_direction_output()
71 return -EINVAL; in gpio_request()
88 * input; some require a read-modify-write access to change an output, others
90 * GPIOs in a single control area, others have some GPIOs implemented in
138 * read-modify-write to change an output and a GPIO module which has separate
139 * set/clr registers to directly change outputs with a single write access.
143 * The 528x also has GPIOs in other modules (GPT, QADC) which use
144 * read-modify-write as well as those controlled by the EPORT and GPIO modules.
155 mcfgpio_port(gpio - MCFGPIO_SCR_START))
158 mcfgpio_port(gpio - MCFGPIO_SCR_START))
208 return MCFGPIO_PPDR + mcfgpio_port(gpio - MCFGPIO_SCR_START); in __mcfgpio_ppdr()
251 return MCFGPIO_PODR + mcfgpio_port(gpio - MCFGPIO_SCR_START); in __mcfgpio_podr()
294 return MCFGPIO_PDDR + mcfgpio_port(gpio - MCFGPIO_SCR_START); in __mcfgpio_pddr()