Home
last modified time | relevance | path

Searched refs:GPIO_PIN_INPUT (Results 1 – 7 of 7) sorted by relevance

/freebsd-9-stable/sys/dev/gpio/
Dgpioiic.c109 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()
/freebsd-9-stable/sys/arm/xscale/ixp425/
Davila_gpio.c75 #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()
Dcambria_gpio.c325 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()
/freebsd-9-stable/sys/mips/atheros/
Dar71xx_gpio.c55 #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()
/freebsd-9-stable/sys/mips/rt305x/
Drt305x_gpio.c58 #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()
/freebsd-9-stable/sys/sys/
Dgpio.h63 #define GPIO_PIN_INPUT 0x0001 /* input direction */ macro
/freebsd-9-stable/usr.sbin/gpioctl/
Dgpioctl.c47 { "IN", GPIO_PIN_INPUT },