Home
last modified time | relevance | path

Searched refs:read_cr0 (Results 1 – 22 of 22) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
Dspecial_insns.h112 static inline unsigned long read_cr0(void) in read_cr0() function
189 #define stts() write_cr0(read_cr0() | X86_CR0_TS)
Dlguest.h77 cr0 = read_cr0(); in lguest_set_ts()
Dparavirt.h59 static inline unsigned long read_cr0(void) in read_cr0() function
61 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0); in read_cr0()
Dparavirt_types.h114 unsigned long (*read_cr0)(void); member
/linux-4.4.14/arch/x86/kernel/fpu/
Dinit.c36 cr0 = read_cr0(); in fpu__init_cpu_generic()
74 cr0 = read_cr0(); in fpu__init_system_early_generic()
Dbugs.c30 cr0_saved = read_cr0(); in check_fpu()
Dcore.c76 return !current->thread.fpu.fpregs_active && (read_cr0() & X86_CR0_TS); in interrupted_kernel_fpu_idle()
165 if (read_cr0() & X86_CR0_TS) { in irq_ts_save()
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/
Dcyrix.c149 cr0 = read_cr0() | X86_CR0_CD; in prepare_set()
170 write_cr0(read_cr0() & ~X86_CR0_CD); in post_set()
Dgeneric.c740 cr0 = read_cr0() | X86_CR0_CD; in prepare_set()
772 write_cr0(read_cr0() & ~X86_CR0_CD); in post_set()
/linux-4.4.14/arch/x86/kernel/acpi/
Dsleep.c80 header->pmode_cr0 = read_cr0(); in x86_acpi_suspend_lowlevel()
/linux-4.4.14/arch/x86/kernel/
Dasm-offsets.c71 OFFSET(PV_CPU_read_cr0, pv_cpu_ops, read_cr0); in common()
Dprocess_32.c101 cr0 = read_cr0(); in __show_regs()
Dparavirt.c350 .read_cr0 = native_read_cr0,
Dprocess_64.c93 cr0 = read_cr0(); in __show_regs()
Dtraps.c756 if (read_cr0() & X86_CR0_EM) { in do_device_not_available()
/linux-4.4.14/drivers/edac/
Damd64_edac.h448 write_cr0(read_cr0() | X86_CR0_CD); in disable_caches()
454 write_cr0(read_cr0() & ~X86_CR0_CD); in enable_caches()
/linux-4.4.14/arch/x86/power/
Dcpu.c105 ctxt->cr0 = read_cr0(); in __save_processor_state()
/linux-4.4.14/drivers/cpufreq/
Dpowernow-k6.c114 cr0 = read_cr0(); in powernow_k6_set_cpu_multiplier()
/linux-4.4.14/arch/x86/kernel/cpu/
Dcyrix.c136 write_cr0(read_cr0() | X86_CR0_NW); in set_cx86_memwb()
/linux-4.4.14/arch/x86/xen/
Denlighten.c1211 .read_cr0 = xen_read_cr0,
1472 write_cr0(read_cr0() | X86_CR0_MP | X86_CR0_NE | X86_CR0_WP | X86_CR0_AM); in xen_pvh_set_cr_flags()
/linux-4.4.14/arch/x86/lguest/
Dboot.c1446 pv_cpu_ops.read_cr0 = lguest_read_cr0; in lguest_init()
/linux-4.4.14/arch/x86/kvm/
Dvmx.c4635 vmcs_writel(HOST_CR0, read_cr0() & ~X86_CR0_TS); /* 22.2.3 */ in vmx_set_constant_host_state()