| /freebsd-13-stable/sys/arm/ti/am335x/ |
| HD | am335x_gpio.c | 88 if (flags & GPIO_PIN_PULLUP) in am335x_gpio_set_flags() 93 if (flags & GPIO_PIN_PULLUP) in am335x_gpio_set_flags() 118 *flags = GPIO_PIN_OUTPUT | GPIO_PIN_PULLUP; in am335x_gpio_get_flags() 124 *flags = GPIO_PIN_INPUT | GPIO_PIN_PULLUP; in am335x_gpio_get_flags()
|
| /freebsd-13-stable/sys/arm/ti/omap4/ |
| HD | omap4_gpio.c | 85 if (flags & GPIO_PIN_PULLUP) in omap4_gpio_set_flags() 116 *flags = GPIO_PIN_INPUT | GPIO_PIN_PULLUP; in omap4_gpio_get_flags()
|
| /freebsd-13-stable/sys/dev/gpio/ |
| HD | gpiospi.c | 166 GPIO_PIN_OUTPUT|GPIO_PIN_PULLUP); in gpio_spi_attach() 170 GPIO_PIN_OUTPUT|GPIO_PIN_PULLUP); in gpio_spi_attach() 173 GPIO_PIN_OUTPUT|GPIO_PIN_PULLUP); in gpio_spi_attach() 176 GPIO_PIN_OUTPUT|GPIO_PIN_PULLUP); in gpio_spi_attach()
|
| HD | gpiobus.c | 142 if (flags & GPIO_PIN_PULLUP && flags & GPIO_PIN_PULLDOWN) in gpio_check_flags()
|
| /freebsd-13-stable/sys/dev/bhnd/cores/chipc/ |
| HD | chipc_gpio.c | 361 *caps |= (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in chipc_gpio_pin_getcaps() 385 *flags |= GPIO_PIN_PULLUP; in chipc_gpio_pin_getflags() 651 if (flags & GPIO_PIN_PULLUP) { in chipc_gpio_pin_update() 720 input_flag = flags & (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in chipc_gpio_check_flags() 754 case GPIO_PIN_PULLUP: in chipc_gpio_check_flags()
|
| /freebsd-13-stable/sys/mips/ingenic/ |
| HD | jz4780_gpio.c | 191 case GPIO_PIN_PULLUP: in jz4780_gpio_pin_set_bias() 205 sc->pins[pin].pin_flags &= ~(GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in jz4780_gpio_pin_set_bias() 270 (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in jz4780_gpio_pin_probe() 278 (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); in jz4780_gpio_pin_probe() 332 sc->pins[i].pin_caps |= GPIO_PIN_PULLUP; in jz4780_gpio_attach() 481 flags & (GPIO_PIN_PULLDOWN | GPIO_PIN_PULLUP)); in jz4780_gpio_pin_setflags()
|
| HD | jz4780_pinctrl.c | 155 { "bias-pull-up", GPIO_PIN_PULLUP },
|
| /freebsd-13-stable/sys/arm/nvidia/ |
| HD | as3722_gpio.c | 366 flags = GPIO_PIN_INPUT | GPIO_PIN_PULLUP; in as3722_gpio_pin_getflags() 397 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode() 405 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode() 560 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | GPIO_PIN_INVIN | in as3722_gpio_attach()
|
| /freebsd-13-stable/sys/arm64/rockchip/ |
| HD | rk_pinctrl.c | 398 rv = GPIO_PIN_PULLUP; in rk3288_resolv_bias_value() 410 if (bias & GPIO_PIN_PULLUP) in rk3288_get_bias_value() 709 rv = GPIO_PIN_PULLUP; in rk3399_resolv_bias_value() 717 rv = GPIO_PIN_PULLUP; in rk3399_resolv_bias_value() 734 if (bias & GPIO_PIN_PULLUP) in rk3399_get_bias_value() 742 if (bias & GPIO_PIN_PULLUP) in rk3399_get_bias_value()
|
| HD | rk_gpio.c | 72 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN) 74 #define GPIO_FLAGS_PINCTRL (GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN)
|
| /freebsd-13-stable/sys/sys/ |
| HD | gpio.h | 71 #define GPIO_PIN_PULLUP 0x00000020 /* internal pull-up enabled */ macro
|
| /freebsd-13-stable/sys/arm/broadcom/bcm2835/ |
| HD | bcm2835_gpio.c | 71 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN | GPIO_INTR_LEVEL_LOW | \ 385 pin->gp_flags &= ~(GPIO_PIN_PULLUP|GPIO_PIN_PULLDOWN); in bcm_gpio_pin_configure() 386 if (flags & (GPIO_PIN_PULLUP|GPIO_PIN_PULLDOWN)) { in bcm_gpio_pin_configure() 387 if (flags & GPIO_PIN_PULLUP) { in bcm_gpio_pin_configure() 388 pin->gp_flags |= GPIO_PIN_PULLUP; in bcm_gpio_pin_configure() 1298 bcm_gpio_pin_setflags(dev, pin, GPIO_PIN_PULLUP); in bcm_gpio_configure_pins()
|
| /freebsd-13-stable/sys/arm64/nvidia/tegra210/ |
| HD | max77620_gpio.c | 458 *out_flags |= GPIO_PIN_PULLUP; in max77620_gpio_get_mode() 535 if (flags & GPIO_PIN_PULLUP) in max77620_gpio_pin_setflags() 708 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN; in max77620_gpio_attach()
|
| /freebsd-13-stable/sys/dts/ |
| HD | bindings-gpio.txt | 89 GPIO_PIN_PULLUP 0x0040 Internal pull-up enabled
|
| /freebsd-13-stable/lib/libgpio/ |
| HD | gpio.c | 251 return (gpio_pin_set_flag(handle, pin, GPIO_PIN_PULLUP)); in gpio_pin_pullup()
|
| /freebsd-13-stable/usr.sbin/gpioctl/ |
| HD | gpioctl.c | 58 { "PU", GPIO_PIN_PULLUP },
|
| /freebsd-13-stable/sys/arm/ti/ |
| HD | ti_gpio.c | 314 *caps = (GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_PULLUP | in ti_gpio_pin_getcaps() 633 if (flags & GPIO_PIN_PULLUP) in ti_gpio_bank_init()
|
| /freebsd-13-stable/sys/arm/allwinner/ |
| HD | aw_gpio.c | 67 GPIO_PIN_PULLUP | GPIO_PIN_PULLDOWN); 491 if (flags & GPIO_PIN_PULLUP) in aw_gpio_pin_configure() 569 *flags |= GPIO_PIN_PULLUP; in aw_gpio_pin_getflags()
|
| /freebsd-13-stable/sys/mips/conf/ |
| HD | WZR-300HP.hints | 123 #define GPIO_PIN_PULLUP 0x0020 /* internal pull-up enabled */
|
| /freebsd-13-stable/tools/test/gpioevents/ |
| HD | gpioevents.c | 631 pin_config.g_flags |= GPIO_PIN_PULLUP; in main()
|
| /freebsd-13-stable/sys/arm/mv/ |
| HD | gpio.c | 65 GPIO_PIN_TRISTATE | GPIO_PIN_PULLUP | \
|