Home
last modified time | relevance | path

Searched refs:rdmsrl (Results 1 – 25 of 45) sorted by relevance

12

/linux-3.4.99/arch/x86/oprofile/
Dop_model_amd.c143 rdmsrl(MSR_AMD64_IBSFETCHCTL, ctl); in op_amd_handle_ibs()
145 rdmsrl(MSR_AMD64_IBSFETCHLINAD, val); in op_amd_handle_ibs()
150 rdmsrl(MSR_AMD64_IBSFETCHPHYSAD, val); in op_amd_handle_ibs()
162 rdmsrl(MSR_AMD64_IBSOPCTL, ctl); in op_amd_handle_ibs()
164 rdmsrl(MSR_AMD64_IBSOPRIP, val); in op_amd_handle_ibs()
168 rdmsrl(MSR_AMD64_IBSOPDATA, val); in op_amd_handle_ibs()
170 rdmsrl(MSR_AMD64_IBSOPDATA2, val); in op_amd_handle_ibs()
172 rdmsrl(MSR_AMD64_IBSOPDATA3, val); in op_amd_handle_ibs()
174 rdmsrl(MSR_AMD64_IBSDCLINAD, val); in op_amd_handle_ibs()
176 rdmsrl(MSR_AMD64_IBSDCPHYSAD, val); in op_amd_handle_ibs()
[all …]
Dop_model_ppro.c99 rdmsrl(msrs->controls[i].addr, val); in ppro_setup_ctrs()
116 rdmsrl(msrs->controls[i].addr, val); in ppro_setup_ctrs()
136 rdmsrl(msrs->counters[i].addr, val); in ppro_check_ctrs()
165 rdmsrl(msrs->controls[i].addr, val); in ppro_start()
181 rdmsrl(msrs->controls[i].addr, val); in ppro_stop()
/linux-3.4.99/drivers/hv/
Dhv.c172 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_init()
186 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_init()
330 rdmsrl(HV_X64_MSR_SVERSION, version); in hv_synic_init()
349 rdmsrl(HV_X64_MSR_SIMP, simp.as_uint64); in hv_synic_init()
357 rdmsrl(HV_X64_MSR_SIEFP, siefp.as_uint64); in hv_synic_init()
365 rdmsrl(HV_X64_MSR_SINT0 + VMBUS_MESSAGE_SINT, shared_sint.as_uint64); in hv_synic_init()
375 rdmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_init()
405 rdmsrl(HV_X64_MSR_SINT0 + VMBUS_MESSAGE_SINT, shared_sint.as_uint64); in hv_synic_cleanup()
413 rdmsrl(HV_X64_MSR_SIMP, simp.as_uint64); in hv_synic_cleanup()
419 rdmsrl(HV_X64_MSR_SIEFP, siefp.as_uint64); in hv_synic_cleanup()
/linux-3.4.99/arch/x86/platform/olpc/
Dolpc-xo1-rtc.c70 rdmsrl(MSR_RTC_DOMA_OFFSET, rtc_info.rtc_day_alarm); in xo1_rtc_init()
71 rdmsrl(MSR_RTC_MONA_OFFSET, rtc_info.rtc_mon_alarm); in xo1_rtc_init()
72 rdmsrl(MSR_RTC_CEN_OFFSET, rtc_info.rtc_century); in xo1_rtc_init()
/linux-3.4.99/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c51 rdmsrl(MSR_IA32_MCG_CAP, cap); in cmci_supported()
95 rdmsrl(MSR_IA32_MCx_CTL2(i), val); in cmci_discover()
108 rdmsrl(MSR_IA32_MCx_CTL2(i), val); in cmci_discover()
158 rdmsrl(MSR_IA32_MCx_CTL2(i), val); in cmci_clear()
/linux-3.4.99/arch/x86/power/
Dcpu.c90 rdmsrl(MSR_FS_BASE, ctxt->fs_base); in __save_processor_state()
91 rdmsrl(MSR_GS_BASE, ctxt->gs_base); in __save_processor_state()
92 rdmsrl(MSR_KERNEL_GS_BASE, ctxt->gs_kernel_base); in __save_processor_state()
95 rdmsrl(MSR_EFER, ctxt->efer); in __save_processor_state()
/linux-3.4.99/drivers/video/geode/
Dvideo_gx.c149 rdmsrl(MSR_GLCP_SYS_RSTPLL, sys_rstpll); in gx_set_dclk_frequency()
150 rdmsrl(MSR_GLCP_DOTPLL, dotpll); in gx_set_dclk_frequency()
174 rdmsrl(MSR_GLCP_DOTPLL, dotpll); in gx_set_dclk_frequency()
187 rdmsrl(MSR_GX_MSR_PADSEL, val); in gx_configure_tft()
Dsuspend_gx.c30 rdmsrl(MSR_GX_MSR_PADSEL, par->msr.padsel); in gx_save_regs()
31 rdmsrl(MSR_GLCP_DOTPLL, par->msr.dotpll); in gx_save_regs()
52 rdmsrl(MSR_GLCP_DOTPLL, dotpll_lo); in gx_set_dotpll()
59 rdmsrl(MSR_GLCP_DOTPLL, dotpll_lo); in gx_set_dotpll()
Dlxfb_ops.c365 rdmsrl(MSR_LX_GLD_MSR_CONFIG, msrval); in lx_set_mode()
426 rdmsrl(MSR_LX_SPARE_MSR, msrval); in lx_set_mode()
600 rdmsrl(MSR_LX_MSR_PADSEL, par->msr.padsel); in lx_save_regs()
601 rdmsrl(MSR_GLCP_DOTPLL, par->msr.dotpll); in lx_save_regs()
602 rdmsrl(MSR_LX_GLD_MSR_CONFIG, par->msr.dfglcfg); in lx_save_regs()
603 rdmsrl(MSR_LX_SPARE_MSR, par->msr.dcspare); in lx_save_regs()
/linux-3.4.99/arch/x86/kernel/
Dmmconf-fam10h_64.c98 rdmsrl(address, val); in get_fam10h_pci_mmconf_base()
106 rdmsrl(address, val); in get_fam10h_pci_mmconf_base()
178 rdmsrl(address, val); in fam10h_check_enable_mmcfg()
Dprocess_64.c87 rdmsrl(MSR_FS_BASE, fs); in __show_regs()
88 rdmsrl(MSR_GS_BASE, gs); in __show_regs()
89 rdmsrl(MSR_KERNEL_GS_BASE, shadowgs); in __show_regs()
516 rdmsrl(MSR_FS_BASE, base); in do_arch_prctl()
530 rdmsrl(MSR_KERNEL_GS_BASE, base); in do_arch_prctl()
/linux-3.4.99/arch/x86/kernel/cpu/
Dperf_event_intel_lbr.c124 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
133 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
227 rdmsrl(x86_pmu.lbr_tos, tos); in intel_pmu_lbr_tos()
248 rdmsrl(x86_pmu.lbr_from + lbr_idx, msr_lastbranch.lbr); in intel_pmu_lbr_read_32()
275 rdmsrl(x86_pmu.lbr_from + lbr_idx, from); in intel_pmu_lbr_read_64()
276 rdmsrl(x86_pmu.lbr_to + lbr_idx, to); in intel_pmu_lbr_read_64()
Damd.c288 rdmsrl(MSR_FAM10H_NODE_ID, value); in amd_get_topology()
430 rdmsrl(MSR_K7_HWCR, val); in bsp_init_amd()
500 rdmsrl(MSR_K7_HWCR, value); in init_amd()
592 rdmsrl(0xc0011005, val); in init_amd()
809 rdmsrl(MSR_AMD64_OSVW_ID_LENGTH, osvw_len); in cpu_has_amd_erratum()
813 rdmsrl(MSR_AMD64_OSVW_STATUS + (osvw_id >> 6), in cpu_has_amd_erratum()
Dperf_event_p6.c49 rdmsrl(MSR_P6_EVNTSEL0, val); in p6_pmu_disable_all()
59 rdmsrl(MSR_P6_EVNTSEL0, val); in p6_pmu_enable_all()
Dintel.c36 rdmsrl(MSR_IA32_MISC_ENABLE, misc_enable); in early_init_intel()
123 rdmsrl(MSR_IA32_MISC_ENABLE, misc_enable); in early_init_intel()
139 rdmsrl(MSR_IA32_MISC_ENABLE, misc_enable); in early_init_intel()
467 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in init_intel()
Dperf_event_amd_ibs.c112 rdmsrl(MSR_AMD64_IBSCTL, val); in ibs_eilvt_valid()
229 rdmsrl(MSR_AMD64_IBSCTL, val); in get_ibs_lvt_offset()
Dperf_event.c89 rdmsrl(hwc->event_base, new_raw_count); in x86_perf_event_update()
505 rdmsrl(x86_pmu_config_addr(idx), val); in x86_pmu_disable_all()
1091 rdmsrl(MSR_CORE_PERF_GLOBAL_CTRL, ctrl); in perf_event_print_debug()
1092 rdmsrl(MSR_CORE_PERF_GLOBAL_STATUS, status); in perf_event_print_debug()
1093 rdmsrl(MSR_CORE_PERF_GLOBAL_OVF_CTRL, overflow); in perf_event_print_debug()
1094 rdmsrl(MSR_ARCH_PERFMON_FIXED_CTR_CTRL, fixed); in perf_event_print_debug()
1095 rdmsrl(MSR_IA32_PEBS_ENABLE, pebs); in perf_event_print_debug()
1107 rdmsrl(x86_pmu_config_addr(idx), pmc_ctrl); in perf_event_print_debug()
1108 rdmsrl(x86_pmu_event_addr(idx), pmc_count); in perf_event_print_debug()
1120 rdmsrl(MSR_ARCH_PERFMON_FIXED_CTR0 + idx, pmc_count); in perf_event_print_debug()
Dmshyperv.c49 rdmsrl(HV_X64_MSR_TIME_REF_COUNT, current_tick); in read_hv_clock()
/linux-3.4.99/arch/x86/pci/
Damd_bus.c182 rdmsrl(address, val); in early_fill_mp_bus_info()
279 rdmsrl(address, val); in early_fill_mp_bus_info()
284 rdmsrl(address, val); in early_fill_mp_bus_info()
336 rdmsrl(MSR_AMD64_NB_CFG, reg); in enable_pci_io_ecs()
/linux-3.4.99/drivers/cpufreq/
Dpowernow-k7.c225 rdmsrl(MSR_K7_FID_VID_CTL, fidvidctl.val); in change_FID()
240 rdmsrl(MSR_K7_FID_VID_CTL, fidvidctl.val); in change_VID()
268 rdmsrl(MSR_K7_FID_VID_STATUS, fidvidstatus.val); in change_speed()
595 rdmsrl(MSR_K7_FID_VID_STATUS, fidvidstatus.val); in powernow_get()
640 rdmsrl(MSR_K7_FID_VID_STATUS, fidvidstatus.val); in powernow_cpu_init()
Dlonghaul.c139 rdmsrl(MSR_VIA_BCR2, bcr2.val); in do_longhaul1()
154 rdmsrl(MSR_VIA_BCR2, bcr2.val); in do_longhaul1()
167 rdmsrl(MSR_VIA_LONGHAUL, longhaul.val); in do_powersaver()
536 rdmsrl(MSR_VIA_LONGHAUL, longhaul.val); in longhaul_setup_voltagescaling()
/linux-3.4.99/drivers/mtd/nand/
Dcs553x_nand.c293 rdmsrl(MSR_DIVIL_GLD_CAP, val); in cs553x_init()
299 rdmsrl(MSR_DIVIL_BALL_OPTS, val); in cs553x_init()
306 rdmsrl(MSR_DIVIL_LBAR_FLSH0 + i, val); in cs553x_init()
/linux-3.4.99/drivers/platform/x86/
Dintel_ips.c385 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
420 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
452 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_enable_cpu_turbo()
490 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_disable_cpu_turbo()
1261 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in show_cpu_clamp()
1379 rdmsrl(IA32_MISC_ENABLE, misc_en); in ips_detect_cpu()
1401 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_power); in ips_detect_cpu()
1601 rdmsrl(PLATFORM_INFO, platform_info); in ips_probe()
1631 rdmsrl(TURBO_POWER_CURRENT_LIMIT, ips->orig_turbo_limit); in ips_probe()
1706 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()
/linux-3.4.99/arch/x86/include/asm/
Dapic.h148 rdmsrl(APIC_BASE_MSR + (reg >> 4), msr); in native_apic_msr_read()
173 rdmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), val); in native_x2apic_icr_read()
189 rdmsrl(MSR_IA32_APICBASE, msr); in x2apic_enabled()
Dvirtext.h119 rdmsrl(MSR_EFER, efer); in cpu_svm_disable()

12