Searched refs:GPIO_PIN_PULLUP (Results 1 – 14 of 14) sorted by relevance
90 if (flags & GPIO_PIN_PULLUP) in am335x_gpio_set_flags()95 if (flags & GPIO_PIN_PULLUP) in am335x_gpio_set_flags()120 *flags = GPIO_PIN_OUTPUT | GPIO_PIN_PULLUP; in am335x_gpio_get_flags()126 *flags = GPIO_PIN_INPUT | GPIO_PIN_PULLUP; in am335x_gpio_get_flags()
87 if (flags & GPIO_PIN_PULLUP) in omap4_gpio_set_flags()118 *flags = GPIO_PIN_INPUT | GPIO_PIN_PULLUP; in omap4_gpio_get_flags()
368 flags = GPIO_PIN_INPUT | GPIO_PIN_PULLUP; in as3722_gpio_pin_getflags()399 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode()407 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode()562 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | GPIO_PIN_INVIN | in as3722_gpio_attach()
193 case GPIO_PIN_PULLUP: in jz4780_gpio_pin_set_bias()207 sc->pins[pin].pin_flags &= ~(GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in jz4780_gpio_pin_set_bias()272 (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in jz4780_gpio_pin_probe()280 (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in jz4780_gpio_pin_probe()334 sc->pins[i].pin_caps |= GPIO_PIN_PULLUP; in jz4780_gpio_attach()483 flags & (GPIO_PIN_PULLDOWN | GPIO_PIN_PULLUP)); in jz4780_gpio_pin_setflags()
157 { "bias-pull-up", GPIO_PIN_PULLUP },
400 rv = GPIO_PIN_PULLUP; in rk3288_resolv_bias_value()412 if (bias & GPIO_PIN_PULLUP) in rk3288_get_bias_value()711 rv = GPIO_PIN_PULLUP; in rk3399_resolv_bias_value()719 rv = GPIO_PIN_PULLUP; in rk3399_resolv_bias_value()736 if (bias & GPIO_PIN_PULLUP) in rk3399_get_bias_value()744 if (bias & GPIO_PIN_PULLUP) in rk3399_get_bias_value()
74 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN)
73 #define GPIO_PIN_PULLUP 0x00000020 /* internal pull-up enabled */ macro
71 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | GPIO_INTR_LEVEL_LOW | \351 pin->gp_flags &= ~(GPIO_PIN_PULLUP|GPIO_PIN_PULLDOWN); in bcm_gpio_pin_configure()352 if (flags & (GPIO_PIN_PULLUP|GPIO_PIN_PULLDOWN)) { in bcm_gpio_pin_configure()353 if (flags & GPIO_PIN_PULLUP) { in bcm_gpio_pin_configure()354 pin->gp_flags |= GPIO_PIN_PULLUP; in bcm_gpio_pin_configure()1259 bcm_gpio_pin_setflags(dev, pin, GPIO_PIN_PULLUP); in bcm_gpio_configure_pins()
460 *out_flags |= GPIO_PIN_PULLUP; in max77620_gpio_get_mode()537 if (flags & GPIO_PIN_PULLUP) in max77620_gpio_pin_setflags()710 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN; in max77620_gpio_attach()
316 *caps = (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_PULLUP | in ti_gpio_pin_getcaps()635 if (flags & GPIO_PIN_PULLUP) in ti_gpio_bank_init()
69 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN);493 if (flags & GPIO_PIN_PULLUP) in aw_gpio_pin_configure()571 *flags |= GPIO_PIN_PULLUP; in aw_gpio_pin_getflags()
124 #define GPIO_PIN_PULLUP 0x0020 /* internal pull-up enabled */
67 GPIO_PIN_TRISTATE | GPIO_PIN_PULLUP | \