Searched refs:gpio_flags (Results 1 – 3 of 3) sorted by relevance
380 as3722_gpio_get_mode(struct as3722_softc *sc, uint32_t pin, uint32_t gpio_flags) in as3722_gpio_get_mode() argument388 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()
52 static struct flag_desc gpio_flags[] = { variable88 struct flag_desc * pdesc = gpio_flags; in cap2str()101 struct flag_desc * pdesc = gpio_flags; in str2cap()
1050 uint32_t gpio_flags; in bhndb_enable_pci_clocks() local1069 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()