Lines Matching defs:temp
81 int temp;
655 if (di->batt_data.temp > (bi->temp_alert_min + di->t_hyst_norm) &&
656 di->batt_data.temp < (bi->temp_alert_max - di->t_hyst_norm)) {
664 if ((di->batt_data.temp >= bi->temp_alert_max) &&
665 (di->batt_data.temp < (bi->temp_max - di->t_hyst_lowhigh))) {
671 } else if ((di->batt_data.temp > (bi->temp_min + di->t_hyst_lowhigh)) &&
672 (di->batt_data.temp <= bi->temp_alert_min)) {
678 } else if (di->batt_data.temp <= bi->temp_min ||
679 di->batt_data.temp >= bi->temp_max) {
688 dev_dbg(di->dev, "Within hysteresis limit temp: %d "
690 di->batt_data.temp, di->t_hyst_lowhigh,
1124 di->batt_data.temp = ret.intval / 10;
1305 /* Battery temp over/under */
1317 /* Battery temp high/low */
1331 di->batt_data.temp,
1540 dev_err(di->dev, "neither low or high temp event occurred\n");
1671 if (di->batt_data.temp <= di->bm->bi->temp_min)