Home
last modified time | relevance | path

Searched refs:ena_gpiod (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/regulator/
H A Dlp8788-ldo.c114 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 Dgpio-regulator.c343 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 Dtps65090-regulator.c453 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 Dda9121-regulator.c382 struct gpio_desc *ena_gpiod; in da9121_of_parse_cb() local
399 ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(np), "enable", 0, in da9121_of_parse_cb()
403 if (!IS_ERR(ena_gpiod)) { in da9121_of_parse_cb()
405 gpiod_put(ena_gpiod); in da9121_of_parse_cb()
409 config->ena_gpiod = ena_gpiod; in da9121_of_parse_cb()
H A Dmt6370-regulator.c161 config->ena_gpiod = NULL; in mt6370_of_parse_cb()
177 config->ena_gpiod = enable_gpio; in mt6370_of_parse_cb()
H A Dwm8994-regulator.c184 config.ena_gpiod = gpiod; in wm8994_ldo_probe()
H A Dlm363x-regulator.c335 cfg.ena_gpiod = gpiod; in lm363x_regulator_probe()
H A Dadp5055-regulator.c215 config->ena_gpiod = adp5055->en_gpiod[id]; in adp5055_of_parse_cb()
H A Dda9055-regulator.c437 config->ena_gpiod = ena; in da9055_gpio_init()
H A Dcore.c2845 gpiod = config->ena_gpiod; in regulator_ena_gpio_request()
6017 if (cfg->ena_gpiod) in regulator_register()
6100 if (!cfg->ena_gpiod && config->ena_gpiod) in regulator_register()
6150 if (config->ena_gpiod) { in regulator_register()
6273 gpiod_put(config->ena_gpiod); in regulator_register()
6278 gpiod_put(cfg->ena_gpiod); in regulator_register()
/linux/drivers/platform/x86/intel/int3472/
H A Dclk_and_regulator.c242 cfg.ena_gpiod = gpio; in skl_int3472_register_regulator()
/linux/drivers/power/supply/
H A Drt9467-charger.c290 cfg->ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(of), in rt9467_otg_of_parse_cb()
294 if (IS_ERR(cfg->ena_gpiod)) { in rt9467_otg_of_parse_cb()
295 cfg->ena_gpiod = NULL; in rt9467_otg_of_parse_cb()