Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpiolib-of.c120 *flags ^= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
124 *flags ^= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
143 if (*flags & OF_GPIO_ACTIVE_LOW) { in of_gpio_flags_quirks()
146 *flags &= ~OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
149 *flags |= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
191 if (*flags & OF_GPIO_ACTIVE_LOW) { in of_gpio_flags_quirks()
194 *flags &= ~OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
197 if (!(*flags & OF_GPIO_ACTIVE_LOW)) in of_gpio_flags_quirks()
200 *flags |= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
212 *flags |= OF_GPIO_ACTIVE_LOW; in of_gpio_flags_quirks()
[all …]
/Linux-v5.4/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-v5.4/arch/mips/lantiq/xway/
Dvmmc.c44 (flags & OF_GPIO_ACTIVE_LOW) ? (0) : (1)); in vmmc_probe()
/Linux-v5.4/include/linux/
Dof_gpio.h27 OF_GPIO_ACTIVE_LOW = 0x1, enumerator
/Linux-v5.4/sound/soc/tegra/
Dtegra_rt5640.c109 !!(machine->gpio_hp_det_flags & OF_GPIO_ACTIVE_LOW); in tegra_rt5640_asoc_init()
/Linux-v5.4/drivers/pci/controller/dwc/
Dpcie-histb.c350 if (of_flags & OF_GPIO_ACTIVE_LOW) in histb_pcie_probe()
/Linux-v5.4/drivers/spi/
Dspi-ppc4xx.c435 !!(flags & OF_GPIO_ACTIVE_LOW)); in spi_ppc4xx_of_probe()
/Linux-v5.4/drivers/net/phy/
Dspi_ks8995.c470 flags = (ks->pdata->reset_gpio_flags == OF_GPIO_ACTIVE_LOW ? in ks8995_probe()
/Linux-v5.4/sound/soc/generic/
Dsimple-card-utils.c533 sjack->gpio.invert = !!(flags & OF_GPIO_ACTIVE_LOW); in asoc_simple_init_jack()
/Linux-v5.4/drivers/usb/host/
Dfhci-hcd.c638 fhci->alow_gpios[i] = flags & OF_GPIO_ACTIVE_LOW; in of_fhci_probe()
/Linux-v5.4/drivers/usb/gadget/udc/
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-v5.4/drivers/pci/controller/
Dpci-mvebu.c869 if (flags & OF_GPIO_ACTIVE_LOW) { in mvebu_pcie_parse_port()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_hdmi.c1379 hdmi->hpd_active_low = hpd_gpio_flags & OF_GPIO_ACTIVE_LOW; in vc4_hdmi_bind()
/Linux-v5.4/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1587 state->gpio[i].level = !(of_flags & OF_GPIO_ACTIVE_LOW); in s5c73m3_parse_gpios()
/Linux-v5.4/drivers/media/i2c/
Ds5k5baf.c1831 gpios[i].level = !(flags & OF_GPIO_ACTIVE_LOW); in s5k5baf_parse_gpios()