Lines Matching refs:regulators
855 static struct regulator_desc regulators[] = { variable
942 pdata->regulators = rdata; in max8997_pmic_dt_parse_pdata()
944 for (i = 0; i < ARRAY_SIZE(regulators); i++) in max8997_pmic_dt_parse_pdata()
945 if (!of_node_cmp(reg_np->name, regulators[i].name)) in max8997_pmic_dt_parse_pdata()
948 if (i == ARRAY_SIZE(regulators)) { in max8997_pmic_dt_parse_pdata()
957 ®ulators[i]); in max8997_pmic_dt_parse_pdata()
1183 int id = pdata->regulators[i].id; in max8997_pmic_probe()
1187 regulators[id].n_voltages = in max8997_pmic_probe()
1190 regulators[id].volt_table = safeoutvolt; in max8997_pmic_probe()
1191 regulators[id].n_voltages = ARRAY_SIZE(safeoutvolt); in max8997_pmic_probe()
1193 regulators[id].n_voltages = 16; in max8997_pmic_probe()
1197 config.init_data = pdata->regulators[i].initdata; in max8997_pmic_probe()
1199 config.of_node = pdata->regulators[i].reg_node; in max8997_pmic_probe()
1201 rdev = devm_regulator_register(&pdev->dev, ®ulators[id], in max8997_pmic_probe()