Lines Matching defs:regulators

2  * AXP20x regulators driver.
279 .regulators_node = of_match_ptr("regulators"), \
301 .regulators_node = of_match_ptr("regulators"), \
320 .regulators_node = of_match_ptr("regulators"), \
334 .regulators_node = of_match_ptr("regulators"), \
349 .regulators_node = of_match_ptr("regulators"), \
633 .regulators_node = of_match_ptr("regulators"),
1072 struct device_node *np, *regulators;
1080 regulators = of_get_child_by_name(np, "regulators");
1081 if (!regulators) {
1082 dev_warn(&pdev->dev, "regulators node not found\n");
1084 of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq);
1089 of_node_put(regulators);
1167 * and AXP813 have polyphase regulators.
1210 const struct regulator_desc *regulators;
1225 regulators = axp20x_regulators;
1230 regulators = axp22x_regulators;
1236 regulators = axp803_regulators;
1242 regulators = axp806_regulators;
1246 regulators = axp809_regulators;
1250 regulators = axp813_regulators;
1265 const struct regulator_desc *desc = &regulators[i];
1284 * We always register the regulators in proper sequence,
1289 if ((regulators == axp22x_regulators && i == AXP22X_DC1SW) ||
1290 (regulators == axp803_regulators && i == AXP803_DC1SW) ||
1291 (regulators == axp809_regulators && i == AXP809_DC1SW)) {
1297 *new_desc = regulators[i];
1302 if ((regulators == axp22x_regulators && i == AXP22X_DC5LDO) ||
1303 (regulators == axp809_regulators && i == AXP809_DC5LDO)) {
1309 *new_desc = regulators[i];
1317 regulators[i].name);
1334 if ((regulators == axp22x_regulators && i == AXP22X_DCDC1) ||
1335 (regulators == axp809_regulators && i == AXP809_DCDC1))
1340 if ((regulators == axp22x_regulators && i == AXP22X_DCDC5) ||
1341 (regulators == axp809_regulators && i == AXP809_DCDC5))