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