Searched refs:ena_gpiod (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.4/drivers/regulator/ |
D | arizona-ldo1.c | 39 struct gpio_desc *ena_gpiod; member 260 config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena", in arizona_ldo1_common_init() 262 if (IS_ERR(config.ena_gpiod)) in arizona_ldo1_common_init() 263 return PTR_ERR(config.ena_gpiod); in arizona_ldo1_common_init() 265 ldo1->ena_gpiod = config.ena_gpiod; in arizona_ldo1_common_init() 346 if (ldo1->ena_gpiod) in arizona_ldo1_remove() 347 gpiod_put(ldo1->ena_gpiod); in arizona_ldo1_remove()
|
D | lp8788-ldo.c | 114 struct gpio_desc *ena_gpiod; member 505 ldo->ena_gpiod = gpiod_get_index_optional(&pdev->dev, in lp8788_config_ldo_enable_mode() 510 if (IS_ERR(ldo->ena_gpiod)) in lp8788_config_ldo_enable_mode() 511 return PTR_ERR(ldo->ena_gpiod); in lp8788_config_ldo_enable_mode() 514 if (!ldo->ena_gpiod) in lp8788_config_ldo_enable_mode() 541 if (ldo->ena_gpiod) in lp8788_dldo_probe() 542 cfg.ena_gpiod = ldo->ena_gpiod; in lp8788_dldo_probe() 588 if (ldo->ena_gpiod) in lp8788_aldo_probe() 589 cfg.ena_gpiod = ldo->ena_gpiod; in lp8788_aldo_probe()
|
D | max77686-regulator.c | 259 config->ena_gpiod = gpiod_get_from_of_node(np, in max77686_of_parse_cb() 264 if (IS_ERR(config->ena_gpiod)) in max77686_of_parse_cb() 265 config->ena_gpiod = NULL; in max77686_of_parse_cb() 271 if (config->ena_gpiod) { in max77686_of_parse_cb() 278 gpiod_put(config->ena_gpiod); in max77686_of_parse_cb() 279 config->ena_gpiod = NULL; in max77686_of_parse_cb()
|
D | slg51000-regulator.c | 202 struct gpio_desc *ena_gpiod; in slg51000_of_parse_cb() local 205 ena_gpiod = devm_gpiod_get_from_of_node(chip->dev, np, in slg51000_of_parse_cb() 208 if (!IS_ERR(ena_gpiod)) { in slg51000_of_parse_cb() 209 config->ena_gpiod = ena_gpiod; in slg51000_of_parse_cb() 210 devm_gpiod_unhinge(chip->dev, config->ena_gpiod); in slg51000_of_parse_cb()
|
D | fixed.c | 235 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe() 236 if (IS_ERR(cfg.ena_gpiod)) in reg_fixed_voltage_probe() 237 return PTR_ERR(cfg.ena_gpiod); in reg_fixed_voltage_probe()
|
D | da9211-regulator.c | 384 config.ena_gpiod = chip->pdata->gpiod_ren[i]; in da9211_regulator_init() 386 config.ena_gpiod = NULL; in da9211_regulator_init() 392 if (config.ena_gpiod) in da9211_regulator_init() 393 devm_gpiod_unhinge(chip->dev, config.ena_gpiod); in da9211_regulator_init()
|
D | gpio-regulator.c | 321 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe() 322 if (IS_ERR(cfg.ena_gpiod)) in gpio_regulator_probe() 323 return PTR_ERR(cfg.ena_gpiod); in gpio_regulator_probe()
|
D | tps65090-regulator.c | 449 config.ena_gpiod = tps_pdata->gpiod; in tps65090_regulator_probe() 478 if (config.ena_gpiod) in tps65090_regulator_probe() 479 devm_gpiod_unhinge(&pdev->dev, config.ena_gpiod); in tps65090_regulator_probe()
|
D | wm8994-regulator.c | 155 config.ena_gpiod = gpiod; in wm8994_ldo_probe()
|
D | max8973-regulator.c | 768 config.ena_gpiod = gpiod; in max8973_probe() 816 if (config.ena_gpiod) in max8973_probe() 817 devm_gpiod_unhinge(&client->dev, config.ena_gpiod); in max8973_probe()
|
D | s5m8767.c | 458 config->ena_gpiod = rdata->ext_control_gpiod; in s5m8767_regulator_config_ext_control() 956 config.ena_gpiod = NULL; in s5m8767_pmic_probe() 966 devm_gpiod_unhinge(s5m8767->dev, config.ena_gpiod); in s5m8767_pmic_probe()
|
D | s2mps11.c | 1213 config.ena_gpiod = s2mps11->ext_control_gpiod[i]; in s2mps11_pmic_probe() 1218 if (config.ena_gpiod) in s2mps11_pmic_probe() 1219 devm_gpiod_unhinge(&pdev->dev, config.ena_gpiod); in s2mps11_pmic_probe() 1229 if (config.ena_gpiod) { in s2mps11_pmic_probe()
|
D | lm363x-regulator.c | 335 cfg.ena_gpiod = gpiod; in lm363x_regulator_probe()
|
D | max8952.c | 226 config.ena_gpiod = gpiod; in max8952_pmic_probe()
|
D | core.c | 2221 gpiod = config->ena_gpiod; in regulator_ena_gpio_request() 4998 if (cfg->ena_gpiod) in regulator_register() 5077 if (!cfg->ena_gpiod && config->ena_gpiod) in regulator_register() 5106 if (config->ena_gpiod) { in regulator_register() 5207 gpiod_put(config->ena_gpiod); in regulator_register() 5212 gpiod_put(cfg->ena_gpiod); in regulator_register()
|
D | da9055-regulator.c | 430 config->ena_gpiod = pdata->ena_gpiods[id]; in da9055_gpio_init()
|
/Linux-v5.4/include/linux/regulator/ |
D | driver.h | 418 struct gpio_desc *ena_gpiod; member
|