/linux/drivers/regulator/ |
A 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()
|
A 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()
|
A D | max77686-regulator.c | 227 config->ena_gpiod = fwnode_gpiod_get_index( in max77686_of_parse_cb() 233 if (IS_ERR(config->ena_gpiod)) in max77686_of_parse_cb() 234 config->ena_gpiod = NULL; in max77686_of_parse_cb() 240 if (config->ena_gpiod) { in max77686_of_parse_cb() 247 gpiod_put(config->ena_gpiod); in max77686_of_parse_cb() 248 config->ena_gpiod = NULL; in max77686_of_parse_cb()
|
A D | slg51000-regulator.c | 201 struct gpio_desc *ena_gpiod; in slg51000_of_parse_cb() local 203 ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(np), "enable", 0, in slg51000_of_parse_cb() 207 if (!IS_ERR(ena_gpiod)) in slg51000_of_parse_cb() 208 config->ena_gpiod = ena_gpiod; in slg51000_of_parse_cb()
|
A D | fixed.c | 277 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe() 278 if (IS_ERR(cfg.ena_gpiod)) in reg_fixed_voltage_probe() 279 return dev_err_probe(&pdev->dev, PTR_ERR(cfg.ena_gpiod), in reg_fixed_voltage_probe()
|
A D | da9211-regulator.c | 412 config.ena_gpiod = chip->pdata->gpiod_ren[i]; in da9211_regulator_init() 414 config.ena_gpiod = NULL; in da9211_regulator_init() 420 if (config.ena_gpiod) in da9211_regulator_init() 421 devm_gpiod_unhinge(chip->dev, config.ena_gpiod); in da9211_regulator_init()
|
A D | gpio-regulator.c | 328 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe() 329 if (IS_ERR(cfg.ena_gpiod)) in gpio_regulator_probe() 330 return PTR_ERR(cfg.ena_gpiod); in gpio_regulator_probe()
|
A D | tps65090-regulator.c | 453 config.ena_gpiod = tps_pdata->gpiod; in tps65090_regulator_probe() 482 if (config.ena_gpiod) in tps65090_regulator_probe() 483 devm_gpiod_unhinge(&pdev->dev, config.ena_gpiod); in tps65090_regulator_probe()
|
A D | da9121-regulator.c | 360 struct gpio_desc *ena_gpiod; in da9121_of_parse_cb() local 377 ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(np), "enable", 0, in da9121_of_parse_cb() 381 if (!IS_ERR(ena_gpiod)) in da9121_of_parse_cb() 382 config->ena_gpiod = ena_gpiod; in da9121_of_parse_cb()
|
A D | max8973-regulator.c | 749 config.ena_gpiod = gpiod; in max8973_probe() 797 if (config.ena_gpiod) in max8973_probe() 798 devm_gpiod_unhinge(&client->dev, config.ena_gpiod); in max8973_probe()
|
A D | wm8994-regulator.c | 155 config.ena_gpiod = gpiod; in wm8994_ldo_probe()
|
A D | s5m8767.c | 458 config->ena_gpiod = rdata->ext_control_gpiod; in s5m8767_regulator_config_ext_control() 959 config.ena_gpiod = NULL; in s5m8767_pmic_probe() 969 devm_gpiod_unhinge(s5m8767->dev, config.ena_gpiod); in s5m8767_pmic_probe()
|
A D | s2mps11.c | 1194 config.ena_gpiod = s2mps11->ext_control_gpiod[i]; in s2mps11_pmic_probe() 1199 if (config.ena_gpiod) in s2mps11_pmic_probe() 1200 devm_gpiod_unhinge(&pdev->dev, config.ena_gpiod); in s2mps11_pmic_probe() 1210 if (config.ena_gpiod) { in s2mps11_pmic_probe()
|
A D | bd71815-regulator.c | 601 config.ena_gpiod = ldo4_en; in bd7181x_probe() 603 config.ena_gpiod = NULL; in bd7181x_probe()
|
A D | lm363x-regulator.c | 335 cfg.ena_gpiod = gpiod; in lm363x_regulator_probe()
|
A D | max8952.c | 226 config.ena_gpiod = gpiod; in max8952_pmic_probe()
|
A D | bd9576-regulator.c | 962 config.ena_gpiod = en; in bd957x_probe() 1049 config.ena_gpiod = NULL; in bd957x_probe()
|
A D | core.c | 2419 gpiod = config->ena_gpiod; in regulator_ena_gpio_request() 5333 if (cfg->ena_gpiod) in regulator_register() 5411 if (!cfg->ena_gpiod && config->ena_gpiod) in regulator_register() 5440 if (config->ena_gpiod) { in regulator_register() 5550 gpiod_put(config->ena_gpiod); in regulator_register() 5555 gpiod_put(cfg->ena_gpiod); in regulator_register()
|
A D | da9055-regulator.c | 430 config->ena_gpiod = pdata->ena_gpiods[id]; in da9055_gpio_init()
|
/linux/drivers/platform/x86/intel/int3472/ |
A D | intel_skl_int3472_clk_and_regulator.c | 186 cfg.ena_gpiod = int3472->regulator.gpio; in skl_int3472_register_regulator()
|
/linux/include/linux/regulator/ |
A D | driver.h | 452 struct gpio_desc *ena_gpiod; member
|