Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thermal/intel/
H A 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()
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dintel_pch_thermal.c38 #define WPT_TSEL 0x08 /* Thermal Sensor Enable and Lock */ macro
196 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) { in intel_pch_thermal_probe()
201 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_probe()
212 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_probe()
213 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) { in intel_pch_thermal_probe()
284 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq()
285 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq()
351 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_resume()
353 writeb(tsel | WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_resume()

Completed in 2 milliseconds