Home
last modified time | relevance | path

Searched refs:OF_GPIO_ACTIVE_LOW (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/gpio/
Dgpiolib-of.c156 if ((*flags & OF_GPIO_ACTIVE_LOW) && !active_low) { in of_gpio_flags_quirks()
159 *flags &= ~OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
162 *flags |= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
204 if (*flags & OF_GPIO_ACTIVE_LOW) { in of_gpio_flags_quirks()
207 *flags &= ~OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
210 if (!(*flags & OF_GPIO_ACTIVE_LOW)) in of_gpio_flags_quirks()
213 *flags |= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
225 *flags |= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
327 active_low = flags & OF_GPIO_ACTIVE_LOW; in gpiod_get_from_of_node()
542 if (of_flags & OF_GPIO_ACTIVE_LOW) in of_find_gpio()
[all …]
/linux-5.19.10/arch/powerpc/platforms/85xx/
Dsgy_cts1000.c50 trigger = (flags == OF_GPIO_ACTIVE_LOW); in gpio_halt_cb()
103 trigger = (flags == OF_GPIO_ACTIVE_LOW); in gpio_halt_probe()
/linux-5.19.10/arch/mips/lantiq/xway/
Dvmmc.c44 (flags & OF_GPIO_ACTIVE_LOW) ? (0) : (1)); in vmmc_probe()
/linux-5.19.10/include/linux/
Dof_gpio.h26 OF_GPIO_ACTIVE_LOW = 0x1, enumerator
/linux-5.19.10/drivers/pci/controller/dwc/
Dpcie-histb.c341 if (of_flags & OF_GPIO_ACTIVE_LOW) in histb_pcie_probe()
/linux-5.19.10/drivers/net/phy/
Dspi_ks8995.c470 flags = (ks->pdata->reset_gpio_flags == OF_GPIO_ACTIVE_LOW ? in ks8995_probe()
/linux-5.19.10/drivers/usb/host/
Dfhci-hcd.c638 fhci->alow_gpios[i] = flags & OF_GPIO_ACTIVE_LOW; in of_fhci_probe()
/linux-5.19.10/sound/soc/generic/
Dsimple-card-utils.c721 sjack->gpio.invert = !!(flags & OF_GPIO_ACTIVE_LOW); in asoc_simple_init_jack()
/linux-5.19.10/drivers/pci/controller/
Dpci-mvebu.c1347 if (flags & OF_GPIO_ACTIVE_LOW) { in mvebu_pcie_parse_port()
/linux-5.19.10/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1590 state->gpio[i].level = !(of_flags & OF_GPIO_ACTIVE_LOW); in s5c73m3_parse_gpios()
/linux-5.19.10/drivers/media/i2c/
Ds5k5baf.c1837 gpios[i].level = !(flags & OF_GPIO_ACTIVE_LOW); in s5k5baf_parse_gpios()