Home
last modified time | relevance | path

Searched refs:gpio_flags (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/arm/nvidia/
H A Das3722_gpio.c379 as3722_gpio_get_mode(struct as3722_softc *sc, uint32_t pin, uint32_t gpio_flags) in as3722_gpio_get_mode() argument
387 gpio_flags & GPIO_PIN_TRISTATE) in as3722_gpio_get_mode()
391 if (flags & AS3722_CFG_OPEN_DRAIN || gpio_flags & GPIO_PIN_OPENDRAIN) { in as3722_gpio_get_mode()
394 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode()
399 if (gpio_flags & GPIO_PIN_INPUT) { in as3722_gpio_get_mode()
402 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode()
406 gpio_flags & GPIO_PIN_PULLDOWN) in as3722_gpio_get_mode()
415 gpio_flags & GPIO_PIN_PULLDOWN) in as3722_gpio_get_mode()
/freebsd/usr.sbin/gpioctl/
H A Dgpioctl.c52 static struct flag_desc gpio_flags[] = { variable
88 struct flag_desc * pdesc = gpio_flags; in cap2str()
101 struct flag_desc * pdesc = gpio_flags; in str2cap()
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c1049 uint32_t gpio_flags; in bhndb_enable_pci_clocks() local
1068 gpio_flags = (BHNDB_PCI_GPIO_PLL_OFF|BHNDB_PCI_GPIO_XTAL_ON); in bhndb_enable_pci_clocks()
1069 gpio_out |= gpio_flags; in bhndb_enable_pci_clocks()
1070 gpio_en |= gpio_flags; in bhndb_enable_pci_clocks()