Lines Matching refs:charger_regulators
393 if (desc->charger_regulators[i].externally_control)
396 err = regulator_enable(desc->charger_regulators[i].consumer);
399 desc->charger_regulators[i].regulator_name);
411 if (desc->charger_regulators[i].externally_control)
414 err = regulator_disable(desc->charger_regulators[i].consumer);
417 desc->charger_regulators[i].regulator_name);
427 desc->charger_regulators[i].consumer)) {
429 desc->charger_regulators[i].consumer);
431 desc->charger_regulators[i].regulator_name);
1038 charger = &desc->charger_regulators[i];
1129 if (&desc->charger_regulators[i] != charger &&
1130 !desc->charger_regulators[i].externally_control) {
1180 charger = &desc->charger_regulators[i];
1214 if (!desc->charger_regulators[i].externally_control ||
1357 desc->charger_regulators = chg_regs;
1472 if (!desc->charger_regulators || desc->num_charger_regulators < 1) {
1473 dev_err(&pdev->dev, "charger_regulators undefined\n");
1626 regulator_put(desc->charger_regulators[i].consumer);
1648 regulator_put(desc->charger_regulators[i].consumer);