Lines Matching refs:pin_flags
83 uint32_t pin_flags;
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 |= GPIO_PIN_INVIN;
252 sc->pins[pin].pin_flags |= GPIO_PIN_INVOUT;
393 *flags = sc->pins[pin].pin_flags;
491 if (!(sc->pins[pin].pin_flags & GPIO_PIN_OUTPUT)) {