Home
last modified time | relevance | path

Searched refs:GPIO_PIN_PULLUP (Results 1 – 14 of 14) sorted by relevance

/f-stack/freebsd/arm/ti/am335x/
H A Dam335x_gpio.c90 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()
/f-stack/freebsd/arm/ti/omap4/
H A Domap4_gpio.c87 if (flags & GPIO_PIN_PULLUP) in omap4_gpio_set_flags()
118 *flags = GPIO_PIN_INPUT | GPIO_PIN_PULLUP; in omap4_gpio_get_flags()
/f-stack/freebsd/arm/nvidia/
H A Das3722_gpio.c368 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()
/f-stack/freebsd/mips/ingenic/
H A Djz4780_gpio.c193 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()
H A Djz4780_pinctrl.c157 { "bias-pull-up", GPIO_PIN_PULLUP },
/f-stack/freebsd/arm64/rockchip/
H A Drk_pinctrl.c400 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()
H A Drk_gpio.c74 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN)
/f-stack/freebsd/sys/
H A Dgpio.h73 #define GPIO_PIN_PULLUP 0x00000020 /* internal pull-up enabled */ macro
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2835_gpio.c71 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()
/f-stack/freebsd/arm64/nvidia/tegra210/
H A Dmax77620_gpio.c460 *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()
/f-stack/freebsd/arm/ti/
H A Dti_gpio.c316 *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()
/f-stack/freebsd/arm/allwinner/
H A Daw_gpio.c69 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()
/f-stack/freebsd/mips/conf/
H A DWZR-300HP.hints124 #define GPIO_PIN_PULLUP 0x0020 /* internal pull-up enabled */
/f-stack/freebsd/arm/mv/
H A Dgpio.c67 GPIO_PIN_TRISTATE | GPIO_PIN_PULLUP | \