Home
last modified time | relevance | path

Searched refs:GPIO_PIN_PULLDOWN (Results 1 – 15 of 15) sorted by relevance

/netbsd/sys/sys/
H A Dgpio.h41 #define GPIO_PIN_PULLDOWN 0x00000080 /* internal pull-down enabled */ macro
59 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | \
/netbsd/sys/dev/ic/
H A Dgcscpcib.c167 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | in gcscpcib_attach()
429 if (flags & GPIO_PIN_PULLDOWN) in gcscpcib_gpio_pin_ctl()
H A Digpio.c340 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | GPIO_PIN_INVIN; in igpio_attach()
581 if (flags & GPIO_PIN_PULLDOWN) { in igpio_pin_ctl()
/netbsd/sys/dev/fdt/
H A Dfdt_pinctrl.c227 bias = GPIO_PIN_PULLDOWN; in fdtbus_pinctrl_parse_bias()
/netbsd/sys/arch/arm/amlogic/
H A Dmeson_pinctrl.c306 if ((flags & (GPIO_PIN_PULLUP|GPIO_PIN_PULLDOWN)) != 0) { in meson_pinctrl_pin_ctl()
553 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN; in meson_pinctrl_initgpio()
/netbsd/sys/dev/gpio/
H A Dgpiosim.c103 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | in gpiosim_attach()
/netbsd/sys/arch/arm/sunxi/
H A Dsunxi_gpio.c271 else if (flags & GPIO_PIN_PULLDOWN) in sunxi_gpio_setpull()
745 bias = GPIO_PIN_PULLDOWN; in sunxi_pinctrl_parse_bias()
962 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN; in sunxi_gpio_attach_ports()
/netbsd/lib/lua/gpio/
H A Dgpio.c245 { "PIN_PULLDOWN", GPIO_PIN_PULLDOWN },
/netbsd/sys/arch/arm/rockchip/
H A Drk3328_iomux.c202 case GPIO_PIN_PULLDOWN: in rk3328_iomux_config()
H A Drk3288_iomux.c176 case GPIO_PIN_PULLDOWN: in rk3288_iomux_set_bias()
H A Drk3399_iomux.c234 } else if (flags == GPIO_PIN_PULLDOWN) { in rk3399_iomux_set_bias()
H A Drk3588_iomux.c865 case GPIO_PIN_PULLDOWN: in rk3588_iomux_set_bias()
/netbsd/usr.sbin/gpioctl/
H A Dgpioctl.c66 { GPIO_PIN_PULLDOWN, "pd" },
/netbsd/sys/arch/arm/broadcom/
H A Dbcm2835_gpio.c309 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | in bcmgpio_attach()
913 if (flags & (GPIO_PIN_PULLUP|GPIO_PIN_PULLDOWN)) { in bcm2835gpio_gpio_pin_ctl()
/netbsd/sys/arch/arm/samsung/
H A Dexynos_gpio.c305 if (flags & GPIO_PIN_PULLDOWN) { in exynos_gpio_pin_ctl()