Lines Matching full:temp
92 u32 attr, int channel, long *temp) in tmp108_read() argument
107 *temp = 4000; in tmp108_read()
110 *temp = 1000; in tmp108_read()
113 *temp = 250; in tmp108_read()
116 *temp = 63; in tmp108_read()
135 *temp = tmp108_temp_reg_to_mC(regval); in tmp108_read()
143 *temp = tmp108_temp_reg_to_mC(regval); in tmp108_read()
150 *temp = !!(regval & (attr == hwmon_temp_min_alarm ? in tmp108_read()
177 *temp = tmp108_temp_reg_to_mC(regval); in tmp108_read()
179 *temp += hyst; in tmp108_read()
181 *temp -= hyst; in tmp108_read()
191 u32 attr, int channel, long temp) in tmp108_write() argument
199 if (temp < 156) in tmp108_write()
201 else if (temp < 625) in tmp108_write()
203 else if (temp < 2500) in tmp108_write()
218 temp = clamp_val(temp, TMP108_TEMP_MIN_MC, TMP108_TEMP_MAX_MC); in tmp108_write()
222 tmp108_mC_to_temp_reg(temp)); in tmp108_write()
225 temp = clamp_val(temp, TMP108_TEMP_MIN_MC, TMP108_TEMP_MAX_MC); in tmp108_write()
233 temp -= tmp108_temp_reg_to_mC(regval); in tmp108_write()
235 temp = tmp108_temp_reg_to_mC(regval) - temp; in tmp108_write()
236 if (temp < 500) in tmp108_write()
238 else if (temp < 1500) in tmp108_write()
240 else if (temp < 3000) in tmp108_write()
278 HWMON_CHANNEL_INFO(temp,