Searched refs:MILLIDEGREE_PER_DEGREE (Results 1 – 4 of 4) sorted by relevance
43 #define MILLIDEGREE_PER_DEGREE 1000 macro48 return milli_kelvin_to_millicelsius(t * MILLIDEGREE_PER_DEGREE); in kelvin_to_millicelsius()55 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DEGREE); in millicelsius_to_kelvin()62 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DEGREE); in deci_kelvin_to_celsius()67 t = millicelsius_to_milli_kelvin(t * MILLIDEGREE_PER_DEGREE); in celsius_to_deci_kelvin()99 MILLIDEGREE_PER_DEGREE); in kelvin_to_celsius()105 MILLIDEGREE_PER_DEGREE); in celsius_to_kelvin()
64 #define GET_WPT_TEMP(x) ((x) * MILLIDEGREE_PER_DEGREE / 2 + WPT_TEMP_OFFSET)65 #define WPT_TEMP_OFFSET (PCH_TEMP_OFFSET * MILLIDEGREE_PER_DEGREE)
44 *val = ((long)value - 80) * MILLIDEGREE_PER_DEGREE; in ufs_get_temp()
118 *temp = (val & GENMASK(7, 0)) * MILLIDEGREE_PER_DEGREE; in tmu_get_temp()
Completed in 8 milliseconds