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()
1319 if ((sc->pins[pin_num].gp_flags & GPIO_PIN_OUTPUT) == 0) { in nct_gpio_pin_set()
1359 if ((sc->pins[pin_num].gp_flags & GPIO_PIN_OUTPUT) == 0) { in nct_gpio_pin_toggle()
1403 *flags = sc->pins[pin_num].gp_flags; in nct_gpio_pin_getflags()
1461 pin->gp_flags &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); in nct_gpio_pin_setflags()
1462 pin->gp_flags |= flags & (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT); in nct_gpio_pin_setflags()
1468 pin->gp_flags |= (GPIO_PIN_INVIN | GPIO_PIN_INVOUT); in nct_gpio_pin_setflags()
1471 pin->gp_flags &= ~(GPIO_PIN_INVIN | GPIO_PIN_INVOUT); in nct_gpio_pin_setflags()
1480 pin->gp_flags &= ~(GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL); in nct_gpio_pin_setflags()
1481 pin->gp_flags |= in nct_gpio_pin_setflags()