Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/regulator/
Ddbx500-prcmu.c71 int num_regulators; member
94 for (i = 0; i < rdebug.num_regulators; i++) { in ux500_regulator_status_show()
114 int num_regulators) in ux500_regulator_debug_init() argument
128 rdebug.num_regulators = num_regulators; in ux500_regulator_debug_init()
130 rdebug.state_before_suspend = kzalloc(num_regulators, GFP_KERNEL); in ux500_regulator_debug_init()
134 rdebug.state_after_suspend = kzalloc(num_regulators, GFP_KERNEL); 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.c106 int num_regulators = 0; in rn5t618_regulator_probe() local
111 num_regulators = ARRAY_SIZE(rn5t567_regulators); in rn5t618_regulator_probe()
115 num_regulators = ARRAY_SIZE(rn5t618_regulators); in rn5t618_regulator_probe()
119 num_regulators = ARRAY_SIZE(rc5t619_regulators); in rn5t618_regulator_probe()
128 for (i = 0; i < num_regulators; i++) { in rn5t618_regulator_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.h37 int num_regulators);
44 int num_regulators) in ux500_regulator_debug_init() argument
Dmc13xxx.h26 int num_regulators; member
37 int num_regulators);
46 int num_regulators) in mc13xxx_parse_regulators_dt() argument
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()
437 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_regulator_config_ext_control()
542 pdata->num_regulators = of_get_child_count(regulators_np); in s5m8767_pmic_dt_parse_pdata()
545 pdata->num_regulators, sizeof(*rdata), in s5m8767_pmic_dt_parse_pdata()
553 pdata->num_regulators, sizeof(*rmode), in s5m8767_pmic_dt_parse_pdata()
737 s5m8767->num_regulators = pdata->num_regulators; in s5m8767_pmic_probe()
927 for (i = 0; i < pdata->num_regulators; i++) { in s5m8767_pmic_probe()
Dact8945a-regulator.c280 int i, num_regulators; in act8945a_pmic_probe() local
299 num_regulators = ARRAY_SIZE(act8945a_alt_regulators); in act8945a_pmic_probe()
302 num_regulators = ARRAY_SIZE(act8945a_regulators); in act8945a_pmic_probe()
308 for (i = 0; i < num_regulators; i++) { in act8945a_pmic_probe()
Dact8865-regulator.c567 for (i = 0; i < pdata->num_regulators; i++) { in act8865_get_regulator_data()
660 int i, ret, num_regulators; in act8865_pmic_probe() local
687 num_regulators = ARRAY_SIZE(act8600_regulators); in act8865_pmic_probe()
694 num_regulators = ARRAY_SIZE(act8846_regulators); in act8865_pmic_probe()
702 num_regulators = ARRAY_SIZE(act8865_alt_regulators); in act8865_pmic_probe()
705 num_regulators = ARRAY_SIZE(act8865_regulators); in act8865_pmic_probe()
739 for (i = 0; i < num_regulators; i++) { in act8865_pmic_probe()
D88pm800-regulator.c234 if (pdata && pdata->num_regulators) { in pm800_regulator_probe()
242 if (count != pdata->num_regulators) in pm800_regulator_probe()
251 if (pdata && pdata->num_regulators) { in pm800_regulator_probe()
Dmax8998.c28 int num_regulators; member
588 pdata->num_regulators = of_get_child_count(regulators_np); in max8998_pmic_dt_parse_pdata()
591 pdata->num_regulators, sizeof(*rdata), in max8998_pmic_dt_parse_pdata()
612 pdata->num_regulators = rdata - pdata->regulators; in max8998_pmic_dt_parse_pdata()
690 max8998->num_regulators = pdata->num_regulators; in max8998_pmic_probe()
776 for (i = 0; i < pdata->num_regulators; i++) { in max8998_pmic_probe()
Dtps65910-regulator.c313 int num_regulators; member
1110 pmic->num_regulators = ARRAY_SIZE(tps65910_regs); in tps65910_probe()
1123 pmic->num_regulators = ARRAY_SIZE(tps65911_regs); in tps65910_probe()
1133 pmic->num_regulators, in tps65910_probe()
1140 pmic->num_regulators, in tps65910_probe()
1147 pmic->num_regulators, in tps65910_probe()
1153 for (i = 0; i < pmic->num_regulators; i++, info++) { in tps65910_probe()
1243 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.c106 int num_regulators; member
759 for (i = 0; i < lp->num_regulators; i++) { in lp872x_find_regulator_init_data()
774 for (i = 0; i < lp->num_regulators; i++) { in lp872x_regulator_register()
913 lp->num_regulators = lp872x_num_regulators[id->driver_data]; in lp872x_probe()
/Linux-v5.15/include/linux/regulator/
Dlp3971.h34 int num_regulators; member
Dlp3972.h31 int num_regulators; member
Dact8865.h79 int num_regulators; member
/Linux-v5.15/include/linux/
Dpmbus.h80 int num_regulators; member
/Linux-v5.15/include/linux/mfd/
Dmax8998.h88 int num_regulators; member
Dmax8997.h171 int num_regulators; member
Dmc13xxx.h88 int num_regulators; member
D88pm80x.h315 unsigned int num_regulators; member
/Linux-v5.15/include/linux/mfd/samsung/
Dcore.h81 int num_regulators; member
/Linux-v5.15/drivers/hwmon/pmbus/
Dltc2978.c829 info->num_regulators = info->pages; in ltc2978_probe()
831 if (info->num_regulators > ARRAY_SIZE(ltc2978_reg_desc)) { in ltc2978_probe()
833 info->num_regulators = ARRAY_SIZE(ltc2978_reg_desc); in ltc2978_probe()

12