Searched refs:p4_counters (Results 1 - 1 of 1) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/oprofile/
H A Dop_model_p4.c89 static struct p4_counter_binding p4_counters [NUM_COUNTERS_NON_HT] = { variable in typeref:struct:p4_counter_binding
363 #define CCCR_READ(low, high, i) do {rdmsr(p4_counters[(i)].cccr_address, (low), (high));} while (0)
364 #define CCCR_WRITE(low, high, i) do {wrmsr(p4_counters[(i)].cccr_address, (low), (high));} while (0)
370 #define CTR_READ(l,h,i) do {rdmsr(p4_counters[(i)].counter_address, (l), (h));} while (0)
371 #define CTR_WRITE(l,i) do {wrmsr(p4_counters[(i)].counter_address, -(u32)(l), -1);} while (0)
414 addr = p4_counters[VIRT_CTR(stag, i)].counter_address;
415 cccraddr = p4_counters[VIRT_CTR(stag, i)].cccr_address;
571 rdmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high);
574 wrmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high);

Completed in 42 milliseconds