Home
last modified time | relevance | path

Searched refs:chg_regs (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dcharger-manager.c1347 struct charger_regulator *chg_regs; in of_cm_parse_desc() local
1350 chg_regs = devm_kcalloc(dev, in of_cm_parse_desc()
1352 sizeof(*chg_regs), in of_cm_parse_desc()
1354 if (!chg_regs) in of_cm_parse_desc()
1357 desc->charger_regulators = chg_regs; in of_cm_parse_desc()
1371 &chg_regs->regulator_name); in of_cm_parse_desc()
1374 chg_regs->num_cables = of_get_child_count(child); in of_cm_parse_desc()
1375 if (chg_regs->num_cables) { in of_cm_parse_desc()
1377 chg_regs->num_cables, in of_cm_parse_desc()
1385 chg_regs->cables = cables; in of_cm_parse_desc()
[all …]