/Linux-v4.19/drivers/cpufreq/ |
D | longrun.c | 105 wrmsr(MSR_TMTA_LONGRUN_FLAGS, msr_lo, msr_hi); in longrun_set_policy() 113 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_set_policy() 186 wrmsr(MSR_TMTA_LRTI_READOUT, msr_hi, msr_hi); in longrun_determine_freqs() 191 wrmsr(MSR_TMTA_LRTI_READOUT, 0, msr_hi); in longrun_determine_freqs() 224 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs() 230 wrmsr(MSR_TMTA_LONGRUN_CTRL, save_lo, save_hi); in longrun_determine_freqs()
|
D | powernow-k6.c | 92 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_get_cpu_multiplier() 95 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_get_cpu_multiplier() 122 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_set_cpu_multiplier() 128 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_set_cpu_multiplier()
|
/Linux-v4.19/drivers/ata/ |
D | pata_cs5535.c | 117 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode() 121 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, in cs5535_set_piomode() 126 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); in cs5535_set_piomode() 153 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); in cs5535_set_dmamode()
|
D | pata_cs5536.c | 49 #undef wrmsr 51 #define wrmsr(x, y, z) do { } while (0) macro 113 wrmsr(MSR_IDE_CFG + reg, val, 0); in cs5536_write()
|
/Linux-v4.19/drivers/ide/ |
D | cs5535.c | 98 wrmsr(unit ? ATAC_CH0D1_PIO : ATAC_CH0D0_PIO, reg, 0); in cs5535_set_speed() 107 wrmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, 0); in cs5535_set_speed() 112 wrmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, in cs5535_set_speed() 126 wrmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, 0); in cs5535_set_speed()
|
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/ |
D | therm_throt.c | 477 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal() 481 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal() 485 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal() 491 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal() 496 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal() 501 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal() 509 wrmsr(MSR_IA32_MISC_ENABLE, l | MSR_IA32_MISC_ENABLE_TM1, h); in intel_init_thermal()
|
D | winchip.c | 39 wrmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | centaur.c | 40 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3() 48 wrmsr(MSR_VIA_RNG, lo, hi); in init_c3() 62 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3() 224 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 | amd.c | 165 wrmsr(MSR_K6_WHCR, l, h); in init_amd_k6() 186 wrmsr(MSR_K6_WHCR, l, h); in init_amd_k6() 231 wrmsr(MSR_K7_CLK_CTL, (l & 0x000fffff)|0x20000000, h); in init_amd_k7() 1085 wrmsr(MSR_F16H_DR0_ADDR_MASK, mask, 0); in set_dr_addr_mask() 1090 wrmsr(MSR_F16H_DR1_ADDR_MASK - 1 + dr, mask, 0); in set_dr_addr_mask()
|
/Linux-v4.19/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()
|
/Linux-v4.19/arch/x86/hyperv/ |
D | hv_apic.c | 78 wrmsr(HV_X64_MSR_EOI, val, 0); in hv_apic_write() 81 wrmsr(HV_X64_MSR_TPR, val, 0); in hv_apic_write() 90 wrmsr(HV_X64_MSR_EOI, val, 0); in hv_apic_eoi_write()
|
/Linux-v4.19/arch/x86/mm/ |
D | mem_encrypt_boot.S | 121 wrmsr 152 wrmsr
|
/Linux-v4.19/tools/testing/selftests/kvm/ |
D | vmx_tsc_adjust_test.c | 78 wrmsr(MSR_IA32_TSC, l1_tsc - TSC_ADJUST_VALUE); in l2_guest_code() 93 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | msr.h | 262 static inline void wrmsr(unsigned int msr, u32 low, u32 high) in wrmsr() function 318 #define write_tsc(low, high) wrmsr(MSR_IA32_TSC, (low), (high)) 320 #define write_rdtscp_aux(val) wrmsr(MSR_TSC_AUX, (val), 0) 348 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
|
D | intel_rdt_sched.h | 77 wrmsr(IA32_PQR_ASSOC, rmid, closid); in __intel_rdt_sched_in()
|
D | switch_to.h | 85 wrmsr(MSR_IA32_SYSENTER_CS, thread->sysenter_cs, 0); in refresh_sysenter_cs()
|
/Linux-v4.19/arch/x86/realmode/rm/ |
D | wakeup_asm.S | 104 wrmsr 124 wrmsr
|
/Linux-v4.19/arch/x86/xen/ |
D | xen-pvh.S | 94 wrmsr 112 wrmsr
|
/Linux-v4.19/drivers/misc/ |
D | cs5535-mfgpt.c | 94 wrmsr(msr, value, dummy); in cs5535_mfgpt_toggle_event() 141 wrmsr(MSR_PIC_ZSEL_LOW, zsel, dummy); in cs5535_mfgpt_set_irq() 258 wrmsr(MSR_MFGPT_SETUP, val, dummy); in reset_all_timers()
|
/Linux-v4.19/arch/x86/kernel/ |
D | verify_cpu.S | 99 wrmsr 130 wrmsr
|
/Linux-v4.19/arch/x86/boot/compressed/ |
D | efi_thunk_64.S | 134 wrmsr 161 wrmsr
|
/Linux-v4.19/drivers/thermal/ |
D | x86_pkg_temp_thermal.c | 272 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in enable_pkg_thres_interrupt() 283 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in disable_pkg_thres_interrupt() 454 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in pkg_thermal_cpu_offline()
|
/Linux-v4.19/arch/x86/kernel/cpu/mtrr/ |
D | amd.c | 92 wrmsr(MSR_K6_UWCCR, regs[0], regs[1]); in amd_set_mtrr()
|
/Linux-v4.19/drivers/video/fbdev/geode/ |
D | suspend_gx.c | 55 wrmsr(MSR_GLCP_DOTPLL, dotpll_lo, dotpll_hi); in gx_set_dotpll() 67 wrmsr(MSR_GLCP_DOTPLL, dotpll_lo, dotpll_hi); in gx_set_dotpll()
|