Searched refs:msrval (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/cpufreq/
H A Dpowernow-k6.c86 u32 msrval; powernow_k6_get_cpu_multiplier() local
90 msrval = POWERNOW_IOPORT + 0x1; powernow_k6_get_cpu_multiplier()
91 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ powernow_k6_get_cpu_multiplier()
93 msrval = POWERNOW_IOPORT + 0x0; powernow_k6_get_cpu_multiplier()
94 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ powernow_k6_get_cpu_multiplier()
104 unsigned long msrval; powernow_k6_set_cpu_multiplier() local
120 msrval = POWERNOW_IOPORT + 0x1; powernow_k6_set_cpu_multiplier()
121 wrmsr(MSR_K6_EPMR, msrval, 0); /* enable the PowerNow port */ powernow_k6_set_cpu_multiplier()
126 msrval = POWERNOW_IOPORT + 0x0; powernow_k6_set_cpu_multiplier()
127 wrmsr(MSR_K6_EPMR, msrval, 0); /* disable it again */ powernow_k6_set_cpu_multiplier()
/linux-4.4.14/drivers/video/fbdev/geode/
H A Dlxfb_ops.c348 u64 msrval; lx_set_mode() local
365 rdmsrl(MSR_LX_GLD_MSR_CONFIG, msrval); lx_set_mode()
366 msrval &= ~MSR_LX_GLD_MSR_CONFIG_FMT; lx_set_mode()
369 msrval |= MSR_LX_GLD_MSR_CONFIG_FMT_FP; lx_set_mode()
372 msrval |= MSR_LX_GLD_MSR_CONFIG_FPC; lx_set_mode()
374 msrval &= ~MSR_LX_GLD_MSR_CONFIG_FPC; lx_set_mode()
376 msrval |= MSR_LX_GLD_MSR_CONFIG_FMT_CRT; lx_set_mode()
378 wrmsrl(MSR_LX_GLD_MSR_CONFIG, msrval); lx_set_mode()
426 rdmsrl(MSR_LX_SPARE_MSR, msrval); lx_set_mode()
428 msrval &= ~(MSR_LX_SPARE_MSR_DIS_CFIFO_HGO lx_set_mode()
432 msrval |= MSR_LX_SPARE_MSR_DIS_VIFO_WM | lx_set_mode()
434 wrmsrl(MSR_LX_SPARE_MSR, msrval); lx_set_mode()

Completed in 198 milliseconds