Home
last modified time | relevance | path

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

/openbmc/linux/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()