Home
last modified time | relevance | path

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

12

/linux-3.4.99/arch/x86/kernel/cpu/
Dcentaur.c36 wrmsr(reg+MSR_IDT_MCR0, lo, hi); in centaur_mcr_insert()
181 wrmsr(MSR_IDT_MCR0+i, 0, 0); in centaur_create_optimal_mcr()
207 wrmsr(MSR_IDT_MCR_CTRL, lo, hi); in winchip2_create_optimal_mcr()
214 wrmsr(MSR_IDT_MCR0+i, 0, 0); in winchip2_create_optimal_mcr()
229 wrmsr(MSR_IDT_MCR_CTRL, lo, hi); in winchip2_unprotect_mcr()
238 wrmsr(MSR_IDT_MCR_CTRL, lo, hi); in winchip2_protect_mcr()
262 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3()
270 wrmsr(MSR_VIA_RNG, lo, hi); in init_c3()
284 wrmsr(MSR_VIA_FCR, lo, hi); in init_c3()
378 wrmsr(MSR_IDT_MCR_CTRL, 0x01F0001F, 0); in init_centaur()
[all …]
Dtransmeta.c85 wrmsr(0x80860004, ~0, uk); in init_transmeta()
87 wrmsr(0x80860004, cap_mask, uk); in init_transmeta()
Damd.c113 wrmsr(MSR_K6_WHCR, l, h); in init_amd_k6()
134 wrmsr(MSR_K6_WHCR, l, h); in init_amd_k6()
211 wrmsr(MSR_K7_HWCR, l, h); in init_amd_k7()
227 wrmsr(MSR_K7_CLK_CTL, (l & 0x000fffff)|0x20000000, h); in init_amd_k7()
Dintel.c53 wrmsr(MSR_IA32_UCODE_REV, 0, 0); in early_init_intel()
243 wrmsr(MSR_IA32_MISC_ENABLE, lo, hi); in intel_workarounds()
/linux-3.4.99/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()
188 wrmsr(MSR_TMTA_LRTI_READOUT, msr_hi, msr_hi); in longrun_determine_freqs()
193 wrmsr(MSR_TMTA_LRTI_READOUT, 0, msr_hi); in longrun_determine_freqs()
226 wrmsr(MSR_TMTA_LONGRUN_CTRL, msr_lo, msr_hi); in longrun_determine_freqs()
232 wrmsr(MSR_TMTA_LONGRUN_CTRL, save_lo, save_hi); in longrun_determine_freqs()
Dpowernow-k6.c90 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_get_cpu_multiplier()
93 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_get_cpu_multiplier()
120 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ in powernow_k6_set_cpu_multiplier()
126 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ in powernow_k6_set_cpu_multiplier()
/linux-3.4.99/drivers/ata/
Dpata_cs5535.c118 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode()
122 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, in cs5535_set_piomode()
127 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); in cs5535_set_piomode()
154 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
98 wrmsr(MSR_IDE_CFG + reg, val, 0); in cs5536_write()
/linux-3.4.99/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-3.4.99/arch/x86/kernel/cpu/mcheck/
Dtherm_throt.c474 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal()
478 wrmsr(MSR_IA32_THERM_INTERRUPT, in intel_init_thermal()
484 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal()
489 wrmsr(MSR_IA32_PACKAGE_THERM_INTERRUPT, in intel_init_thermal()
497 wrmsr(MSR_IA32_MISC_ENABLE, l | MSR_IA32_MISC_ENABLE_TM1, h); in intel_init_thermal()
Dwinchip.c33 wrmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
/linux-3.4.99/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-3.4.99/arch/x86/include/asm/
Dmsr.h155 static inline void wrmsr(unsigned msr, unsigned low, unsigned high) in wrmsr() function
262 #define write_tsc(val1, val2) wrmsr(MSR_IA32_TSC, (val1), (val2))
264 #define write_rdtscp_aux(val) wrmsr(MSR_TSC_AUX, (val), 0)
286 wrmsr(msr_no, l, h); in wrmsr_on_cpu()
/linux-3.4.99/drivers/misc/
Dcs5535-mfgpt.c91 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()
/linux-3.4.99/arch/x86/kernel/acpi/realmode/
Dwakeup.S105 wrmsr
125 wrmsr
/linux-3.4.99/arch/x86/kernel/
Dverify_cpu.S97 wrmsr
128 wrmsr
Dmicrocode_intel.c304 wrmsr(MSR_IA32_UCODE_WRITE, in apply_microcode()
307 wrmsr(MSR_IA32_UCODE_REV, 0, 0); in apply_microcode()
Dhead_64.S189 1: wrmsr /* Make changes effective */
238 wrmsr
/linux-3.4.99/arch/x86/vdso/
Dvdso32-setup.c239 wrmsr(MSR_IA32_SYSENTER_CS, __KERNEL_CS, 0); in enable_sep_cpu()
240 wrmsr(MSR_IA32_SYSENTER_ESP, tss->x86_tss.sp1, 0); in enable_sep_cpu()
241 wrmsr(MSR_IA32_SYSENTER_EIP, (unsigned long) ia32_sysenter_target, 0); in enable_sep_cpu()
/linux-3.4.99/arch/x86/kernel/cpu/mtrr/
Damd.c91 wrmsr(MSR_K6_UWCCR, regs[0], regs[1]); in amd_set_mtrr()
Dcentaur.c95 wrmsr(MSR_IDT_MCR0 + reg, low, high); in centaur_set_mcr()
/linux-3.4.99/drivers/video/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()
/linux-3.4.99/drivers/char/agp/
Dnvidia-agp.c95 wrmsr(IORR_BASE0 + 2 * iorr_addr, base_lo, base_hi); in nvidia_init_iorr()
96 wrmsr(IORR_MASK0 + 2 * iorr_addr, mask_lo, mask_hi); in nvidia_init_iorr()
100 wrmsr(SYSCFG, sys_lo, sys_hi); in nvidia_init_iorr()
/linux-3.4.99/drivers/lguest/x86/
Dcore.c217 wrmsr(MSR_IA32_SYSENTER_CS, 0, 0); in lguest_arch_run_guest()
235 wrmsr(MSR_IA32_SYSENTER_CS, __KERNEL_CS, 0); in lguest_arch_run_guest()
/linux-3.4.99/drivers/char/hw_random/
Dvia-rng.c176 wrmsr(MSR_VIA_RNG, lo, hi); in via_rng_init()

12