/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | longrun.c | 104 wrmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_set_policy() 112 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_set_policy() 181 wrmsr(MSR_TMTA_LRTI_READOUT, msr_hi, msr_hi); in longrun_determine_freqs() 186 wrmsr(MSR_TMTA_LRTI_READOUT, 0, msr_hi); in longrun_determine_freqs() 219 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs() 225 wrmsr(MSR_TMTA_LONGRUN_CTRL, save_lo, save_hi); in longrun_determine_freqs()
|
D | powernow-k6.c | 91 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_get_cpu_multiplier() 94 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_get_cpu_multiplier() 121 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_set_cpu_multiplier() 127 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_set_cpu_multiplier()
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_cs5535.c | 105 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode() 109 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, in cs5535_set_piomode() 114 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); in cs5535_set_piomode() 141 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); in cs5535_set_dmamode()
|
D | pata_cs5536.c | 37 #undef wrmsr 39 #define wrmsr(x, y, z) do { } while (0) macro 101 wrmsr(MSR_IDE_CFG + reg, val, 0); in cs5536_write()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | cs5535.c | 95 wrmsr(unit ? ATAC_CH0D1_PIO : ATAC_CH0D0_PIO, reg, 0); in cs5535_set_speed() 104 wrmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, 0); in cs5535_set_speed() 109 wrmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, in cs5535_set_speed() 123 wrmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, 0); in cs5535_set_speed()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
D | tsc_msrs_test.c | 39 wrmsr(MSR_IA32_TSC, val); in guest_code() 46 wrmsr(MSR_IA32_TSC_ADJUST, val); in guest_code() 61 wrmsr(MSR_IA32_TSC_ADJUST, val); in guest_code() 71 wrmsr(MSR_IA32_TSC, val); in guest_code()
|
D | user_msr_test.c | 97 wrmsr(MSR_SYSCALL_MASK, 0); in guest_msr_calls() 109 wrmsr(MSR_IA32_POWER_CTL, 0x1234); in guest_msr_calls() 116 wrmsr(0xdeadbeef, 0x1234); in guest_msr_calls()
|
D | vmx_tsc_adjust_test.c | 76 wrmsr(MSR_IA32_TSC, l1_tsc - TSC_ADJUST_VALUE); in l2_guest_code() 91 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
|
D | smm_test.c | 58 wrmsr(APIC_BASE_MSR + (APIC_ICR >> 4), in self_smi() 68 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | centaur.c | 34 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3() 42 wrmsr(MSR_VIA_RNG, lo, hi); in init_c3() 56 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3() 190 wrmsr(MSR_IDT_FCR1, newlo, hi); in init_centaur()
|
D | transmeta.c | 87 wrmsr(0x80860004, ~0, uk); in init_transmeta() 89 wrmsr(0x80860004, cap_mask, uk); in init_transmeta()
|
D | zhaoxin.c | 33 wrmsr(MSR_ZHAOXIN_FCR57, lo, hi); in init_zhaoxin_cap() 42 wrmsr(MSR_ZHAOXIN_FCR57, lo, hi); in init_zhaoxin_cap()
|
D | umwait.c | 36 wrmsr(MSR_IA32_UMWAIT_CONTROL, READ_ONCE(umwait_control_cached), 0); in umwait_update_control_msr() 74 wrmsr(MSR_IA32_UMWAIT_CONTROL, orig_umwait_control_cached, 0); in umwait_cpu_offline()
|
/kernel/linux/linux-5.10/arch/x86/oprofile/ |
D | op_model_p4.c | 545 wrmsr(ev->bindings[i].escr_address, escr, high); in pmc_setup_one_p4_counter() 557 wrmsr(p4_counters[VIRT_CTR(stag, ctr)].cccr_address, in pmc_setup_one_p4_counter() 591 wrmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_setup_ctrs() 598 wrmsr(msrs->controls[i].addr, 0, 0); in p4_setup_ctrs() 654 wrmsr(p4_counters[real].cccr_address, low, high); in p4_check_ctrs() 680 wrmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_start() 697 wrmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_stop()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | therm_throt.c | 700 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal() 704 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal() 708 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal() 714 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal() 719 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal() 724 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal() 732 wrmsr(MSR_IA32_MISC_ENABLE, l | MSR_IA32_MISC_ENABLE_TM1, h); in intel_init_thermal()
|
/kernel/linux/linux-5.10/arch/x86/hyperv/ |
D | hv_apic.c | 77 wrmsr(HV_X64_MSR_EOI, val, 0); in hv_apic_write() 80 wrmsr(HV_X64_MSR_TPR, val, 0); in hv_apic_write() 94 wrmsr(HV_X64_MSR_EOI, val, 0); in hv_apic_eoi_write()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | mem_encrypt_boot.S | 121 wrmsr 152 wrmsr
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | msr.h | 271 static inline void wrmsr(unsigned int msr, u32 low, u32 high) in wrmsr() function 327 #define write_tsc(low, high) wrmsr(MSR_IA32_TSC, (low), (high)) 329 #define write_rdtscp_aux(val) wrmsr(MSR_TSC_AUX, (val), 0) 357 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
|
/kernel/linux/linux-5.10/arch/x86/realmode/rm/ |
D | wakeup_asm.S | 104 wrmsr 124 wrmsr
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
D | efi_thunk_64.S | 122 wrmsr 147 wrmsr
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | cs5535-mfgpt.c | 91 wrmsr(msr, value, dummy); in cs5535_mfgpt_toggle_event() 138 wrmsr(MSR_PIC_ZSEL_LOW, zsel, dummy); in cs5535_mfgpt_set_irq() 255 wrmsr(MSR_MFGPT_SETUP, val, dummy); in reset_all_timers()
|
/kernel/linux/linux-5.10/arch/x86/platform/pvh/ |
D | head.S | 83 wrmsr 101 wrmsr
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | svm.c | 85 wrmsr(MSR_EFER, efer | EFER_SVME); in generic_svm_setup() 86 wrmsr(MSR_VM_HSAVE_PA, svm->save_area_gpa); in generic_svm_setup()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | verify_cpu.S | 97 wrmsr 128 wrmsr
|
/kernel/linux/linux-5.10/arch/x86/entry/ |
D | entry.S | 16 wrmsr
|