Searched refs:GPIO_PIN_INPUT (Results 1 – 18 of 18) sorted by relevance
122 if (!(caps & GPIO_PIN_INPUT)) { in gpioow_attach()207 data &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_TRISTATE); in gpioow_bb_rx()208 data |= GPIO_PIN_INPUT; in gpioow_bb_rx()224 data &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_TRISTATE); in gpioow_bb_tx()
81 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | in gpiosim_attach()87 sc->sc_gpio_pins[i].pin_flags = GPIO_PIN_INPUT; in gpiosim_attach()
144 if (!(caps & GPIO_PIN_INPUT)) { in gpioiic_attach()283 sda &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_TRISTATE); in gpioiic_bb_set_dir()284 sda |= (bits & GPIOIIC_SDA ? GPIO_PIN_OUTPUT : GPIO_PIN_INPUT); in gpioiic_bb_set_dir()
149 if (!(caps & GPIO_PIN_INPUT)) { in gpiodcf_attach()154 sc->sc_data = GPIO_PIN_INPUT; in gpiodcf_attach()
131 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | in skgpio_attach()134 GPIO_PIN_OUTPUT : GPIO_PIN_INPUT; in skgpio_attach()205 if (flags & GPIO_PIN_INPUT) in skgpio_gpio_ctl()
112 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | GPIO_PIN_OUTPUT; in isagpio_attach()
520 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | in nsclpcsio_gpio_init()
171 if (!(caps & GPIO_PIN_INPUT)) { in gdiumiic_attach()316 sda &= ~(GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_TRISTATE); in gdiumiic_bb_set_dir()317 sda |= (bits & GPIOIIC_SDA ? GPIO_PIN_OUTPUT : GPIO_PIN_INPUT); in gdiumiic_bb_set_dir()
385 GPIO_PIN_INPUT | GPIO_PIN_OUTPUT; in voyager_attach_gpio()402 GPIO_PIN_INPUT | GPIO_PIN_OUTPUT; in voyager_attach_gpio()
29 #define GPIO_PIN_INPUT 0x0001 /* input direction */ macro
271 flags = GPIO_PIN_SET | GPIO_PIN_INPUT; in mpfgpio_attach_gpio()278 GPIO_PIN_INPUT | GPIO_PIN_OUTPUT; in mpfgpio_attach_gpio()
372 flags = GPIO_PIN_SET | GPIO_PIN_INPUT; in bcmgpio_attach_gpio()387 GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | in bcmgpio_attach_gpio()
571 flags = GPIO_PIN_SET | GPIO_PIN_INPUT; in sxipio_attach_gpio()585 GPIO_PIN_INPUT | GPIO_PIN_OUTPUT; in sxipio_attach_gpio()
109 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | in gscpcib_attach()
329 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | in glxpcib_attach()559 if (flags & GPIO_PIN_INPUT) in glxpcib_gpio_pin_ctl()
56 { GPIO_PIN_INPUT, "in" },
357 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | in omgpio_attach()512 if (flags & GPIO_PIN_INPUT) in omgpio_pin_ctl()
3099 sc->sc_gpio_pins[i].pin_caps = GPIO_PIN_INPUT | in ath_gpio_attach()3104 sc->sc_gpio_pins[i].pin_flags = GPIO_PIN_INPUT; in ath_gpio_attach()3162 if (flags & GPIO_PIN_INPUT) { in ath_gpio_pin_ctl()