Displaying 1 result from an estimated 1 matches for "currfid".
2007 Nov 02
0
[cpfreq][PATCH][2/2] Linux support for the architectural pstate driver
...+ return data[pstate].frequency;
}
/* Return the vco fid for an input fid
@@ -139,9 +118,7 @@ static int query_current_values_with_pen
if (cpu_family == CPU_HW_PSTATE) {
rdmsr(MSR_PSTATE_STATUS, lo, hi);
i = lo & HW_PSTATE_MASK;
- rdmsr(MSR_PSTATE_DEF_BASE + i, lo, hi);
- data->currfid = lo & HW_PSTATE_FID_MASK;
- data->currdid = (lo & HW_PSTATE_DID_MASK) >> HW_PSTATE_DID_SHIFT;
+ data->currpstate = i;
return 0;
}
do {
@@ -292,7 +269,7 @@ static int transition_pstate(struct powe
static int transition_pstate(struct powernow_k8_data *data, u32 pstate)...