Lines Matching refs:hw_base
59 void __iomem *hw_base; member
77 if (WPT_TSS_TSDSS & readb(ptd->hw_base + WPT_TSS)) in pch_wpt_init()
80 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init()
90 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init()
91 if (!(WPT_TSS_TSDSS & readb(ptd->hw_base + WPT_TSS))) { in pch_wpt_init()
98 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init()
108 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init()
124 wpt_temp = WPT_TEMP_TSR & readl(ptd->hw_base + WPT_TEMP); in pch_wpt_get_temp()
224 ptd->hw_base = pci_ioremap_bar(pdev, 0); in intel_pch_thermal_probe()
225 if (!ptd->hw_base) { in intel_pch_thermal_probe()
247 iounmap(ptd->hw_base); in intel_pch_thermal_probe()
261 iounmap(ptd->hw_base); in intel_pch_thermal_remove()