Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/thermal/intel/
Dintel_pch_thermal.c34 #define WPT_TSEL 0x08 /* Thermal Sensor Enable and Lock */ macro
124 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) { in pch_wpt_init()
129 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init()
139 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init()
140 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) { in pch_wpt_init()
190 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
192 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
204 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_resume()
206 writeb(tsel | WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_resume()