/Linux-v4.19/tools/testing/selftests/kvm/lib/ |
D | vmx.c | 82 cr0 &= rdmsr(MSR_IA32_VMX_CR0_FIXED1); in prepare_for_vmx_operation() 83 cr0 |= rdmsr(MSR_IA32_VMX_CR0_FIXED0); in prepare_for_vmx_operation() 87 cr4 &= rdmsr(MSR_IA32_VMX_CR4_FIXED1); in prepare_for_vmx_operation() 88 cr4 |= rdmsr(MSR_IA32_VMX_CR4_FIXED0); in prepare_for_vmx_operation() 101 feature_control = rdmsr(MSR_IA32_FEATURE_CONTROL); in prepare_for_vmx_operation() 134 vmwrite(PIN_BASED_VM_EXEC_CONTROL, rdmsr(MSR_IA32_VMX_TRUE_PINBASED_CTLS)); in init_vmcs_control_fields() 137 rdmsr(MSR_IA32_VMX_TRUE_PROCBASED_CTLS) | CPU_BASED_ACTIVATE_SECONDARY_CONTROLS); in init_vmcs_control_fields() 139 vmwrite(CPU_BASED_VM_EXEC_CONTROL, rdmsr(MSR_IA32_VMX_TRUE_PROCBASED_CTLS)); in init_vmcs_control_fields() 144 vmwrite(VM_EXIT_CONTROLS, rdmsr(MSR_IA32_VMX_EXIT_CTLS) | in init_vmcs_control_fields() 148 vmwrite(VM_ENTRY_CONTROLS, rdmsr(MSR_IA32_VMX_ENTRY_CTLS) | in init_vmcs_control_fields() [all …]
|
/Linux-v4.19/drivers/cpufreq/ |
D | longrun.c | 40 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_get_policy() 47 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_get_policy() 96 rdmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_set_policy() 108 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_set_policy() 185 rdmsr(MSR_TMTA_LRTI_READOUT, msr_lo, msr_hi); in longrun_determine_freqs() 187 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs() 192 rdmsr(MSR_TMTA_LRTI_VOLT_MHZ, msr_lo, msr_hi); in longrun_determine_freqs() 209 rdmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()
|
D | speedstep-lib.c | 76 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_tmp); in pentium3_get_frequency() 113 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_tmp); in pentiumM_get_frequency() 136 rdmsr(MSR_FSB_FREQ, msr_lo, msr_tmp); in pentium_core_get_frequency() 161 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_tmp); in pentium_core_get_frequency() 190 rdmsr(0x2c, msr_lo, msr_hi); in pentium4_get_frequency() 346 rdmsr(MSR_IA32_EBL_CR_POWERON, msr_lo, msr_hi); in speedstep_detect_processor() 359 rdmsr(MSR_IA32_PLATFORM_ID, msr_lo, msr_hi); in speedstep_detect_processor()
|
D | e_powersaver.c | 104 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_get() 116 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 120 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 132 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 144 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 200 rdmsr(0x1153, lo, hi); in eps_cpu_init() 205 rdmsr(0x1154, lo, hi); in eps_cpu_init() 243 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_cpu_init()
|
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/ |
D | p5.c | 27 rdmsr(MSR_IA32_P5_MC_ADDR, loaddr, hi); in pentium_machine_check() 28 rdmsr(MSR_IA32_P5_MC_TYPE, lotype, hi); in pentium_machine_check() 61 rdmsr(MSR_IA32_P5_MC_ADDR, l, h); in intel_p5_mcheck_init() 62 rdmsr(MSR_IA32_P5_MC_TYPE, l, h); in intel_p5_mcheck_init()
|
D | therm_throt.c | 438 rdmsr(MSR_IA32_MISC_ENABLE, l, h); in intel_init_thermal() 464 rdmsr(MSR_THERM2_CTL, l, h); in intel_init_thermal() 475 rdmsr(MSR_IA32_THERM_INTERRUPT, l, h); in intel_init_thermal() 489 rdmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in intel_init_thermal() 508 rdmsr(MSR_IA32_MISC_ENABLE, l, h); in intel_init_thermal()
|
D | winchip.c | 36 rdmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
|
/Linux-v4.19/arch/x86/kernel/cpu/mtrr/ |
D | generic.c | 56 rdmsr(MSR_K8_SYSCFG, lo, hi); in k8_check_syscfg_dram_mod_en() 317 rdmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); in get_mtrr_var_range() 318 rdmsr(MTRRphysMask_MSR(index), vr->mask_lo, vr->mask_hi); in get_mtrr_var_range() 342 rdmsr(MSR_MTRRfix64K_00000, p[0], p[1]); in get_fixed_ranges() 345 rdmsr(MSR_MTRRfix16K_80000 + i, p[2 + i * 2], p[3 + i * 2]); in get_fixed_ranges() 347 rdmsr(MSR_MTRRfix4K_C0000 + i, p[6 + i * 2], p[7 + i * 2]); in get_fixed_ranges() 470 rdmsr(MSR_MTRRcap, lo, dummy); in get_mtrr_state() 478 rdmsr(MSR_MTRRdefType, lo, dummy); in get_mtrr_state() 486 rdmsr(MSR_K8_TOP_MEM2, low, high); in get_mtrr_state() 542 rdmsr(msr, lo, hi); in set_fixed_range() [all …]
|
D | amd.c | 15 rdmsr(MSR_K6_UWCCR, low, high); in amd_get_mtrr() 67 rdmsr(MSR_K6_UWCCR, regs[0], regs[1]); in amd_set_mtrr()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | centaur.c | 38 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3() 46 rdmsr(MSR_VIA_RNG, lo, hi); in init_c3() 60 rdmsr(MSR_VIA_FCR, lo, hi); in init_c3() 126 rdmsr(MSR_IA32_VMX_PROCBASED_CTLS, vmx_msr_low, vmx_msr_high); in centaur_detect_vmx_virtcap() 134 rdmsr(MSR_IA32_VMX_PROCBASED_CTLS2, in centaur_detect_vmx_virtcap() 218 rdmsr(MSR_IDT_FCR1, lo, hi); in init_centaur()
|
/Linux-v4.19/arch/x86/kernel/ |
D | tsc_msr.c | 90 rdmsr(MSR_PLATFORM_INFO, lo, hi); in cpu_khz_from_msr() 93 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in cpu_khz_from_msr() 98 rdmsr(MSR_FSB_FREQ, lo, hi); in cpu_khz_from_msr()
|
D | verify_cpu.S | 96 rdmsr 128 rdmsr
|
/Linux-v4.19/arch/x86/oprofile/ |
D | op_model_p4.c | 534 rdmsr(ev->bindings[i].escr_address, escr, high); in pmc_setup_one_p4_counter() 548 rdmsr(p4_counters[VIRT_CTR(stag, ctr)].cccr_address, in pmc_setup_one_p4_counter() 578 rdmsr(MSR_IA32_MISC_ENABLE, low, high); in p4_setup_ctrs() 588 rdmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_setup_ctrs() 647 rdmsr(p4_counters[real].cccr_address, low, high); in p4_check_ctrs() 648 rdmsr(p4_counters[real].counter_address, ctr, high); in p4_check_ctrs() 678 rdmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_start() 695 rdmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_stop()
|
/Linux-v4.19/tools/power/cpupower/debug/i386/ |
D | centrino-decode.c | 29 static int rdmsr(unsigned int cpu, unsigned int msr, in rdmsr() function 81 err = rdmsr(cpu, MSR_IA32_PERF_STATUS, &lo, &hi); in decode_live()
|
/Linux-v4.19/drivers/ide/ |
D | cs5535.c | 101 rdmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, dummy); in cs5535_set_speed() 111 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy); in cs5535_set_speed() 115 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy); in cs5535_set_speed()
|
/Linux-v4.19/drivers/ata/ |
D | pata_cs5536.c | 48 #undef rdmsr /* avoid accidental MSR usage on, e.g. x86-64 */ 50 #define rdmsr(x, y, z) do { } while (0) macro 103 rdmsr(MSR_IDE_CFG + reg, *val, dummy); in cs5536_read()
|
D | pata_cs5535.c | 125 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_piomode() 147 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_dmamode()
|
/Linux-v4.19/arch/x86/mm/ |
D | mem_encrypt_boot.S | 117 rdmsr 150 rdmsr
|
/Linux-v4.19/drivers/char/hw_random/ |
D | via-rng.c | 153 rdmsr(MSR_VIA_RNG, lo, hi); in via_rng_init() 177 rdmsr(MSR_VIA_RNG, lo, hi); in via_rng_init()
|
/Linux-v4.19/drivers/misc/ |
D | cs5535-mfgpt.c | 87 rdmsr(msr, value, dummy); in cs5535_mfgpt_toggle_event() 118 rdmsr(MSR_PIC_ZSEL_LOW, zsel, dummy); in cs5535_mfgpt_set_irq() 132 rdmsr(MSR_PIC_IRQM_LPC, lpc, dummy); in cs5535_mfgpt_set_irq()
|
/Linux-v4.19/drivers/hwmon/ |
D | hwmon-vid.c | 254 rdmsr(0x198, dummy, vid); in get_via_model_d_vrm() 257 rdmsr(0x1154, brand, dummy); in get_via_model_d_vrm()
|
/Linux-v4.19/arch/x86/boot/compressed/ |
D | efi_thunk_64.S | 132 rdmsr 159 rdmsr
|
/Linux-v4.19/arch/x86/hyperv/ |
D | hv_apic.c | 63 rdmsr(HV_X64_MSR_EOI, reg_val, hi); in hv_apic_read() 66 rdmsr(HV_X64_MSR_TPR, reg_val, hi); in hv_apic_read()
|
/Linux-v4.19/drivers/thermal/ |
D | x86_pkg_temp_thermal.c | 264 rdmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in enable_pkg_thres_interrupt() 280 rdmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in disable_pkg_thres_interrupt() 392 rdmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, pkgdev->msr_pkg_therm_low, in pkg_temp_thermal_device_add()
|
/Linux-v4.19/drivers/char/agp/ |
D | nvidia-agp.c | 76 rdmsr(IORR_BASE0 + 2 * iorr_addr, base_lo, base_hi); in nvidia_init_iorr() 77 rdmsr(IORR_MASK0 + 2 * iorr_addr, mask_lo, mask_hi); in nvidia_init_iorr() 98 rdmsr(SYSCFG, sys_lo, sys_hi); in nvidia_init_iorr()
|