Lines Matching refs:temp
137 int temp; in adc_to_temp() local
153 temp = 177 - (adc_val/5); in adc_to_temp()
155 temp = 111 - (adc_val/8); in adc_to_temp()
157 temp = 92 - (adc_val/10); in adc_to_temp()
159 temp = 91 - (adc_val/10); in adc_to_temp()
161 temp = 112 - (adc_val/6); in adc_to_temp()
164 *tp = temp * 1000; in adc_to_temp()
177 static int mid_read_temp(struct thermal_zone_device *tzd, int *temp) in mid_read_temp() argument
217 *temp = td_info->curr_temp = curr_temp; in mid_read_temp()
455 static int read_curr_temp(struct thermal_zone_device *tzd, int *temp) in read_curr_temp() argument
458 return mid_read_temp(tzd, temp); in read_curr_temp()