Searched refs:GPIO_PIN_OPENDRAIN (Results 1 – 15 of 15) sorted by relevance
74 GPIO_PIN_INVOUT | GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)311 if ((pin_flags & (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) == in ftgpio_pin_setflags()312 (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) in ftgpio_pin_setflags()315 if (pin_flags & GPIO_PIN_OPENDRAIN) in ftgpio_pin_setflags()386 pin->gp_flags |= GPIO_PIN_OPENDRAIN; in ftgpio_attach()
70 GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | \1249 pin->gp_flags |= GPIO_PIN_OPENDRAIN; in nct_attach()1446 if ((flags & (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) == in nct_gpio_pin_setflags()1447 (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) { in nct_gpio_pin_setflags()1475 if ((flags & (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) != 0) { in nct_gpio_pin_setflags()1476 if (flags & GPIO_PIN_OPENDRAIN) in nct_gpio_pin_setflags()1480 pin->gp_flags &= ~(GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL); in nct_gpio_pin_setflags()1482 flags & (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL); in nct_gpio_pin_setflags()
123 if (flags & GPIO_PIN_OPENDRAIN) in qoriq_gpio_pin_configure()300 if (pin_flags[i] & GPIO_PIN_OPENDRAIN) { in qoriq_gpio_pin_config_32()301 newflags[i] |= GPIO_PIN_OPENDRAIN; in qoriq_gpio_pin_config_32()
35 GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)
197 GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN); in gpioiic_setsda()211 GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN); in gpioiic_setscl()
611 if ((flags & (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) != 0) in cp2112_gpio_pin_setflags()614 if ((flags & (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) == in cp2112_gpio_pin_setflags()615 (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) in cp2112_gpio_pin_setflags()625 if ((flags & GPIO_PIN_OPENDRAIN) != 0) in cp2112_gpio_pin_setflags()642 (flags & (GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL)) == 0) { in cp2112_gpio_pin_setflags()646 flags |= GPIO_PIN_OPENDRAIN; in cp2112_gpio_pin_setflags()678 sc->gpio_caps = GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN | in cp2112gpio_attach()705 pin->gp_flags |= GPIO_PIN_OPENDRAIN; in cp2112gpio_attach()
359 flags = GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN; in as3722_gpio_pin_getflags()391 if (flags & AS3722_CFG_OPEN_DRAIN || gpio_flags & GPIO_PIN_OPENDRAIN) { in as3722_gpio_get_mode()556 GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | GPIO_PIN_TRISTATE | in as3722_gpio_attach()
68 #define GPIO_PIN_OPENDRAIN 0x00000004 /* open-drain output */ macro
465 *out_flags |= GPIO_PIN_OPENDRAIN; in max77620_gpio_get_mode()551 (flags & GPIO_PIN_OPENDRAIN) == 0) || in max77620_gpio_pin_setflags()706 GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | in max77620_gpio_attach()
85 GPIO_PIN_OPENDRAIN 0x0004 Open-drain output
233 return (gpio_pin_set_flag(handle, pin, GPIO_PIN_OPENDRAIN)); in gpio_pin_opendrain()
55 { "OD", GPIO_PIN_OPENDRAIN },
548 if (flags & GPIO_PIN_OPENDRAIN) in imx51_gpio_pin_configure()689 if (sc->gpio_pins[pin].gp_flags & GPIO_PIN_OPENDRAIN) in imx51_gpio_pin_get()
159 flags |= GPIO_PIN_OPENDRAIN; in regnode_fixed_init()
63 GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL | \573 if ((flags & mask) & GPIO_PIN_OPENDRAIN) in mv_gpio_configure()