Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Dintel_pch_thermal.c40 #define WPT_TSEL 0x08 /* Thermal Sensor Enable and Lock */ macro
130 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) { in pch_wpt_init()
135 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init()
145 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init()
146 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) { in pch_wpt_init()
196 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
198 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
210 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_resume()
212 writeb(tsel | WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_resume()