Lines Matching defs:thresholds
100 struct da9030_battery_thresholds thresholds;
247 charger->thresholds.vbat_charge_start)) {
258 charger->thresholds.vbat_charge_stop) {
261 charger->thresholds.vbat_charge_restart);
263 charger->thresholds.vbat_low) {
268 charger->thresholds.vbat_low);
270 if (charger->adc.vchmax_res > charger->thresholds.vcharge_max ||
271 charger->adc.vchmin_res < charger->thresholds.vcharge_min ||
273 charger->adc.tbat_res < charger->thresholds.tbat_high ||
274 charger->adc.tbat_res > charger->thresholds.tbat_low) {
374 if (charger->adc.vbat_res < charger->thresholds.vbat_low) {
377 charger->thresholds.vbat_crit);
381 charger->thresholds.vbat_crit) {
414 charger->thresholds.tbat_low = pdata->tbat_low;
415 charger->thresholds.tbat_high = pdata->tbat_high;
416 charger->thresholds.tbat_restart = pdata->tbat_restart;
418 charger->thresholds.vbat_low =
420 charger->thresholds.vbat_crit =
422 charger->thresholds.vbat_charge_start =
424 charger->thresholds.vbat_charge_stop =
426 charger->thresholds.vbat_charge_restart =
429 charger->thresholds.vcharge_min =
431 charger->thresholds.vcharge_max =
454 v[0] = v[1] = charger->thresholds.vbat_low;
455 v[2] = charger->thresholds.tbat_high;
456 v[3] = charger->thresholds.tbat_restart;
457 v[4] = charger->thresholds.tbat_low;