Home
last modified time | relevance | path

Searched defs:msrs (Results 1 – 8 of 8) sorted by relevance

/external/oprofile/module/x86/
Dop_model_ppro.c20 #define CTR_READ(l, h, msrs, c) do {rdmsr(msrs->counters.addrs[(c)], (l), (h));} while (0) argument
21 #define CTR_WRITE(l, msrs, c) do {wrmsr(msrs->counters.addrs[(c)], -(u32)(l), -1);} while (0) argument
24 #define CTRL_READ(l, h, msrs, c) do {rdmsr((msrs->controls.addrs[(c)]), (l), (h));} while (0) argument
25 #define CTRL_WRITE(l, h, msrs, c) do {wrmsr((msrs->controls.addrs[(c)]), (l), (h));} while (0) argument
36 static void ppro_fill_in_addresses(struct op_msrs * const msrs) in ppro_fill_in_addresses()
46 static void ppro_setup_ctrs(struct op_msrs const * const msrs) in ppro_setup_ctrs()
82 struct op_msrs const * const msrs, in ppro_check_ctrs()
97 static void ppro_start(struct op_msrs const * const msrs) in ppro_start()
106 static void ppro_stop(struct op_msrs const * const msrs) in ppro_stop()
Dop_model_athlon.c20 #define CTR_READ(l, h, msrs, c) do {rdmsr(msrs->counters.addrs[(c)], (l), (h));} while (0) argument
21 #define CTR_WRITE(l, msrs, c) do {wrmsr(msrs->counters.addrs[(c)], -(u32)(l), 0xffff);} while (0) argument
24 #define CTRL_READ(l, h, msrs, c) do {rdmsr(msrs->controls.addrs[(c)], (l), (h));} while (0) argument
25 #define CTRL_WRITE(l, h, msrs, c) do {wrmsr(msrs->controls.addrs[(c)], (l), (h));} while (0) argument
36 static void athlon_fill_in_addresses(struct op_msrs * const msrs) in athlon_fill_in_addresses()
50 static void athlon_setup_ctrs(struct op_msrs const * const msrs) in athlon_setup_ctrs()
86 struct op_msrs const * const msrs, in athlon_check_ctrs()
103 static void athlon_start(struct op_msrs const * const msrs) in athlon_start()
117 static void athlon_stop(struct op_msrs const * const msrs) in athlon_stop()
Dop_nmi.c49 struct op_msrs const * const msrs = &cpu_msrs[cpu]; in op_do_nmi() local
59 struct op_msrs const * const msrs = &cpu_msrs[cpu]; in pmc_setup_ctr() local
76 struct op_msrs const * const msrs = &cpu_msrs[cpu]; in pmc_start() local
88 struct op_msrs const * const msrs = &cpu_msrs[cpu]; in pmc_stop() local
Dop_model_p4.c404 static void p4_fill_in_addresses(struct op_msrs * const msrs) in p4_fill_in_addresses()
546 static void p4_setup_ctrs(struct op_msrs const * const msrs) in p4_setup_ctrs()
624 struct op_msrs const * const msrs, in p4_check_ctrs()
672 static void p4_start(struct op_msrs const * const msrs) in p4_start()
689 static void p4_stop(struct op_msrs const * const msrs) in p4_stop()
/external/qemu/target-i386/
Dhax-all.c903 struct vmx_msr *msrs = md.entries; in hax_get_msrs() local
964 struct vmx_msr *msrs; in hax_set_msrs() local
Dkvm.c454 struct kvm_msr_entry *msrs = msr_data.entries; in kvm_put_msrs() local
587 struct kvm_msr_entry *msrs = msr_data.entries; in kvm_get_msrs() local
Dhax-darwin.c283 int hax_sync_msr(CPUState *cpu, struct hax_msr_data *msrs, int set) in hax_sync_msr()
Dhax-windows.c435 int hax_sync_msr(CPUState *cpu, struct hax_msr_data *msrs, int set) in hax_sync_msr()