Lines Matching refs:cur_temp
110 int cur_temp = 0; in get_cur_temp() local
120 cur_temp = readl(®->current_temp) & 0xff; in get_cur_temp()
121 } while ((cur_temp == 0) || (get_timer(start) > 100)); in get_cur_temp()
124 if (cur_temp == 0) in get_cur_temp()
125 return cur_temp; in get_cur_temp()
128 cur_temp = cur_temp - info->te1 + info->dc_value; in get_cur_temp()
130 return cur_temp; in get_cur_temp()
141 int cur_temp; in tmu_monitor() local
148 cur_temp = get_cur_temp(&gbl_info); in tmu_monitor()
150 if (!cur_temp) in tmu_monitor()
153 *temp = cur_temp; in tmu_monitor()
156 if ((cur_temp >= data->ts.start_tripping) && in tmu_monitor()
157 (cur_temp <= data->ts.max_val)) in tmu_monitor()
160 if (cur_temp >= data->ts.start_warning) in tmu_monitor()
163 if ((cur_temp < data->ts.start_warning) && in tmu_monitor()
164 (cur_temp >= data->ts.min_val)) in tmu_monitor()