| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpiolib-of.c | 156 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 D | sgy_cts1000.c | 50 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 D | vmmc.c | 44 (flags & OF_GPIO_ACTIVE_LOW) ? (0) : (1)); in vmmc_probe()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | of_gpio.h | 26 OF_GPIO_ACTIVE_LOW = 0x1, enumerator
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/ |
| H A D | vehicle_gpio.c | 118 gpiod->atv_val = !(flags & OF_GPIO_ACTIVE_LOW); in gpio_parse_dt()
|
| /OK3568_Linux_fs/kernel/drivers/headset_observe/ |
| H A D | rockchip_headset_core.c | 72 pdata->headset_insert_type = (flags & OF_GPIO_ACTIVE_LOW) ? in rockchip_headset_probe()
|
| /OK3568_Linux_fs/kernel/sound/soc/tegra/ |
| H A D | tegra_rt5640.c | 109 !!(machine->gpio_hp_det_flags & OF_GPIO_ACTIVE_LOW); in tegra_rt5640_asoc_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | spi_ks8995.c | 470 flags = (ks->pdata->reset_gpio_flags == OF_GPIO_ACTIVE_LOW ? in ks8995_probe()
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/ |
| H A D | pcie-histb.c | 350 if (of_flags & OF_GPIO_ACTIVE_LOW) in histb_pcie_probe()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | gslx680_pad.c | 1057 …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 D | gslx680_firefly.c | 1006 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 D | gslx680a.c | 1192 …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 D | simple-card-utils.c | 582 sjack->gpio.invert = !!(flags & OF_GPIO_ACTIVE_LOW); in asoc_simple_init_jack()
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | fhci-hcd.c | 639 fhci->alow_gpios[i] = flags & OF_GPIO_ACTIVE_LOW; in of_fhci_probe()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | at91_udc.c | 1794 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 D | pci-mvebu.c | 882 if (flags & OF_GPIO_ACTIVE_LOW) { in mvebu_pcie_parse_port()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gslx680_d708/ |
| H A D | rockchip_gslX680.c | 1243 …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 D | hyn_cst2xx.c | 1767 …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 D | rk817_charger.c | 1446 pdata->dc_det_level = (flags & OF_GPIO_ACTIVE_LOW) ? in rk817_charge_parse_dt()
|
| H A D | rk818_charger.c | 1649 pdata->dc_det_level = (flags & OF_GPIO_ACTIVE_LOW) ? in rk818_cg_parse_dt()
|
| H A D | rk816_battery.c | 4818 (flags & OF_GPIO_ACTIVE_LOW) ? 0 : 1; in rk816_bat_parse_dt()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/s5c73m3/ |
| H A D | s5c73m3-core.c | 1587 state->gpio[i].level = !(of_flags & OF_GPIO_ACTIVE_LOW); in s5c73m3_parse_gpios()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | s5k5baf.c | 1830 gpios[i].level = !(flags & OF_GPIO_ACTIVE_LOW); in s5k5baf_parse_gpios()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_hdmi.c | 1800 vc4_hdmi->hpd_active_low = hpd_gpio_flags & OF_GPIO_ACTIVE_LOW; in vc4_hdmi_bind()
|