Lines Matching defs:regulators

2  * AXP20x regulators driver.
357 .regulators_node = of_match_ptr("regulators"), \
379 .regulators_node = of_match_ptr("regulators"), \
398 .regulators_node = of_match_ptr("regulators"), \
412 .regulators_node = of_match_ptr("regulators"), \
427 .regulators_node = of_match_ptr("regulators"), \
711 .regulators_node = of_match_ptr("regulators"),
1374 struct device_node *np, *regulators;
1382 regulators = of_get_child_by_name(np, "regulators");
1383 if (!regulators) {
1384 dev_warn(&pdev->dev, "regulators node not found\n");
1386 of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq);
1391 of_node_put(regulators);
1478 * AXP813 and AXP15060 have polyphase regulators.
1532 const struct regulator_desc *regulators;
1548 regulators = axp20x_regulators;
1553 regulators = axp22x_regulators;
1559 regulators = axp313a_regulators;
1563 regulators = axp717_regulators;
1567 regulators = axp803_regulators;
1573 regulators = axp806_regulators;
1577 regulators = axp809_regulators;
1581 regulators = axp813_regulators;
1587 regulators = axp15060_regulators;
1600 const struct regulator_desc *desc = &regulators[i];
1620 * We always register the regulators in proper sequence,
1625 if ((regulators == axp22x_regulators && i == AXP22X_DC1SW) ||
1626 (regulators == axp803_regulators && i == AXP803_DC1SW) ||
1627 (regulators == axp809_regulators && i == AXP809_DC1SW) ||
1628 (regulators == axp15060_regulators && i == AXP15060_SW)) {
1634 *new_desc = regulators[i];
1639 if ((regulators == axp22x_regulators && i == AXP22X_DC5LDO) ||
1640 (regulators == axp809_regulators && i == AXP809_DC5LDO) ||
1641 (regulators == axp15060_regulators && i == AXP15060_CPUSLDO)) {
1647 *new_desc = regulators[i];
1653 if (regulators == axp15060_regulators && i == AXP15060_RTC_LDO) {
1659 *new_desc = regulators[i];
1667 regulators[i].name);
1684 if ((regulators == axp22x_regulators && i == AXP22X_DCDC1) ||
1685 (regulators == axp809_regulators && i == AXP809_DCDC1) ||
1686 (regulators == axp15060_regulators && i == AXP15060_DCDC1))
1691 if ((regulators == axp22x_regulators && i == AXP22X_DCDC5) ||
1692 (regulators == axp809_regulators && i == AXP809_DCDC5) ||
1693 (regulators == axp15060_regulators && i == AXP15060_DCDC5))
1698 if (regulators == axp15060_regulators && i == AXP15060_ALDO1)