Lines Matching defs:hw_base
84 void __iomem *hw_base;
125 *temp = GET_WPT_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP));
190 ptd->hw_base = pci_ioremap_bar(pdev, 0);
191 if (!ptd->hw_base) {
198 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) {
203 tsel = readb(ptd->hw_base + WPT_TSEL);
214 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL);
215 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) {
222 trip_temp = readw(ptd->hw_base + WPT_CTT);
229 trip_temp = readw(ptd->hw_base + WPT_PHL);
257 iounmap(ptd->hw_base);
271 iounmap(ptd->hw_base);
286 tsel = readb(ptd->hw_base + WPT_TSEL);
287 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL);
296 pch_thr_temp = GET_PCH_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TSPM));
299 pch_cur_temp = GET_PCH_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP));
324 pch_cur_temp = GET_PCH_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP));
353 tsel = readb(ptd->hw_base + WPT_TSEL);
355 writeb(tsel | WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL);