Home
last modified time | relevance | path

Searched refs:msr_index (Results 1 – 4 of 4) sorted by relevance

/xen/xen/arch/x86/oprofile/
A Dop_model_ppro.c209 static int ppro_is_arch_pmu_msr(u64 msr_index, int *type, int *index) in ppro_is_arch_pmu_msr() argument
211 if ( (msr_index >= MSR_IA32_PERFCTR0) && in ppro_is_arch_pmu_msr()
212 (msr_index < (MSR_IA32_PERFCTR0 + num_counters)) ) in ppro_is_arch_pmu_msr()
215 *index = msr_index - MSR_IA32_PERFCTR0; in ppro_is_arch_pmu_msr()
218 if ( (msr_index >= MSR_P6_EVNTSEL(0)) && in ppro_is_arch_pmu_msr()
219 (msr_index < (MSR_P6_EVNTSEL(num_counters))) ) in ppro_is_arch_pmu_msr()
222 *index = msr_index - MSR_P6_EVNTSEL(0); in ppro_is_arch_pmu_msr()
A Dop_x86_model.h39 int (*is_arch_pmu_msr)(u64 msr_index, int *type, int *index);
/xen/xen/arch/x86/cpu/
A Dvpmu_intel.c180 static int is_core2_vpmu_msr(u32 msr_index, int *type, int *index) in is_core2_vpmu_msr() argument
184 switch ( msr_index ) in is_core2_vpmu_msr()
200 if ( (msr_index >= MSR_CORE_PERF_FIXED_CTR0) && in is_core2_vpmu_msr()
201 (msr_index < MSR_CORE_PERF_FIXED_CTR0 + fixed_pmc_cnt) ) in is_core2_vpmu_msr()
203 *index = msr_index - MSR_CORE_PERF_FIXED_CTR0; in is_core2_vpmu_msr()
208 if ( (msr_index >= MSR_P6_EVNTSEL(0)) && in is_core2_vpmu_msr()
209 (msr_index < MSR_P6_EVNTSEL(arch_pmc_cnt)) ) in is_core2_vpmu_msr()
211 *index = msr_index - MSR_P6_EVNTSEL(0); in is_core2_vpmu_msr()
216 msr_index_pmc = msr_index & MSR_PMC_ALIAS_MASK; in is_core2_vpmu_msr()
502 static int core2_vpmu_msr_common_check(u32 msr_index, int *type, int *index) in core2_vpmu_msr_common_check() argument
[all …]
/xen/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c516 static const unsigned int msr_index[MSR_INDEX_MAX] = { variable
561 if ( msr_index[idx] == reg ) in fuzz_read_msr()
595 if ( msr_index[idx] == reg ) in fuzz_write_msr()

Completed in 7 milliseconds