Searched refs:GPIO_PIN_INPUT (Results 1 – 7 of 7) sorted by relevance
109 GPIO_PIN_INPUT); in gpioiic_reset_bus()111 GPIO_PIN_INPUT); in gpioiic_reset_bus()150 GPIO_PIN_INPUT); in gpioiic_setsda()167 GPIO_PIN_INPUT); in gpioiic_setscl()180 GPIO_PIN_INPUT); in gpioiic_getscl()195 GPIO_PIN_INPUT); in gpioiic_getsda()
75 #define GPIO_PIN_IO (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)136 return (v ? GPIO_PIN_INPUT : GPIO_PIN_OUTPUT); in avila_gpio_pin_flags()150 if (flags & (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) { in avila_gpio_pin_configure()152 pin->gp_flags &= ~(GPIO_PIN_INPUT|GPIO_PIN_OUTPUT); in avila_gpio_pin_configure()158 pin->gp_flags |= GPIO_PIN_INPUT; in avila_gpio_pin_configure()228 if ((flags & (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) == in avila_gpio_pin_setflags()229 (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) in avila_gpio_pin_setflags()
325 if ((flags & (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) == in cambria_gpio_pin_setflags()326 (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) in cambria_gpio_pin_setflags()338 if (flags & GPIO_PIN_INPUT || sc->sc_val & mask) in cambria_gpio_pin_setflags()446 sc->sc_pins[pin].gp_caps = GPIO_PIN_INPUT|GPIO_PIN_OUTPUT; in cambria_gpio_attach()
55 #define DEFAULT_CAPS (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT)65 { "SW4", 8, GPIO_PIN_INPUT},129 if (flags & (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) { in ar71xx_gpio_pin_configure()130 pin->gp_flags &= ~(GPIO_PIN_INPUT|GPIO_PIN_OUTPUT); in ar71xx_gpio_pin_configure()136 pin->gp_flags |= GPIO_PIN_INPUT; in ar71xx_gpio_pin_configure()246 if ((flags & (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) == in ar71xx_gpio_pin_setflags()247 (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) in ar71xx_gpio_pin_setflags()
58 #define DEFAULT_CAPS (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_INVIN | \61 #define DEFAULT_CAPS (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_INVIN | \106 if (flags & (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) { in rt305x_gpio_pin_configure()107 pin->gp_flags &= ~(GPIO_PIN_INPUT|GPIO_PIN_OUTPUT); in rt305x_gpio_pin_configure()113 pin->gp_flags |= GPIO_PIN_INPUT; in rt305x_gpio_pin_configure()250 if ((flags & (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) == in rt305x_gpio_pin_setflags()251 (GPIO_PIN_INPUT|GPIO_PIN_OUTPUT)) in rt305x_gpio_pin_setflags()503 GPIO_PIN_INPUT|GPIO_PIN_INVOUT| in rt305x_gpio_attach()510 GPIO_PIN_INPUT|GPIO_PIN_INVOUT); in rt305x_gpio_attach()
63 #define GPIO_PIN_INPUT 0x0001 /* input direction */ macro
47 { "IN", GPIO_PIN_INPUT },