Searched refs:pin_flags (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_gpio_v1.c83 uint32_t pin_flags; member in struct:mtk_gpio_pin
197 sc->pins[pin].pin_flags &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT);
198 sc->pins[pin].pin_flags |= dir;
214 sc->pins[pin].pin_flags &= ~(GPIO_PIN_INVIN | GPIO_PIN_INVOUT);
215 sc->pins[pin].pin_flags |= val;
227 sc->pins[pin].pin_flags = 0;
243 sc->pins[pin].pin_flags |= GPIO_PIN_OUTPUT;
245 sc->pins[pin].pin_flags |= GPIO_PIN_INPUT;
249 if (sc->pins[pin].pin_flags & GPIO_PIN_INPUT) {
250 sc->pins[pin].pin_flags |
[all...]
H A Dmtk_gpio_v2.c69 uint32_t pin_flags; member in struct:mtk_gpio_pin
188 sc->pins[pin].pin_flags &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT);
189 sc->pins[pin].pin_flags |= dir;
205 sc->pins[pin].pin_flags &= ~(GPIO_PIN_INVIN | GPIO_PIN_INVOUT);
206 sc->pins[pin].pin_flags |= val;
218 sc->pins[pin].pin_flags = 0;
234 sc->pins[pin].pin_flags |= GPIO_PIN_OUTPUT;
236 sc->pins[pin].pin_flags |= GPIO_PIN_INPUT;
240 if (sc->pins[pin].pin_flags & GPIO_PIN_INPUT) {
241 sc->pins[pin].pin_flags |
[all...]
/freebsd-11-stable/sys/sys/
H A Dgpio.h144 * The pin_flags argument is an array of GPIO_PIN_xxxx flags. If the array
150 * first_pin to zero and only populate pin_flags[2] and pin_flags[3]. If a
161 uint32_t pin_flags[32]; member in struct:gpio_config_32
/freebsd-11-stable/sys/dev/gpio/
H A Dgpioc.c198 c32->num_pins, c32->pin_flags);
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_gpio.c562 uint32_t *pin_flags)
585 if (pin_flags[pin] & (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT))
586 err = a10_gpio_pin_configure(sc, pin, pin_flags[pin]);
561 a10_gpio_pin_config_32(device_t dev, uint32_t first_pin, uint32_t num_pins, uint32_t *pin_flags) argument
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx_gpio.c732 uint32_t *pin_flags)
748 flags = pin_flags[i];
731 imx51_gpio_pin_config_32(device_t dev, uint32_t first_pin, uint32_t num_pins, uint32_t *pin_flags) argument

Completed in 126 milliseconds