Searched refs:ena_gpiod (Results 1 – 19 of 19) sorted by relevance
| /linux/drivers/regulator/ |
| H 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() 589 if (ldo->ena_gpiod) in lp8788_aldo_probe() 590 cfg.ena_gpiod = ldo->ena_gpiod; in lp8788_aldo_probe()
|
| H A D | max20086-regulator.c | 63 struct gpio_desc *ena_gpiod; member 118 config.ena_gpiod = chip->ena_gpiod; in max20086_regulators_register() 267 chip->ena_gpiod = devm_gpiod_get_optional(chip->dev, "enable", flags); in max20086_i2c_probe() 268 if (IS_ERR(chip->ena_gpiod)) { in max20086_i2c_probe() 269 ret = PTR_ERR(chip->ena_gpiod); in max20086_i2c_probe()
|
| H 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()
|
| H 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()
|
| H 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()
|
| H A D | gpio-regulator.c | 343 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe() 344 if (IS_ERR(cfg.ena_gpiod)) in gpio_regulator_probe() 345 return PTR_ERR(cfg.ena_gpiod); in gpio_regulator_probe()
|
| H 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()
|
| H A D | mt6370-regulator.c | 162 config->ena_gpiod = NULL; in mt6370_of_parse_cb() 178 config->ena_gpiod = enable_gpio; in mt6370_of_parse_cb()
|
| H A D | max8973-regulator.c | 721 config.ena_gpiod = gpiod; in max8973_probe() 769 if (config.ena_gpiod) in max8973_probe() 770 devm_gpiod_unhinge(&client->dev, config.ena_gpiod); in max8973_probe()
|
| H A D | s5m8767.c | 459 config->ena_gpiod = rdata->ext_control_gpiod; in s5m8767_regulator_config_ext_control() 883 config.ena_gpiod = NULL; in s5m8767_pmic_probe() 893 devm_gpiod_unhinge(s5m8767->dev, config.ena_gpiod); in s5m8767_pmic_probe()
|
| H A D | wm8994-regulator.c | 184 config.ena_gpiod = gpiod; in wm8994_ldo_probe()
|
| H A D | s2mps11.c | 359 struct gpio_desc *ena_gpiod; in s2mps11_of_parse_gpiod() local 362 ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(np), con_id, 0, in s2mps11_of_parse_gpiod() 367 if (IS_ERR(ena_gpiod)) { in s2mps11_of_parse_gpiod() 368 ret = PTR_ERR(ena_gpiod); in s2mps11_of_parse_gpiod() 393 config->ena_gpiod = ena_gpiod; in s2mps11_of_parse_gpiod()
|
| H A D | lm363x-regulator.c | 335 cfg.ena_gpiod = gpiod; in lm363x_regulator_probe()
|
| H A D | max8952.c | 225 config.ena_gpiod = gpiod; in max8952_pmic_probe()
|
| H A D | bd9576-regulator.c | 974 config.ena_gpiod = en; in bd957x_probe() 1046 config.ena_gpiod = NULL; in bd957x_probe()
|
| H A D | adp5055-regulator.c | 216 config->ena_gpiod = adp5055->en_gpiod[id]; in adp5055_of_parse_cb()
|
| H A D | tps65185.c | 417 config.ena_gpiod = data->vcom_ctrl_gpio; in tps65185_probe()
|
| H A D | da9055-regulator.c | 437 config->ena_gpiod = ena; in da9055_gpio_init()
|
| /linux/drivers/platform/x86/intel/int3472/ |
| H A D | clk_and_regulator.c | 242 cfg.ena_gpiod = gpio; in skl_int3472_register_regulator()
|