Home
last modified time | relevance | path

Searched refs:gpio_flags (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c123 enum of_gpio_flags gpio_flags; in i2c_arbitrator_probe() local
145 ret = of_get_named_gpio_flags(np, "our-claim-gpio", 0, &gpio_flags); in i2c_arbitrator_probe()
152 arb->our_gpio_release = !!(gpio_flags & OF_GPIO_ACTIVE_LOW); in i2c_arbitrator_probe()
153 out_init = (gpio_flags & OF_GPIO_ACTIVE_LOW) ? in i2c_arbitrator_probe()
163 ret = of_get_named_gpio_flags(np, "their-claim-gpios", 0, &gpio_flags); in i2c_arbitrator_probe()
170 arb->their_gpio_release = !!(gpio_flags & OF_GPIO_ACTIVE_LOW); in i2c_arbitrator_probe()
/linux-4.4.14/drivers/clk/
Dclk-gpio.c105 unsigned long gpio_flags; in clk_register_gpio() local
117 gpio_flags = GPIOF_ACTIVE_LOW | GPIOF_OUT_INIT_HIGH; in clk_register_gpio()
119 gpio_flags = GPIOF_OUT_INIT_LOW; in clk_register_gpio()
122 err = devm_gpio_request_one(dev, gpio, gpio_flags, name); in clk_register_gpio()
124 err = gpio_request_one(gpio, gpio_flags, name); in clk_register_gpio()
/linux-4.4.14/drivers/regulator/
Dmax8952.c245 unsigned long gpio_flags; in max8952_pmic_probe() local
247 gpio_flags = max8952->vid0 ? in max8952_pmic_probe()
250 gpio_flags, "MAX8952 VID0")) in max8952_pmic_probe()
253 gpio_flags = max8952->vid1 ? in max8952_pmic_probe()
256 gpio_flags, "MAX8952 VID1")) in max8952_pmic_probe()
Dtps62360-regulator.c430 int gpio_flags; in tps62360_probe() local
431 gpio_flags = (pdata->vsel0_def_state) ? in tps62360_probe()
434 gpio_flags, "tps62360-vsel0"); in tps62360_probe()
442 gpio_flags = (pdata->vsel1_def_state) ? in tps62360_probe()
445 gpio_flags, "tps62360-vsel1"); in tps62360_probe()
Dmax8973-regulator.c618 int gpio_flags; in max8973_probe() local
621 gpio_flags = (pdata->dvs_def_state) ? in max8973_probe()
624 gpio_flags, "max8973-dvs"); in max8973_probe()
/linux-4.4.14/drivers/video/backlight/
Dgpio_backlight.c65 enum of_gpio_flags gpio_flags; in gpio_backlight_probe_dt() local
67 gbl->gpio = of_get_gpio_flags(np, 0, &gpio_flags); in gpio_backlight_probe_dt()
77 gbl->active = (gpio_flags & OF_GPIO_ACTIVE_LOW) ? 0 : 1; in gpio_backlight_probe_dt()
/linux-4.4.14/drivers/mmc/host/
Dof_mmc_spi.c108 enum of_gpio_flags gpio_flags; in mmc_spi_get_pdata() local
110 oms->gpios[i] = of_get_gpio_flags(np, i, &gpio_flags); in mmc_spi_get_pdata()
114 if (gpio_flags & OF_GPIO_ACTIVE_LOW) in mmc_spi_get_pdata()
/linux-4.4.14/drivers/pci/host/
Dpci-dra7xx.c349 unsigned long gpio_flags; in dra7xx_pcie_probe() local
414 gpio_flags = (flags & OF_GPIO_ACTIVE_LOW) ? in dra7xx_pcie_probe()
416 ret = devm_gpio_request_one(dev, gpio_sel, gpio_flags, in dra7xx_pcie_probe()
Dpci-mvebu.c1094 unsigned long gpio_flags; in mvebu_pcie_parse_port() local
1106 gpio_flags = GPIOF_ACTIVE_LOW | in mvebu_pcie_parse_port()
1109 gpio_flags = GPIOF_OUT_INIT_HIGH; in mvebu_pcie_parse_port()
1112 ret = devm_gpio_request_one(dev, reset_gpio, gpio_flags, in mvebu_pcie_parse_port()
/linux-4.4.14/sound/soc/codecs/
Dwm0010.c876 unsigned long gpio_flags; in wm0010_spi_probe() local
925 gpio_flags = GPIOF_OUT_INIT_HIGH; in wm0010_spi_probe()
927 gpio_flags = GPIOF_OUT_INIT_LOW; in wm0010_spi_probe()
930 gpio_flags, "wm0010 reset"); in wm0010_spi_probe()
/linux-4.4.14/drivers/power/
Dsbs-battery.c741 enum of_gpio_flags gpio_flags; in sbs_of_populate_pdata() local
780 "sbs,battery-detect-gpios", 0, &gpio_flags); in sbs_of_populate_pdata()
782 if (gpio_flags & OF_GPIO_ACTIVE_LOW) in sbs_of_populate_pdata()
/linux-4.4.14/drivers/media/i2c/m5mols/
Dm5mols_core.c928 unsigned long gpio_flags; in m5mols_probe() local
955 gpio_flags = pdata->reset_polarity in m5mols_probe()
957 ret = devm_gpio_request_one(&client->dev, pdata->gpio_reset, gpio_flags, in m5mols_probe()
/linux-4.4.14/drivers/usb/gadget/udc/
Dpxa27x_udc.c2411 unsigned long gpio_flags; in pxa_udc_probe() local
2414 gpio_flags = mach->gpio_pullup_inverted ? GPIOF_ACTIVE_LOW : 0; in pxa_udc_probe()
2418 gpio_flags, in pxa_udc_probe()