Home
last modified time | relevance | path

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

/linux/drivers/gpio/
A 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/arch/powerpc/platforms/85xx/
A 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/arch/mips/lantiq/xway/
A Dvmmc.c44 (flags & OF_GPIO_ACTIVE_LOW) ? (0) : (1)); in vmmc_probe()
/linux/include/linux/
A Dof_gpio.h26 OF_GPIO_ACTIVE_LOW = 0x1, enumerator
/linux/drivers/pci/controller/dwc/
A Dpcie-histb.c343 if (of_flags & OF_GPIO_ACTIVE_LOW) in histb_pcie_probe()
/linux/drivers/net/phy/
A Dspi_ks8995.c470 flags = (ks->pdata->reset_gpio_flags == OF_GPIO_ACTIVE_LOW ? in ks8995_probe()
/linux/drivers/usb/host/
A Dfhci-hcd.c639 fhci->alow_gpios[i] = flags & OF_GPIO_ACTIVE_LOW; in of_fhci_probe()
/linux/sound/soc/generic/
A Dsimple-card-utils.c597 sjack->gpio.invert = !!(flags & OF_GPIO_ACTIVE_LOW); in asoc_simple_init_jack()
/linux/drivers/usb/gadget/udc/
A Dat91_udc.c1794 board->vbus_active_low = (flags & OF_GPIO_ACTIVE_LOW) ? 1 : 0; in at91udc_of_init()
1799 board->pullup_active_low = (flags & OF_GPIO_ACTIVE_LOW) ? 1 : 0; in at91udc_of_init()
/linux/drivers/pci/controller/
A Dpci-mvebu.c874 if (flags & OF_GPIO_ACTIVE_LOW) { in mvebu_pcie_parse_port()
/linux/drivers/media/i2c/s5c73m3/
A Ds5c73m3-core.c1590 state->gpio[i].level = !(of_flags & OF_GPIO_ACTIVE_LOW); in s5c73m3_parse_gpios()
/linux/drivers/media/i2c/
A Ds5k5baf.c1837 gpios[i].level = !(flags & OF_GPIO_ACTIVE_LOW); in s5k5baf_parse_gpios()

Completed in 47 milliseconds