• Home
  • Raw
  • Download

Lines Matching refs:regulators

417 	struct device_node *np, *regulators;  in axp20x_regulator_parse_dt()  local
425 regulators = of_get_child_by_name(np, "regulators"); in axp20x_regulator_parse_dt()
426 if (!regulators) { in axp20x_regulator_parse_dt()
429 of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq); in axp20x_regulator_parse_dt()
436 of_node_put(regulators); in axp20x_regulator_parse_dt()
518 const struct regulator_desc *regulators; in axp20x_regulator_probe() local
533 regulators = axp20x_regulators; in axp20x_regulator_probe()
538 regulators = axp22x_regulators; in axp20x_regulator_probe()
544 regulators = axp806_regulators; in axp20x_regulator_probe()
548 regulators = axp809_regulators; in axp20x_regulator_probe()
561 const struct regulator_desc *desc = &regulators[i]; in axp20x_regulator_probe()
581 if ((regulators == axp22x_regulators && i == AXP22X_DC1SW) || in axp20x_regulator_probe()
582 (regulators == axp809_regulators && i == AXP809_DC1SW)) { in axp20x_regulator_probe()
585 *new_desc = regulators[i]; in axp20x_regulator_probe()
590 if ((regulators == axp22x_regulators && i == AXP22X_DC5LDO) || in axp20x_regulator_probe()
591 (regulators == axp809_regulators && i == AXP809_DC5LDO)) { in axp20x_regulator_probe()
594 *new_desc = regulators[i]; in axp20x_regulator_probe()
602 regulators[i].name); in axp20x_regulator_probe()
619 if ((regulators == axp22x_regulators && i == AXP22X_DCDC1) || in axp20x_regulator_probe()
620 (regulators == axp809_regulators && i == AXP809_DCDC1)) in axp20x_regulator_probe()
625 if ((regulators == axp22x_regulators && i == AXP22X_DCDC5) || in axp20x_regulator_probe()
626 (regulators == axp809_regulators && i == AXP809_DCDC5)) in axp20x_regulator_probe()