|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | powernow_k8_data |
| struct | psb_s |
| struct | pst_s |
Macros | |
| #define | CPUID_PROCESSOR_SIGNATURE 1 /* function 1 */ |
| #define | CPUID_XFAM 0x0ff00000 /* extended family */ |
| #define | CPUID_XFAM_K8 0 |
| #define | CPUID_XMOD 0x000f0000 /* extended model */ |
| #define | CPUID_XMOD_REV_MASK 0x000c0000 |
| #define | CPUID_XFAM_10H 0x00100000 /* family 0x10 */ |
| #define | CPUID_USE_XFAM_XMOD 0x00000f00 |
| #define | CPUID_GET_MAX_CAPABILITIES 0x80000000 |
| #define | CPUID_FREQ_VOLT_CAPABILITIES 0x80000007 |
| #define | P_STATE_TRANSITION_CAPABLE 6 |
| #define | MSR_FIDVID_CTL 0xc0010041 |
| #define | MSR_FIDVID_STATUS 0xc0010042 |
| #define | MSR_C_LO_INIT_FID_VID 0x00010000 |
| #define | MSR_C_LO_NEW_VID 0x00003f00 |
| #define | MSR_C_LO_NEW_FID 0x0000003f |
| #define | MSR_C_LO_VID_SHIFT 8 |
| #define | MSR_C_HI_STP_GNT_TO 0x000fffff |
| #define | MSR_S_LO_CHANGE_PENDING 0x80000000 /* cleared when completed */ |
| #define | MSR_S_LO_MAX_RAMP_VID 0x3f000000 |
| #define | MSR_S_LO_MAX_FID 0x003f0000 |
| #define | MSR_S_LO_START_FID 0x00003f00 |
| #define | MSR_S_LO_CURRENT_FID 0x0000003f |
| #define | MSR_S_HI_MIN_WORKING_VID 0x3f000000 |
| #define | MSR_S_HI_MAX_WORKING_VID 0x003f0000 |
| #define | MSR_S_HI_START_VID 0x00003f00 |
| #define | MSR_S_HI_CURRENT_VID 0x0000003f |
| #define | MSR_C_HI_STP_GNT_BENIGN 0x00000001 |
| #define | LO_FID_TABLE_TOP 7 /* fid values marking the boundary */ |
| #define | HI_FID_TABLE_BOTTOM 8 /* between the low and high tables */ |
| #define | LO_VCOFREQ_TABLE_TOP 1400 /* corresponding vco frequency values */ |
| #define | HI_VCOFREQ_TABLE_BOTTOM 1600 |
| #define | MIN_FREQ_RESOLUTION 200 /* fids jump by 2 matching freq jumps by 200 */ |
| #define | MAX_FID 0x2a /* Spec only gives FID values as far as 5 GHz */ |
| #define | LEAST_VID 0x3e /* Lowest (numerically highest) useful vid value */ |
| #define | MIN_FREQ 800 /* Min and max freqs, per spec */ |
| #define | MAX_FREQ 5000 |
| #define | INVALID_FID_MASK 0xffffffc0 /* not a valid fid if these bits are set */ |
| #define | INVALID_VID_MASK 0xffffffc0 /* not a valid vid if these bits are set */ |
| #define | VID_OFF 0x3f |
| #define | STOP_GRANT_5NS 1 /* min poss memory access latency for voltage change */ |
| #define | PLL_LOCK_CONVERSION (1000/5) /* ms to ns, then divide by clock period */ |
| #define | MAXIMUM_VID_STEPS 1 /* Current cpus only allow a single step of 25mV */ |
| #define | VST_UNITS_20US 20 /* Voltage Stabilization Time is in units of 20us */ |
| #define | IRT_SHIFT 30 |
| #define | RVO_SHIFT 28 |
| #define | EXT_TYPE_SHIFT 27 |
| #define | PLL_L_SHIFT 20 |
| #define | MVS_SHIFT 18 |
| #define | VST_SHIFT 11 |
| #define | VID_SHIFT 6 |
| #define | IRT_MASK 3 |
| #define | RVO_MASK 3 |
| #define | EXT_TYPE_MASK 1 |
| #define | PLL_L_MASK 0x7f |
| #define | MVS_MASK 3 |
| #define | VST_MASK 0x7f |
| #define | VID_MASK 0x1f |
| #define | FID_MASK 0x1f |
| #define | EXT_VID_MASK 0x3f |
| #define | EXT_FID_MASK 0x3f |
| #define | PSB_ID_STRING "AMDK7PNOW!" |
| #define | PSB_ID_STRING_LEN 10 |
| #define | PSB_VERSION_1_4 0x14 |
| #define CPUID_FREQ_VOLT_CAPABILITIES 0x80000007 |
Definition at line 52 of file powernow-k8.h.
| #define CPUID_GET_MAX_CAPABILITIES 0x80000000 |
Definition at line 51 of file powernow-k8.h.
| #define CPUID_PROCESSOR_SIGNATURE 1 /* function 1 */ |
Definition at line 44 of file powernow-k8.h.
| #define CPUID_USE_XFAM_XMOD 0x00000f00 |
Definition at line 50 of file powernow-k8.h.
| #define CPUID_XFAM 0x0ff00000 /* extended family */ |
Definition at line 45 of file powernow-k8.h.
| #define CPUID_XFAM_10H 0x00100000 /* family 0x10 */ |
Definition at line 49 of file powernow-k8.h.
| #define CPUID_XFAM_K8 0 |
Definition at line 46 of file powernow-k8.h.
| #define CPUID_XMOD 0x000f0000 /* extended model */ |
Definition at line 47 of file powernow-k8.h.
| #define CPUID_XMOD_REV_MASK 0x000c0000 |
Definition at line 48 of file powernow-k8.h.
| #define EXT_FID_MASK 0x3f |
Definition at line 147 of file powernow-k8.h.
| #define EXT_TYPE_MASK 1 |
Definition at line 140 of file powernow-k8.h.
| #define EXT_TYPE_SHIFT 27 |
Definition at line 133 of file powernow-k8.h.
| #define EXT_VID_MASK 0x3f |
Definition at line 146 of file powernow-k8.h.
| #define FID_MASK 0x1f |
Definition at line 145 of file powernow-k8.h.
Definition at line 101 of file powernow-k8.h.
| #define HI_VCOFREQ_TABLE_BOTTOM 1600 |
Definition at line 104 of file powernow-k8.h.
| #define INVALID_FID_MASK 0xffffffc0 /* not a valid fid if these bits are set */ |
Definition at line 114 of file powernow-k8.h.
| #define INVALID_VID_MASK 0xffffffc0 /* not a valid vid if these bits are set */ |
Definition at line 115 of file powernow-k8.h.
| #define IRT_MASK 3 |
Definition at line 138 of file powernow-k8.h.
| #define IRT_SHIFT 30 |
Definition at line 131 of file powernow-k8.h.
| #define LEAST_VID 0x3e /* Lowest (numerically highest) useful vid value */ |
Definition at line 109 of file powernow-k8.h.
Definition at line 100 of file powernow-k8.h.
Definition at line 103 of file powernow-k8.h.
| #define MAX_FID 0x2a /* Spec only gives FID values as far as 5 GHz */ |
Definition at line 108 of file powernow-k8.h.
| #define MAX_FREQ 5000 |
Definition at line 112 of file powernow-k8.h.
Definition at line 123 of file powernow-k8.h.
Definition at line 111 of file powernow-k8.h.
Definition at line 106 of file powernow-k8.h.
| #define MSR_C_HI_STP_GNT_BENIGN 0x00000001 |
Definition at line 84 of file powernow-k8.h.
| #define MSR_C_HI_STP_GNT_TO 0x000fffff |
Definition at line 70 of file powernow-k8.h.
| #define MSR_C_LO_INIT_FID_VID 0x00010000 |
Definition at line 64 of file powernow-k8.h.
| #define MSR_C_LO_NEW_FID 0x0000003f |
Definition at line 66 of file powernow-k8.h.
| #define MSR_C_LO_NEW_VID 0x00003f00 |
Definition at line 65 of file powernow-k8.h.
| #define MSR_C_LO_VID_SHIFT 8 |
Definition at line 67 of file powernow-k8.h.
| #define MSR_FIDVID_CTL 0xc0010041 |
Definition at line 60 of file powernow-k8.h.
| #define MSR_FIDVID_STATUS 0xc0010042 |
Definition at line 61 of file powernow-k8.h.
| #define MSR_S_HI_CURRENT_VID 0x0000003f |
Definition at line 83 of file powernow-k8.h.
| #define MSR_S_HI_MAX_WORKING_VID 0x003f0000 |
Definition at line 81 of file powernow-k8.h.
| #define MSR_S_HI_MIN_WORKING_VID 0x3f000000 |
Definition at line 80 of file powernow-k8.h.
| #define MSR_S_HI_START_VID 0x00003f00 |
Definition at line 82 of file powernow-k8.h.
| #define MSR_S_LO_CHANGE_PENDING 0x80000000 /* cleared when completed */ |
Definition at line 73 of file powernow-k8.h.
| #define MSR_S_LO_CURRENT_FID 0x0000003f |
Definition at line 77 of file powernow-k8.h.
| #define MSR_S_LO_MAX_FID 0x003f0000 |
Definition at line 75 of file powernow-k8.h.
| #define MSR_S_LO_MAX_RAMP_VID 0x3f000000 |
Definition at line 74 of file powernow-k8.h.
| #define MSR_S_LO_START_FID 0x00003f00 |
Definition at line 76 of file powernow-k8.h.
| #define MVS_MASK 3 |
Definition at line 142 of file powernow-k8.h.
| #define MVS_SHIFT 18 |
Definition at line 135 of file powernow-k8.h.
| #define P_STATE_TRANSITION_CAPABLE 6 |
Definition at line 53 of file powernow-k8.h.
| #define PLL_L_MASK 0x7f |
Definition at line 141 of file powernow-k8.h.
| #define PLL_L_SHIFT 20 |
Definition at line 134 of file powernow-k8.h.
Definition at line 121 of file powernow-k8.h.
| #define PSB_ID_STRING "AMDK7PNOW!" |
Definition at line 158 of file powernow-k8.h.
| #define PSB_ID_STRING_LEN 10 |
Definition at line 159 of file powernow-k8.h.
| #define PSB_VERSION_1_4 0x14 |
Definition at line 161 of file powernow-k8.h.
| #define RVO_MASK 3 |
Definition at line 139 of file powernow-k8.h.
| #define RVO_SHIFT 28 |
Definition at line 132 of file powernow-k8.h.
Definition at line 119 of file powernow-k8.h.
| #define VID_MASK 0x1f |
Definition at line 144 of file powernow-k8.h.
| #define VID_OFF 0x3f |
Definition at line 117 of file powernow-k8.h.
| #define VID_SHIFT 6 |
Definition at line 137 of file powernow-k8.h.
| #define VST_MASK 0x7f |
Definition at line 143 of file powernow-k8.h.
| #define VST_SHIFT 11 |
Definition at line 136 of file powernow-k8.h.
1.8.2