Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thermal/intel/
Dintel_pch_thermal.c37 #define WPT_TSEL 0x08 /* Thermal Sensor Enable and Lock */ macro
144 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) { in pch_wpt_init()
149 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init()
159 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init()
160 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) { in pch_wpt_init()
205 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
206 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
271 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_resume()
273 writeb(tsel | WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_resume()