Lines Matching refs:counters
36 #define CTR_READ(msr_content,msrs,c) do {rdmsrl(msrs->counters[(c)].addr, (msr_content));} while (0)
37 #define CTR_WRITE(l,msrs,c) do {wrmsr(msrs->counters[(c)].addr, -(unsigned int)(l), -1);} while (0)
169 msrs->counters[0].addr = MSR_K7_PERFCTR0; in athlon_fill_in_addresses()
170 msrs->counters[1].addr = MSR_K7_PERFCTR1; in athlon_fill_in_addresses()
171 msrs->counters[2].addr = MSR_K7_PERFCTR2; in athlon_fill_in_addresses()
172 msrs->counters[3].addr = MSR_K7_PERFCTR3; in athlon_fill_in_addresses()
182 msrs->counters[0].addr = MSR_AMD_FAM15H_PERFCTR0; in fam15h_fill_in_addresses()
183 msrs->counters[1].addr = MSR_AMD_FAM15H_PERFCTR1; in fam15h_fill_in_addresses()
184 msrs->counters[2].addr = MSR_AMD_FAM15H_PERFCTR2; in fam15h_fill_in_addresses()
185 msrs->counters[3].addr = MSR_AMD_FAM15H_PERFCTR3; in fam15h_fill_in_addresses()
186 msrs->counters[4].addr = MSR_AMD_FAM15H_PERFCTR4; in fam15h_fill_in_addresses()
187 msrs->counters[5].addr = MSR_AMD_FAM15H_PERFCTR5; in fam15h_fill_in_addresses()