Searched refs:gpio_flags (Results 1 – 12 of 12) sorted by relevance
/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 119 enum of_gpio_flags gpio_flags; in i2c_arbitrator_probe() local 142 ret = of_get_named_gpio_flags(np, "our-claim-gpio", 0, &gpio_flags); in i2c_arbitrator_probe() 149 arb->our_gpio_release = !!(gpio_flags & OF_GPIO_ACTIVE_LOW); in i2c_arbitrator_probe() 150 out_init = (gpio_flags & OF_GPIO_ACTIVE_LOW) ? in i2c_arbitrator_probe() 160 ret = of_get_named_gpio_flags(np, "their-claim-gpios", 0, &gpio_flags); in i2c_arbitrator_probe() 167 arb->their_gpio_release = !!(gpio_flags & OF_GPIO_ACTIVE_LOW); in i2c_arbitrator_probe()
|
/drivers/clk/ |
D | clk-gpio.c | 105 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()
|
/drivers/input/misc/ |
D | gpio_input.c | 58 unsigned gpio_flags = ds->info->flags; in gpio_event_input_timer_func() local 85 if (gpio_flags & GPIOEDF_PRINT_KEY_UNSTABLE) in gpio_event_input_timer_func() 91 npolarity = !(gpio_flags & GPIOEDF_ACTIVE_HIGH); in gpio_event_input_timer_func() 97 if (gpio_flags & GPIOEDF_PRINT_KEY_DEBOUNCE) in gpio_event_input_timer_func() 106 if (gpio_flags & GPIOEDF_PRINT_KEY_DEBOUNCE) in gpio_event_input_timer_func() 115 if (gpio_flags & GPIOEDF_PRINT_KEY_DEBOUNCE) in gpio_event_input_timer_func() 129 if (gpio_flags & GPIOEDF_PRINT_KEYS) in gpio_event_input_timer_func()
|
/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 | pwm-regulator.c | 333 enum gpiod_flags gpio_flags; in pwm_regulator_probe() local 372 gpio_flags = GPIOD_OUT_HIGH; in pwm_regulator_probe() 374 gpio_flags = GPIOD_OUT_LOW; in pwm_regulator_probe() 376 gpio_flags); in pwm_regulator_probe()
|
D | max8973-regulator.c | 711 int gpio_flags; in max8973_probe() local 714 gpio_flags = (pdata->dvs_def_state) ? in max8973_probe() 717 gpio_flags, "max8973-dvs"); in max8973_probe()
|
/drivers/mmc/host/ |
D | of_mmc_spi.c | 106 enum of_gpio_flags gpio_flags; in mmc_spi_get_pdata() local 108 oms->gpios[i] = of_get_gpio_flags(np, i, &gpio_flags); in mmc_spi_get_pdata() 112 if (gpio_flags & OF_GPIO_ACTIVE_LOW) in mmc_spi_get_pdata()
|
/drivers/net/phy/ |
D | sfp.c | 68 static const enum gpiod_flags gpio_flags[] = { enum 138 if (gpio_flags[i] != GPIOD_IN || !sfp->gpio[i]) in sfp_gpio_get_state() 859 gpio_of_names[i], gpio_flags[i]); in sfp_probe() 880 if (gpio_flags[i] != GPIOD_IN || !sfp->gpio[i]) in sfp_probe()
|
/drivers/pci/host/ |
D | pci-mvebu.c | 1099 unsigned long gpio_flags; in mvebu_pcie_parse_port() local 1111 gpio_flags = GPIOF_ACTIVE_LOW | in mvebu_pcie_parse_port() 1114 gpio_flags = GPIOF_OUT_INIT_HIGH; in mvebu_pcie_parse_port() 1117 ret = devm_gpio_request_one(dev, reset_gpio, gpio_flags, in mvebu_pcie_parse_port()
|
/drivers/media/i2c/m5mols/ |
D | m5mols_core.c | 929 unsigned long gpio_flags; in m5mols_probe() local 956 gpio_flags = pdata->reset_polarity in m5mols_probe() 958 ret = devm_gpio_request_one(&client->dev, pdata->gpio_reset, gpio_flags, in m5mols_probe()
|
/drivers/usb/gadget/udc/ |
D | pxa27x_udc.c | 2437 unsigned long gpio_flags; in pxa_udc_probe() local 2440 gpio_flags = mach->gpio_pullup_inverted ? GPIOF_ACTIVE_LOW : 0; in pxa_udc_probe() 2444 gpio_flags, in pxa_udc_probe()
|