Lines Matching refs:temp
105 int chn, void __iomem *reg, int *temp);
107 int chn, void __iomem *reg, int temp);
168 int temp; member
249 int temp) in rk_tsadcv2_temp_to_code() argument
257 if (temp < table.id[low].temp || temp > table.id[high].temp) in rk_tsadcv2_temp_to_code()
261 if (temp == table.id[mid].temp) in rk_tsadcv2_temp_to_code()
263 else if (temp < table.id[mid].temp) in rk_tsadcv2_temp_to_code()
274 int *temp) in rk_tsadcv2_code_to_temp() argument
329 num = table.id[mid].temp - v2_code_table[mid - 1].temp; in rk_tsadcv2_code_to_temp()
332 *temp = table.id[mid - 1].temp + (num / denom); in rk_tsadcv2_code_to_temp()
393 int chn, void __iomem *regs, int *temp) in rk_tsadcv2_get_temp() argument
399 return rk_tsadcv2_code_to_temp(table, val, temp); in rk_tsadcv2_get_temp()
403 int chn, void __iomem *regs, int temp) in rk_tsadcv2_tshut_temp() argument
407 tshut_value = rk_tsadcv2_temp_to_code(table, temp); in rk_tsadcv2_tshut_temp()