Lines Matching refs:regulators
472 static struct regulator_desc regulators[] = { variable
681 pdata->regulators = rdata; in max8998_pmic_dt_parse_pdata()
682 for (i = 0; i < ARRAY_SIZE(regulators); ++i) { in max8998_pmic_dt_parse_pdata()
684 regulators[i].name); in max8998_pmic_dt_parse_pdata()
688 rdata->id = regulators[i].id; in max8998_pmic_dt_parse_pdata()
691 ®ulators[i]); in max8998_pmic_dt_parse_pdata()
695 pdata->num_regulators = rdata - pdata->regulators; in max8998_pmic_dt_parse_pdata()
857 int id = pdata->regulators[i].id; in max8998_pmic_probe()
861 if (desc && regulators[index].ops != &max8998_others_ops) { in max8998_pmic_probe()
864 regulators[index].n_voltages = count; in max8998_pmic_probe()
865 regulators[index].min_uV = desc->min; in max8998_pmic_probe()
866 regulators[index].uV_step = desc->step; in max8998_pmic_probe()
870 config.of_node = pdata->regulators[i].reg_node; in max8998_pmic_probe()
871 config.init_data = pdata->regulators[i].initdata; in max8998_pmic_probe()
874 rdev = devm_regulator_register(&pdev->dev, ®ulators[index], in max8998_pmic_probe()
879 regulators[index].name, ret); in max8998_pmic_probe()