Lines Matching refs:regulators
281 struct device_node *np, *regulators; in axp20x_regulator_parse_dt() local
289 regulators = of_get_child_by_name(np, "regulators"); in axp20x_regulator_parse_dt()
290 if (!regulators) { in axp20x_regulator_parse_dt()
293 of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq); in axp20x_regulator_parse_dt()
300 of_node_put(regulators); in axp20x_regulator_parse_dt()
345 const struct regulator_desc *regulators; in axp20x_regulator_probe() local
359 regulators = axp20x_regulators; in axp20x_regulator_probe()
363 regulators = axp22x_regulators; in axp20x_regulator_probe()
376 const struct regulator_desc *desc = ®ulators[i]; in axp20x_regulator_probe()
388 if (regulators == axp22x_regulators) { in axp20x_regulator_probe()
393 *new_desc = regulators[i]; in axp20x_regulator_probe()
400 *new_desc = regulators[i]; in axp20x_regulator_probe()
409 regulators[i].name); in axp20x_regulator_probe()
426 if (regulators == axp22x_regulators) { in axp20x_regulator_probe()