Lines Matching defs:thresholds
101 struct da9030_battery_thresholds thresholds;
258 charger->thresholds.vbat_charge_start)) {
269 charger->thresholds.vbat_charge_stop) {
272 charger->thresholds.vbat_charge_restart);
274 charger->thresholds.vbat_low) {
279 charger->thresholds.vbat_low);
281 if (charger->adc.vchmax_res > charger->thresholds.vcharge_max ||
282 charger->adc.vchmin_res < charger->thresholds.vcharge_min ||
284 charger->adc.tbat_res < charger->thresholds.tbat_high ||
285 charger->adc.tbat_res > charger->thresholds.tbat_low) {
386 if (charger->adc.vbat_res < charger->thresholds.vbat_low) {
389 charger->thresholds.vbat_crit);
393 charger->thresholds.vbat_crit) {
426 charger->thresholds.tbat_low = pdata->tbat_low;
427 charger->thresholds.tbat_high = pdata->tbat_high;
428 charger->thresholds.tbat_restart = pdata->tbat_restart;
430 charger->thresholds.vbat_low =
432 charger->thresholds.vbat_crit =
434 charger->thresholds.vbat_charge_start =
436 charger->thresholds.vbat_charge_stop =
438 charger->thresholds.vbat_charge_restart =
441 charger->thresholds.vcharge_min =
443 charger->thresholds.vcharge_max =
466 v[0] = v[1] = charger->thresholds.vbat_low;
467 v[2] = charger->thresholds.tbat_high;
468 v[3] = charger->thresholds.tbat_restart;
469 v[4] = charger->thresholds.tbat_low;