Searched refs:gpio_flags (Results 1 - 13 of 13) sorted by relevance
/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 123 enum of_gpio_flags gpio_flags; local 145 ret = of_get_named_gpio_flags(np, "our-claim-gpio", 0, &gpio_flags); 152 arb->our_gpio_release = !!(gpio_flags & OF_GPIO_ACTIVE_LOW); 153 out_init = (gpio_flags & OF_GPIO_ACTIVE_LOW) ? 163 ret = of_get_named_gpio_flags(np, "their-claim-gpios", 0, &gpio_flags); 170 arb->their_gpio_release = !!(gpio_flags & OF_GPIO_ACTIVE_LOW);
|
/drivers/clk/ |
H A D | clk-gpio-gate.c | 77 unsigned long gpio_flags; local 81 gpio_flags = GPIOF_OUT_INIT_HIGH; 83 gpio_flags = GPIOF_OUT_INIT_LOW; 87 gpio_flags, name); 89 err = gpio_request_one(desc_to_gpio(gpiod), gpio_flags, name);
|
/drivers/mmc/host/ |
H A D | of_mmc_spi.c | 108 enum of_gpio_flags gpio_flags; local 110 oms->gpios[i] = of_get_gpio_flags(np, i, &gpio_flags); 114 if (gpio_flags & OF_GPIO_ACTIVE_LOW)
|
/drivers/video/backlight/ |
H A D | gpio_backlight.c | 65 enum of_gpio_flags gpio_flags; local 67 gbl->gpio = of_get_gpio_flags(np, 0, &gpio_flags); 77 gbl->active = (gpio_flags & OF_GPIO_ACTIVE_LOW) ? 0 : 1;
|
/drivers/usb/phy/ |
H A D | phy-generic.c | 207 unsigned long gpio_flags; local 211 gpio_flags = GPIOF_OUT_INIT_LOW; 213 gpio_flags = GPIOF_OUT_INIT_HIGH; 216 gpio_flags, dev_name(dev));
|
/drivers/input/misc/ |
H A D | gpio_input.c | 58 unsigned gpio_flags = ds->info->flags; local 85 if (gpio_flags & GPIOEDF_PRINT_KEY_UNSTABLE) 91 npolarity = !(gpio_flags & GPIOEDF_ACTIVE_HIGH); 97 if (gpio_flags & GPIOEDF_PRINT_KEY_DEBOUNCE) 106 if (gpio_flags & GPIOEDF_PRINT_KEY_DEBOUNCE) 115 if (gpio_flags & GPIOEDF_PRINT_KEY_DEBOUNCE) 129 if (gpio_flags & GPIOEDF_PRINT_KEYS)
|
/drivers/regulator/ |
H A D | max8952.c | 243 unsigned long gpio_flags; local 245 gpio_flags = max8952->vid0 ? 248 gpio_flags, "MAX8952 VID0")) 251 gpio_flags = max8952->vid1 ? 254 gpio_flags, "MAX8952 VID1"))
|
H A D | tps62360-regulator.c | 427 int gpio_flags; local 428 gpio_flags = (pdata->vsel0_def_state) ? 431 gpio_flags, "tps62360-vsel0"); 439 gpio_flags = (pdata->vsel1_def_state) ? 442 gpio_flags, "tps62360-vsel1");
|
H A D | max8973-regulator.c | 424 int gpio_flags; local 427 gpio_flags = (pdata->dvs_def_state) ? 430 gpio_flags, "max8973-dvs");
|
/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 143 unsigned long gpio_flags) 149 if ((desc->flags & GPIO_TRIGGER_MASK) == gpio_flags) 163 if (!gpio_flags) { 170 if (test_bit(FLAG_TRIG_FALL, &gpio_flags)) 173 if (test_bit(FLAG_TRIG_RISE, &gpio_flags)) 209 desc->flags |= gpio_flags; 142 gpio_setup_irq(struct gpio_desc *desc, struct device *dev, unsigned long gpio_flags) argument
|
/drivers/usb/host/ |
H A D | isp1760-if.c | 50 enum of_gpio_flags gpio_flags; local 97 drvdata->rst_gpio = of_get_gpio_flags(dp, 0, &gpio_flags); 101 if (!(gpio_flags & OF_GPIO_ACTIVE_LOW)) {
|
/drivers/media/i2c/m5mols/ |
H A D | m5mols_core.c | 933 unsigned long gpio_flags; local 960 gpio_flags = pdata->reset_polarity 962 ret = devm_gpio_request_one(&client->dev, pdata->gpio_reset, gpio_flags,
|
/drivers/power/ |
H A D | sbs-battery.c | 742 enum of_gpio_flags gpio_flags; local 781 "sbs,battery-detect-gpios", 0, &gpio_flags); 783 if (gpio_flags & OF_GPIO_ACTIVE_LOW)
|
Completed in 4273 milliseconds