/linux/drivers/regulator/ |
A D | dbx500-prcmu.c | 71 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()
|
A D | mc13783-regulator.c | 399 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()
|
A D | mc13892-regulator.c | 536 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()
|
A D | rn5t618-regulator.c | 106 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()
|
A D | mc13xxx-regulator-core.c | 160 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()
|
A D | dbx500-prcmu.h | 37 int num_regulators); 44 int num_regulators) in ux500_regulator_debug_init() argument
|
A D | mc13xxx.h | 26 int num_regulators; member 37 int num_regulators); 46 int num_regulators) in mc13xxx_parse_regulators_dt() argument
|
A D | s5m8767.c | 23 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() 924 for (i = 0; i < pdata->num_regulators; i++) { in s5m8767_pmic_probe()
|
A D | act8945a-regulator.c | 280 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()
|
A D | act8865-regulator.c | 567 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()
|
A D | max8998.c | 28 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()
|
A D | 88pm800-regulator.c | 234 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()
|
A D | tps65910-regulator.c | 313 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()
|
A D | max8997-regulator.c | 26 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()
|
A D | lp872x.c | 105 int num_regulators; member 754 for (i = 0; i < lp->num_regulators; i++) { in lp872x_find_regulator_init_data() 769 for (i = 0; i < lp->num_regulators; i++) { in lp872x_regulator_register() 905 lp->num_regulators = lp872x_num_regulators[id->driver_data]; in lp872x_probe()
|
/linux/include/linux/regulator/ |
A D | lp3971.h | 34 int num_regulators; member
|
A D | lp3972.h | 31 int num_regulators; member
|
A D | act8865.h | 79 int num_regulators; member
|
/linux/include/linux/ |
A D | pmbus.h | 80 int num_regulators; member
|
/linux/include/linux/mfd/ |
A D | max8998.h | 88 int num_regulators; member
|
A D | max8997.h | 171 int num_regulators; member
|
A D | mc13xxx.h | 88 int num_regulators; member
|
A D | 88pm80x.h | 315 unsigned int num_regulators; member
|
/linux/include/linux/mfd/samsung/ |
A D | core.h | 81 int num_regulators; member
|
/linux/drivers/hwmon/pmbus/ |
A D | ltc2978.c | 829 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()
|