Home
last modified time | relevance | path

Searched refs:wrmsr (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v4.19/drivers/cpufreq/
Dlongrun.c105 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()
Dpowernow-k6.c92 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/
Dpata_cs5535.c117 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()
Dpata_cs5536.c49 #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/
Dcs5535.c98 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/
Dtherm_throt.c477 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()
Dwinchip.c39 wrmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
/Linux-v4.19/arch/x86/kernel/cpu/
Dcentaur.c40 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()
Dtransmeta.c87 wrmsr(0x80860004, ~0, uk); in init_transmeta()
89 wrmsr(0x80860004, cap_mask, uk); in init_transmeta()
Damd.c165 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/
Dop_model_p4.c545 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/
Dhv_apic.c78 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/
Dmem_encrypt_boot.S121 wrmsr
152 wrmsr
/Linux-v4.19/tools/testing/selftests/kvm/
Dvmx_tsc_adjust_test.c78 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/
Dmsr.h262 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()
Dintel_rdt_sched.h77 wrmsr(IA32_PQR_ASSOC, rmid, closid); in __intel_rdt_sched_in()
Dswitch_to.h85 wrmsr(MSR_IA32_SYSENTER_CS, thread->sysenter_cs, 0); in refresh_sysenter_cs()
/Linux-v4.19/arch/x86/realmode/rm/
Dwakeup_asm.S104 wrmsr
124 wrmsr
/Linux-v4.19/arch/x86/xen/
Dxen-pvh.S94 wrmsr
112 wrmsr
/Linux-v4.19/drivers/misc/
Dcs5535-mfgpt.c94 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/
Dverify_cpu.S99 wrmsr
130 wrmsr
/Linux-v4.19/arch/x86/boot/compressed/
Defi_thunk_64.S134 wrmsr
161 wrmsr
/Linux-v4.19/drivers/thermal/
Dx86_pkg_temp_thermal.c272 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/
Damd.c92 wrmsr(MSR_K6_UWCCR, regs[0], regs[1]); in amd_set_mtrr()
/Linux-v4.19/drivers/video/fbdev/geode/
Dsuspend_gx.c55 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()

123