Home
last modified time | relevance | path

Searched refs:num_regulators (Results 1 – 25 of 28) sorted by relevance

12

/linux-4.19.296/drivers/regulator/
Ddbx500-prcmu.c73 int num_regulators; member
110 for (i = 0; i < rdebug.num_regulators; i++) { in ux500_regulator_status_print()
142 int num_regulators) in dbx500_regulator_testcase() argument
150 int num_regulators) in ux500_regulator_debug_init() argument
172 rdebug.num_regulators = num_regulators; in ux500_regulator_debug_init()
174 rdebug.state_before_suspend = kzalloc(num_regulators, GFP_KERNEL); in ux500_regulator_debug_init()
178 rdebug.state_after_suspend = kzalloc(num_regulators, GFP_KERNEL); in ux500_regulator_debug_init()
182 dbx500_regulator_testcase(regulator_info, num_regulators); in ux500_regulator_debug_init()
Dmc13783-regulator.c399 int i, num_regulators; in mc13783_regulator_probe() local
401 num_regulators = mc13xxx_get_num_regulators_dt(pdev); in mc13783_regulator_probe()
403 if (num_regulators <= 0 && pdata) in mc13783_regulator_probe()
404 num_regulators = pdata->num_regulators; in mc13783_regulator_probe()
405 if (num_regulators <= 0) in mc13783_regulator_probe()
409 struct_size(priv, regulators, num_regulators), in mc13783_regulator_probe()
414 priv->num_regulators = num_regulators; in mc13783_regulator_probe()
422 for (i = 0; i < priv->num_regulators; i++) { in mc13783_regulator_probe()
Drn5t618-regulator.c112 int num_regulators = 0; in rn5t618_regulator_probe() local
117 num_regulators = ARRAY_SIZE(rn5t567_regulators); in rn5t618_regulator_probe()
121 num_regulators = ARRAY_SIZE(rn5t618_regulators); in rn5t618_regulator_probe()
125 num_regulators = ARRAY_SIZE(rc5t619_regulators); in rn5t618_regulator_probe()
134 for (i = 0; i < num_regulators; i++) { in rn5t618_regulator_probe()
Dact8945a-regulator.c126 int i, num_regulators; in act8945a_pmic_probe() local
134 num_regulators = ARRAY_SIZE(act8945a_alt_regulators); in act8945a_pmic_probe()
137 num_regulators = ARRAY_SIZE(act8945a_regulators); in act8945a_pmic_probe()
142 for (i = 0; i < num_regulators; i++) { in act8945a_pmic_probe()
Dmc13892-regulator.c536 int num_regulators = 0; in mc13892_regulator_probe() local
539 num_regulators = mc13xxx_get_num_regulators_dt(pdev); in mc13892_regulator_probe()
541 if (num_regulators <= 0 && pdata) in mc13892_regulator_probe()
542 num_regulators = pdata->num_regulators; in mc13892_regulator_probe()
543 if (num_regulators <= 0) in mc13892_regulator_probe()
547 struct_size(priv, regulators, num_regulators), in mc13892_regulator_probe()
552 priv->num_regulators = num_regulators; in mc13892_regulator_probe()
592 for (i = 0; i < priv->num_regulators; i++) { in mc13892_regulator_probe()
Ddbx500-prcmu.h43 int num_regulators);
50 int num_regulators) in ux500_regulator_debug_init() argument
Dmc13xxx.h30 int num_regulators; member
41 int num_regulators);
50 int num_regulators) in mc13xxx_parse_regulators_dt() argument
Dact8865-regulator.c435 pdata->num_regulators = num_matches; in act8865_pdata_from_dt()
465 for (i = 0; i < pdata->num_regulators; i++) { in act8865_get_regulator_data()
489 int i, ret, num_regulators; in act8865_pmic_probe() local
517 num_regulators = ARRAY_SIZE(act8600_regulators); in act8865_pmic_probe()
524 num_regulators = ARRAY_SIZE(act8846_regulators); in act8865_pmic_probe()
532 num_regulators = ARRAY_SIZE(act8865_alt_regulators); in act8865_pmic_probe()
535 num_regulators = ARRAY_SIZE(act8865_regulators); in act8865_pmic_probe()
577 for (i = 0; i < num_regulators; i++) { in act8865_pmic_probe()
Dmc13xxx-regulator-core.c160 int num_regulators) in mc13xxx_parse_regulators_dt() argument
174 data = devm_kcalloc(&pdev->dev, priv->num_regulators, sizeof(*data), in mc13xxx_parse_regulators_dt()
186 for (i = 0; i < num_regulators; i++) { in mc13xxx_parse_regulators_dt()
210 priv->num_regulators = parsed; in mc13xxx_parse_regulators_dt()
Ds5m8767.c23 int num_regulators; member
191 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_get_register()
198 if (i >= s5m8767->num_regulators) in s5m8767_get_register()
441 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_regulator_config_ext_control()
546 pdata->num_regulators = of_get_child_count(regulators_np); in s5m8767_pmic_dt_parse_pdata()
549 pdata->num_regulators, sizeof(*rdata), in s5m8767_pmic_dt_parse_pdata()
557 pdata->num_regulators, sizeof(*rmode), in s5m8767_pmic_dt_parse_pdata()
736 s5m8767->num_regulators = pdata->num_regulators; in s5m8767_pmic_probe()
923 for (i = 0; i < pdata->num_regulators; i++) { in s5m8767_pmic_probe()
D88pm800-regulator.c243 if (pdata && pdata->num_regulators) { in pm800_regulator_probe()
251 if (count != pdata->num_regulators) in pm800_regulator_probe()
270 if (pdata && pdata->num_regulators) { in pm800_regulator_probe()
Dmax8998.c28 int num_regulators; member
657 pdata->num_regulators = of_get_child_count(regulators_np); in max8998_pmic_dt_parse_pdata()
660 pdata->num_regulators, sizeof(*rdata), in max8998_pmic_dt_parse_pdata()
681 pdata->num_regulators = rdata - pdata->regulators; in max8998_pmic_dt_parse_pdata()
759 max8998->num_regulators = pdata->num_regulators; in max8998_pmic_probe()
841 for (i = 0; i < pdata->num_regulators; i++) { in max8998_pmic_probe()
Dtps65910-regulator.c318 int num_regulators; member
1114 pmic->num_regulators = ARRAY_SIZE(tps65910_regs); in tps65910_probe()
1127 pmic->num_regulators = ARRAY_SIZE(tps65911_regs); in tps65910_probe()
1137 pmic->num_regulators, in tps65910_probe()
1144 pmic->num_regulators, in tps65910_probe()
1151 pmic->num_regulators, in tps65910_probe()
1157 for (i = 0; i < pmic->num_regulators; i++, info++) { in tps65910_probe()
1249 for (i = 0; i < pmic->num_regulators; i++) { in tps65910_shutdown()
Dmax8997-regulator.c26 int num_regulators; member
915 pdata->num_regulators = of_get_child_count(regulators_np); in max8997_pmic_dt_parse_pdata()
918 pdata->num_regulators, sizeof(*rdata), in max8997_pmic_dt_parse_pdata()
1039 max8997->num_regulators = pdata->num_regulators; in max8997_pmic_probe()
1164 for (i = 0; i < pdata->num_regulators; i++) { in max8997_pmic_probe()
Dlp872x.c110 int num_regulators; member
813 for (i = 0; i < lp->num_regulators; i++) { in lp872x_find_regulator_init_data()
828 for (i = 0; i < lp->num_regulators; i++) { in lp872x_regulator_register()
967 lp->num_regulators = lp872x_num_regulators[id->driver_data]; in lp872x_probe()
/linux-4.19.296/include/linux/
Dpmbus.h45 int num_regulators; member
/linux-4.19.296/include/linux/regulator/
Dlp3972.h44 int num_regulators; member
Dlp3971.h47 int num_regulators; member
Dact8865.h87 int num_regulators; member
/linux-4.19.296/include/linux/mfd/
Dmax8998.h100 int num_regulators; member
Dmax8997.h184 int num_regulators; member
Dmc13xxx.h91 int num_regulators; member
D88pm80x.h318 unsigned int num_regulators; member
/linux-4.19.296/include/linux/mfd/samsung/
Dcore.h91 int num_regulators; member
/linux-4.19.296/include/media/
Dsoc_camera.h222 int num_regulators; member

12