Home
last modified time | relevance | path

Searched refs:GPIO_PIN_INVOUT (Results 1 – 9 of 9) sorted by relevance

/src/sys/dev/gpio/
H A Dgpioled.c113 if (pin_caps & GPIO_PIN_INVOUT) in gpioled_inv()
114 *pin_flags &= ~GPIO_PIN_INVOUT; in gpioled_inv()
127 if (pin_caps & GPIO_PIN_INVOUT) in gpioled_inv()
128 *pin_flags |= GPIO_PIN_INVOUT; in gpioled_inv()
144 if (pin_caps & GPIO_PIN_INVOUT) in gpioled_inv()
145 *pin_flags |= GPIO_PIN_INVOUT; in gpioled_inv()
151 (((*pin_flags & GPIO_PIN_INVOUT) != 0) && !sc->sc_softinvert) || in gpioled_inv()
152 (((*pin_flags & GPIO_PIN_INVOUT) == 0) && sc->sc_softinvert)); in gpioled_inv()
/src/sys/dev/ftgpio/
H A Dftgpio.c74 GPIO_PIN_INVOUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)
182 if (!pin_value != !(pin_flags & GPIO_PIN_INVOUT)) in ftgpio_pin_write()
213 if (((pin_flags & (GPIO_PIN_OUTPUT|GPIO_PIN_INVOUT)) == (GPIO_PIN_OUTPUT|GPIO_PIN_INVOUT)) || in ftgpio_pin_read()
/src/sys/dev/nctgpio/
H A Dnctgpio.c71 GPIO_PIN_INVIN | GPIO_PIN_INVOUT)
1254 pin->gp_flags |= (GPIO_PIN_INVIN | GPIO_PIN_INVOUT); in nct_attach()
1450 if ((flags & (GPIO_PIN_INVIN | GPIO_PIN_INVOUT)) == in nct_gpio_pin_setflags()
1451 (GPIO_PIN_INVIN | GPIO_PIN_INVOUT)) { in nct_gpio_pin_setflags()
1466 if ((flags & (GPIO_PIN_INVIN | GPIO_PIN_INVOUT)) != 0) { 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()
/src/sys/sys/
H A Dgpio.h74 #define GPIO_PIN_INVOUT 0x00000100 /* invert output */ macro
/src/sys/arm/nvidia/
H A Das3722_gpio.c373 flags |= GPIO_PIN_INVIN | GPIO_PIN_INVOUT; in as3722_gpio_pin_getflags()
558 GPIO_PIN_INVOUT; in as3722_gpio_attach()
/src/sys/dts/
H A Dbindings-gpio.txt92 GPIO_PIN_INVOUT 0x0200 Invert output
/src/lib/libgpio/
H A Dgpio.c269 return (gpio_pin_set_flag(handle, pin, GPIO_PIN_INVOUT)); in gpio_pin_invout()
/src/usr.sbin/gpioctl/
H A Dgpioctl.c61 { "IO", GPIO_PIN_INVOUT },
/src/sys/arm/mv/
H A Dgpio.c66 GPIO_PIN_INVOUT)