Searched refs:pin_flags (Results 1 - 9 of 9) sorted by relevance
/freebsd-12-stable/sys/mips/mediatek/ |
H A D | mtk_gpio_v1.c | 83 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 D | mtk_gpio_v2.c | 69 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-12-stable/sys/mips/ingenic/ |
H A D | jz4780_gpio.c | 77 uint32_t pin_flags; member in struct:jz4780_gpio_pin 155 sc->pins[pin].pin_flags &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); 181 sc->pins[pin].pin_flags &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); 182 sc->pins[pin].pin_flags |= dir; 207 sc->pins[pin].pin_flags &= ~(GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); 208 sc->pins[pin].pin_flags |= bias; 237 sc->pins[pin].pin_flags = 0; 256 sc->pins[pin].pin_flags = 0; 265 sc->pins[pin].pin_flags |= GPIO_PIN_INPUT; 267 sc->pins[pin].pin_flags | [all...] |
/freebsd-12-stable/sys/sys/ |
H A D | gpio.h | 198 * The pin_flags argument is an array of GPIO_PIN_xxxx flags. If the array 204 * first_pin to zero and only populate pin_flags[2] and pin_flags[3]. If a 218 uint32_t pin_flags[32]; member in struct:gpio_config_32
|
/freebsd-12-stable/sys/arm64/rockchip/ |
H A D | rk_gpio.c | 383 uint32_t *pin_flags) 398 flags = pin_flags[i]; 382 rk_gpio_pin_config_32(device_t dev, uint32_t first_pin, uint32_t num_pins, uint32_t *pin_flags) argument
|
/freebsd-12-stable/sys/dev/bhnd/cores/chipc/ |
H A D | chipc_gpio.c | 546 uint32_t *pin_flags) 563 flags = pin_flags[i]; 545 chipc_gpio_pin_config_32(device_t dev, uint32_t first_pin, uint32_t num_pins, uint32_t *pin_flags) argument
|
/freebsd-12-stable/sys/arm/allwinner/ |
H A D | aw_gpio.c | 827 uint32_t *pin_flags) 850 if (pin_flags[pin] & (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT)) 851 err = aw_gpio_pin_configure(sc, pin, pin_flags[pin]); 826 aw_gpio_pin_config_32(device_t dev, uint32_t first_pin, uint32_t num_pins, uint32_t *pin_flags) argument
|
/freebsd-12-stable/sys/arm/freescale/imx/ |
H A D | imx_gpio.c | 731 uint32_t *pin_flags) 747 flags = pin_flags[i]; 730 imx51_gpio_pin_config_32(device_t dev, uint32_t first_pin, uint32_t num_pins, uint32_t *pin_flags) argument
|
/freebsd-12-stable/sys/dev/gpio/ |
H A D | gpioc.c | 888 c32->num_pins, c32->pin_flags);
|
Completed in 288 milliseconds