Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dhisi_thermal.c42 #define HI6220_TEMP_STEP (785) macro
104 return HI6220_TEMP_BASE + (step * HI6220_TEMP_STEP); in hi6220_thermal_step_to_temp()
109 return DIV_ROUND_UP(temp - HI6220_TEMP_BASE, HI6220_TEMP_STEP); in hi6220_thermal_temp_to_step()
163 writel(DIV_ROUND_UP(value, HI6220_TEMP_STEP) & 0x1F, in hi6220_thermal_set_lag()