Home
last modified time | relevance | path

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

/linux/include/linux/
A Dunits.h43 #define MILLIDEGREE_PER_DEGREE 1000 macro
48 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()
/linux/drivers/thermal/intel/
A Dintel_pch_thermal.c64 #define GET_WPT_TEMP(x) ((x) * MILLIDEGREE_PER_DEGREE / 2 + WPT_TEMP_OFFSET)
65 #define WPT_TEMP_OFFSET (PCH_TEMP_OFFSET * MILLIDEGREE_PER_DEGREE)
/linux/drivers/scsi/ufs/
A Dufs-hwmon.c44 *val = ((long)value - 80) * MILLIDEGREE_PER_DEGREE; in ufs_get_temp()
/linux/drivers/thermal/
A Dqoriq_thermal.c118 *temp = (val & GENMASK(7, 0)) * MILLIDEGREE_PER_DEGREE; in tmu_get_temp()

Completed in 8 milliseconds