Lines Matching +full:0 +full:x1ff00000
22 #define PCH_THERMAL_DID_HSW_1 0x9C24 /* Haswell PCH */
23 #define PCH_THERMAL_DID_HSW_2 0x8C24 /* Haswell PCH */
24 #define PCH_THERMAL_DID_WPT 0x9CA4 /* Wildcat Point */
25 #define PCH_THERMAL_DID_SKL 0x9D31 /* Skylake PCH */
26 #define PCH_THERMAL_DID_SKL_H 0xA131 /* Skylake PCH 100 series */
27 #define PCH_THERMAL_DID_CNL 0x9Df9 /* CNL PCH */
28 #define PCH_THERMAL_DID_CNL_H 0xA379 /* CNL-H PCH */
29 #define PCH_THERMAL_DID_CNL_LP 0x02F9 /* CNL-LP PCH */
30 #define PCH_THERMAL_DID_CML_H 0X06F9 /* CML-H PCH */
31 #define PCH_THERMAL_DID_LWB 0xA1B1 /* Lewisburg PCH */
34 #define WPT_TEMP 0x0000 /* Temperature */
35 #define WPT_TSC 0x04 /* Thermal Sensor Control */
36 #define WPT_TSS 0x06 /* Thermal Sensor Status */
37 #define WPT_TSEL 0x08 /* Thermal Sensor Enable and Lock */
38 #define WPT_TSREL 0x0A /* Thermal Sensor Report Enable and Lock */
39 #define WPT_TSMIC 0x0C /* Thermal Sensor SMI Control */
40 #define WPT_CTT 0x0010 /* Catastrophic Trip Point */
41 #define WPT_TSPM 0x001C /* Thermal Sensor Power Management */
42 #define WPT_TAHV 0x0014 /* Thermal Alert High Value */
43 #define WPT_TALV 0x0018 /* Thermal Alert Low Value */
44 #define WPT_TL 0x00000040 /* Throttle Value */
45 #define WPT_PHL 0x0060 /* PCH Hot Level */
46 #define WPT_PHLC 0x62 /* PHL Control */
47 #define WPT_TAS 0x80 /* Thermal Alert Status */
48 #define WPT_TSPIEN 0x82 /* PCI Interrupt Event Enables */
49 #define WPT_TSGPEN 0x84 /* General Purpose Event Enables */
52 #define WPT_TEMP_TSR 0x01ff /* Temp TS Reading */
53 #define WPT_TSC_CPDE 0x01 /* Catastrophic Power-Down Enable */
54 #define WPT_TSS_TSDSS 0x10 /* Thermal Sensor Dynamic Shutdown Status */
55 #define WPT_TSS_GPES 0x08 /* GPE status */
56 #define WPT_TSEL_ETS 0x01 /* Enable TS */
57 #define WPT_TSEL_PLDB 0x80 /* TSEL Policy Lock-Down Bit */
58 #define WPT_TL_TOL 0x000001FF /* T0 Level */
59 #define WPT_TL_T1L 0x1ff00000 /* T1 Level */
60 #define WPT_TL_TTEN 0x20000000 /* TT Enable */
141 *nr_trips = 0; in pch_wpt_init()
168 trip_temp &= 0x1FF; in pch_wpt_init()
171 ptd->crt_trip_id = 0; in pch_wpt_init()
177 trip_temp &= 0x1FF; in pch_wpt_init()
186 return 0; in pch_wpt_init()
193 return 0; in pch_wpt_get_temp()
200 int pch_delay_cnt = 0; in pch_wpt_suspend()
206 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
207 return 0; in pch_wpt_suspend()
212 return 0; in pch_wpt_suspend()
234 return 0; in pch_wpt_suspend()
261 return 0; in pch_wpt_suspend()
269 return 0; in pch_wpt_resume()
275 return 0; in pch_wpt_resume()
315 return 0; in pch_get_trip_type()
331 return 0; in pch_get_trip_temp()
415 ptd->hw_base = pci_ioremap_bar(pdev, 0); in intel_pch_thermal_probe()
426 ptd->tzd = thermal_zone_device_register(bi->name, nr_trips, 0, ptd, in intel_pch_thermal_probe()
427 &tzd_ops, NULL, 0, 0); in intel_pch_thermal_probe()
438 return 0; in intel_pch_thermal_probe()
498 { 0, },