Home
last modified time | relevance | path

Searched refs:dtemp (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/thermal/
H A Dk3_bandgap.c112 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
131 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
133 if (dtemp < K3_VTM_ADC_BEGIN_VAL || dtemp > K3_VTM_ADC_END_VAL) in k3_bgp_read_temp()
136 *temp = k3_adc_to_temp[dtemp - K3_VTM_ADC_BEGIN_VAL]; in k3_bgp_read_temp()
H A Dk3_j72xx_bandgap.c221 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
239 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
241 if (dtemp < 0 || dtemp >= TABLE_SIZE) in k3_bgp_read_temp()
244 *temp = derived_table[dtemp]; in k3_bgp_read_temp()
/linux/drivers/macintosh/
H A Dwindfarm_rm31.c204 s32 dtemp, volts, amps; in read_one_cpu_vals() local
208 rc = wf_sensor_get(sens_cpu_temp[cpu], &dtemp); in read_one_cpu_vals()
213 DBG_LOTS(" CPU%d: temp = %d.%03d\n", cpu, FIX32TOPRINT((dtemp))); in read_one_cpu_vals()
214 *temp = dtemp; in read_one_cpu_vals()
367 s32 temp, dtemp; in backside_fan_tick() local
397 err = wf_sensor_get(dimms_temp, &dtemp); in backside_fan_tick()
405 dspeed = wf_pid_run(&dimms_pid, dtemp); in backside_fan_tick()
H A Dwindfarm_pm72.c210 s32 dtemp, volts, amps; in read_one_cpu_vals() local
214 rc = wf_sensor_get(sens_cpu_temp[cpu], &dtemp); in read_one_cpu_vals()
219 DBG_LOTS(" CPU%d: temp = %d.%03d\n", cpu, FIX32TOPRINT((dtemp))); in read_one_cpu_vals()
220 *temp = dtemp; in read_one_cpu_vals()