/linux-4.1.27/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 123 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.1.27/drivers/clk/ |
D | clk-gpio-gate.c | 79 unsigned long gpio_flags; in clk_register_gpio_gate() local 83 gpio_flags = GPIOF_ACTIVE_LOW | GPIOF_OUT_INIT_HIGH; in clk_register_gpio_gate() 85 gpio_flags = GPIOF_OUT_INIT_LOW; in clk_register_gpio_gate() 88 err = devm_gpio_request_one(dev, gpio, gpio_flags, name); in clk_register_gpio_gate() 90 err = gpio_request_one(gpio, gpio_flags, name); in clk_register_gpio_gate()
|
/linux-4.1.27/drivers/regulator/ |
D | max8952.c | 245 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()
|
D | tps62360-regulator.c | 430 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()
|
D | max8973-regulator.c | 424 int gpio_flags; in max8973_probe() local 427 gpio_flags = (pdata->dvs_def_state) ? in max8973_probe() 430 gpio_flags, "max8973-dvs"); in max8973_probe()
|
/linux-4.1.27/drivers/video/backlight/ |
D | gpio_backlight.c | 65 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.1.27/drivers/mmc/host/ |
D | of_mmc_spi.c | 108 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.1.27/drivers/gpio/ |
D | gpiolib-sysfs.c | 143 unsigned long gpio_flags) in gpio_setup_irq() argument 149 if ((desc->flags & GPIO_TRIGGER_MASK) == gpio_flags) in gpio_setup_irq() 163 if (!gpio_flags) { in gpio_setup_irq() 170 if (test_bit(FLAG_TRIG_FALL, &gpio_flags)) in gpio_setup_irq() 173 if (test_bit(FLAG_TRIG_RISE, &gpio_flags)) in gpio_setup_irq() 209 desc->flags |= gpio_flags; in gpio_setup_irq()
|
/linux-4.1.27/sound/soc/codecs/ |
D | wm0010.c | 883 unsigned long gpio_flags; in wm0010_spi_probe() local 932 gpio_flags = GPIOF_OUT_INIT_HIGH; in wm0010_spi_probe() 934 gpio_flags = GPIOF_OUT_INIT_LOW; in wm0010_spi_probe() 937 gpio_flags, "wm0010 reset"); in wm0010_spi_probe()
|
/linux-4.1.27/drivers/power/ |
D | sbs-battery.c | 739 enum of_gpio_flags gpio_flags; in sbs_of_populate_pdata() local 778 "sbs,battery-detect-gpios", 0, &gpio_flags); in sbs_of_populate_pdata() 780 if (gpio_flags & OF_GPIO_ACTIVE_LOW) in sbs_of_populate_pdata()
|
/linux-4.1.27/drivers/media/i2c/m5mols/ |
D | m5mols_core.c | 928 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.1.27/drivers/usb/gadget/udc/ |
D | pxa27x_udc.c | 2410 unsigned long gpio_flags; in pxa_udc_probe() local 2413 gpio_flags = mach->gpio_pullup_inverted ? GPIOF_ACTIVE_LOW : 0; in pxa_udc_probe() 2417 gpio_flags, in pxa_udc_probe()
|