Lines Matching refs:charger_regulators
393 if (desc->charger_regulators[i].externally_control) in try_charger_enable()
396 err = regulator_enable(desc->charger_regulators[i].consumer); in try_charger_enable()
399 desc->charger_regulators[i].regulator_name); in try_charger_enable()
411 if (desc->charger_regulators[i].externally_control) in try_charger_enable()
414 err = regulator_disable(desc->charger_regulators[i].consumer); in try_charger_enable()
417 desc->charger_regulators[i].regulator_name); in try_charger_enable()
427 desc->charger_regulators[i].consumer)) { in try_charger_enable()
429 desc->charger_regulators[i].consumer); in try_charger_enable()
431 desc->charger_regulators[i].regulator_name); in try_charger_enable()
1038 charger = &desc->charger_regulators[i]; in charger_manager_register_extcon()
1129 if (&desc->charger_regulators[i] != charger && in charger_externally_control_store()
1130 !desc->charger_regulators[i].externally_control) { in charger_externally_control_store()
1180 charger = &desc->charger_regulators[i]; in charger_manager_prepare_sysfs()
1214 if (!desc->charger_regulators[i].externally_control || in charger_manager_prepare_sysfs()
1357 desc->charger_regulators = chg_regs; in of_cm_parse_desc()
1472 if (!desc->charger_regulators || desc->num_charger_regulators < 1) { in charger_manager_probe()
1626 regulator_put(desc->charger_regulators[i].consumer); in charger_manager_probe()
1648 regulator_put(desc->charger_regulators[i].consumer); in charger_manager_remove()