Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/arm/nvidia/
HDas3722_gpio.c380 as3722_gpio_get_mode(struct as3722_softc *sc, uint32_t pin, uint32_t gpio_flags) in as3722_gpio_get_mode() argument
388 gpio_flags & GPIO_PIN_TRISTATE) in as3722_gpio_get_mode()
392 if (flags & AS3722_CFG_OPEN_DRAIN || gpio_flags & GPIO_PIN_OPENDRAIN) { in as3722_gpio_get_mode()
395 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode()
400 if (gpio_flags & GPIO_PIN_INPUT) { in as3722_gpio_get_mode()
403 gpio_flags & GPIO_PIN_PULLUP) in as3722_gpio_get_mode()
407 gpio_flags & GPIO_PIN_PULLDOWN) in as3722_gpio_get_mode()
416 gpio_flags & GPIO_PIN_PULLDOWN) in as3722_gpio_get_mode()
/freebsd-14-stable/usr.sbin/gpioctl/
HDgpioctl.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-14-stable/sys/dev/bhnd/bhndb/
HDbhndb_pci.c1050 uint32_t gpio_flags; in bhndb_enable_pci_clocks() local
1069 gpio_flags = (BHNDB_PCI_GPIO_PLL_OFF|BHNDB_PCI_GPIO_XTAL_ON); in bhndb_enable_pci_clocks()
1070 gpio_out |= gpio_flags; in bhndb_enable_pci_clocks()
1071 gpio_en |= gpio_flags; in bhndb_enable_pci_clocks()