Lines Matching refs:gp_flags
1238 pin->gp_flags = 0; in nct_attach()
1244 pin->gp_flags |= GPIO_PIN_INPUT; in nct_attach()
1246 pin->gp_flags |= GPIO_PIN_OUTPUT; in nct_attach()
1249 pin->gp_flags |= GPIO_PIN_OPENDRAIN; in nct_attach()
1251 pin->gp_flags |= GPIO_PIN_PUSHPULL; in nct_attach()
1254 pin->gp_flags |= (GPIO_PIN_INVIN | GPIO_PIN_INVOUT); in nct_attach()
1318 if ((sc->pins[pin_num].gp_flags & GPIO_PIN_OUTPUT) == 0) { in nct_gpio_pin_set()
1358 if ((sc->pins[pin_num].gp_flags & GPIO_PIN_OUTPUT) == 0) { in nct_gpio_pin_toggle()
1402 *flags = sc->pins[pin_num].gp_flags; in nct_gpio_pin_getflags()
1460 pin->gp_flags &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); in nct_gpio_pin_setflags()
1461 pin->gp_flags |= flags & (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); in nct_gpio_pin_setflags()
1467 pin->gp_flags |= (GPIO_PIN_INVIN | GPIO_PIN_INVOUT); in nct_gpio_pin_setflags()
1470 pin->gp_flags &= ~(GPIO_PIN_INVIN | GPIO_PIN_INVOUT); in nct_gpio_pin_setflags()
1479 pin->gp_flags &= ~(GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL); in nct_gpio_pin_setflags()
1480 pin->gp_flags |= in nct_gpio_pin_setflags()