Searched refs:GET_WPT_TEMP (Results 1 – 1 of 1) sorted by relevance
64 #define GET_WPT_TEMP(x) ((x) * MILLIDEGREE_PER_DEGREE / 2 + WPT_TEMP_OFFSET) macro170 ptd->crt_temp = GET_WPT_TEMP(trip_temp); in pch_wpt_init()179 ptd->hot_temp = GET_WPT_TEMP(trip_temp); in pch_wpt_init()191 *temp = GET_WPT_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP)); in pch_wpt_get_temp()