Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpio/
H 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 …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/85xx/
H 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()
/OK3568_Linux_fs/kernel/arch/mips/lantiq/xway/
H A Dvmmc.c44 (flags & OF_GPIO_ACTIVE_LOW) ? (0) : (1)); in vmmc_probe()
/OK3568_Linux_fs/kernel/include/linux/
H A Dof_gpio.h26 OF_GPIO_ACTIVE_LOW = 0x1, enumerator
/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle_gpio.c118 gpiod->atv_val = !(flags & OF_GPIO_ACTIVE_LOW); in gpio_parse_dt()
/OK3568_Linux_fs/kernel/drivers/headset_observe/
H A Drockchip_headset_core.c72 pdata->headset_insert_type = (flags & OF_GPIO_ACTIVE_LOW) ? in rockchip_headset_probe()
/OK3568_Linux_fs/kernel/sound/soc/tegra/
H A Dtegra_rt5640.c109 !!(machine->gpio_hp_det_flags & OF_GPIO_ACTIVE_LOW); in tegra_rt5640_asoc_init()
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Dspi_ks8995.c470 flags = (ks->pdata->reset_gpio_flags == OF_GPIO_ACTIVE_LOW ? in ks8995_probe()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-histb.c350 if (of_flags & OF_GPIO_ACTIVE_LOW) in histb_pcie_probe()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dgslx680_pad.c1057 …rc = devm_gpio_request_one(&ts->client->dev, ts->wake_pin, (wake_flags & OF_GPIO_ACTIVE_LOW) ? GPI… in gsl_ts_probe()
1067 …rc = devm_gpio_request_one(&ts->client->dev, ts->irq_pin, (irq_flags & OF_GPIO_ACTIVE_LOW) ? GPIOF… in gsl_ts_probe()
H A Dgslx680_firefly.c1006 ts->rst_val = (rst_flags & OF_GPIO_ACTIVE_LOW) ? 0 : 1;
1007 …ret = devm_gpio_request_one(&client->dev, ts->rst_pin, (rst_flags & OF_GPIO_ACTIVE_LOW) ? GPIOF_OU…
H A Dgslx680a.c1192 …rc = devm_gpio_request_one(&client->dev, ts->wake_pin, (wake_flags & OF_GPIO_ACTIVE_LOW) ? GPIOF_O… in gsl_ts_probe()
1202 …rc = devm_gpio_request_one(&client->dev, ts->irq_pin, (irq_flags & OF_GPIO_ACTIVE_LOW) ? GPIOF_OUT… in gsl_ts_probe()
/OK3568_Linux_fs/kernel/sound/soc/generic/
H A Dsimple-card-utils.c582 sjack->gpio.invert = !!(flags & OF_GPIO_ACTIVE_LOW); in asoc_simple_init_jack()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dfhci-hcd.c639 fhci->alow_gpios[i] = flags & OF_GPIO_ACTIVE_LOW; in of_fhci_probe()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H 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()
/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dpci-mvebu.c882 if (flags & OF_GPIO_ACTIVE_LOW) { in mvebu_pcie_parse_port()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gslx680_d708/
H A Drockchip_gslX680.c1243 …rc = devm_gpio_request_one(&client->dev, ts->wake_pin, (wake_flags & OF_GPIO_ACTIVE_LOW) ? GPIOF_O… in gsl_ts_probe()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/hyn_cst2xx/
H A Dhyn_cst2xx.c1767 …rc = devm_gpio_request_one(&client->dev, ts->rst_pin, (wake_flags & OF_GPIO_ACTIVE_LOW) ? GPIOF_OU… in hyn_ts_probe()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Drk817_charger.c1446 pdata->dc_det_level = (flags & OF_GPIO_ACTIVE_LOW) ? in rk817_charge_parse_dt()
H A Drk818_charger.c1649 pdata->dc_det_level = (flags & OF_GPIO_ACTIVE_LOW) ? in rk818_cg_parse_dt()
H A Drk816_battery.c4818 (flags & OF_GPIO_ACTIVE_LOW) ? 0 : 1; in rk816_bat_parse_dt()
/OK3568_Linux_fs/kernel/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c1587 state->gpio[i].level = !(of_flags & OF_GPIO_ACTIVE_LOW); in s5c73m3_parse_gpios()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Ds5k5baf.c1830 gpios[i].level = !(flags & OF_GPIO_ACTIVE_LOW); in s5k5baf_parse_gpios()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.c1800 vc4_hdmi->hpd_active_low = hpd_gpio_flags & OF_GPIO_ACTIVE_LOW; in vc4_hdmi_bind()