Home
last modified time | relevance | path

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

/drivers/thermal/
Dk3_bandgap.c113 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
132 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
134 if (dtemp < K3_VTM_ADC_BEGIN_VAL || dtemp > K3_VTM_ADC_END_VAL) in k3_bgp_read_temp()
137 *temp = k3_adc_to_temp[dtemp - K3_VTM_ADC_BEGIN_VAL]; in k3_bgp_read_temp()
Dk3_j72xx_bandgap.c220 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
238 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
240 if (dtemp < 0 || dtemp >= TABLE_SIZE) in k3_bgp_read_temp()
243 *temp = derived_table[dtemp]; in k3_bgp_read_temp()
/drivers/macintosh/
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()
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()