Searched refs:cpu_has_msa (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/arch/mips/include/asm/
H A Dmsa.h23 if (cpu_has_msa) { enable_msa()
31 if (cpu_has_msa) { disable_msa()
39 if (!cpu_has_msa) is_msa_enabled()
48 * Check cpu_has_msa only if it's a constant. This will allow the thread_msa_context_live()
52 if (__builtin_constant_p(cpu_has_msa) && !cpu_has_msa) thread_msa_context_live()
60 if (cpu_has_msa) save_msa()
66 if (cpu_has_msa) restore_msa()
73 * Check cpu_has_msa only if it's a constant. This will allow the init_msa_upper()
77 if (__builtin_constant_p(cpu_has_msa) && !cpu_has_msa) init_msa_upper()
H A Dcpu-features.h397 #if defined(CONFIG_CPU_HAS_MSA) && !defined(cpu_has_msa)
398 # define cpu_has_msa (cpu_data[0].ases & MIPS_ASE_MSA) macro
399 #elif !defined(cpu_has_msa)
400 # define cpu_has_msa 0 macro
H A Dkvm_host.h588 return (!__builtin_constant_p(cpu_has_msa) || cpu_has_msa) && kvm_mips_guest_can_have_msa()
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
H A Dcpu-feature-overrides.h63 #define cpu_has_msa 0 macro
/linux-4.1.27/arch/mips/kernel/
H A Dproc.c120 if (cpu_has_msa) seq_printf(m, "%s", " msa"); show_cpuinfo()
H A Dcpu-probe.c1489 if (cpu_has_msa) { cpu_probe()
1511 if (cpu_has_msa) cpu_report()
H A Dtraps.c1466 if (!cpu_has_msa || test_thread_flag(TIF_32BIT_FPREGS)) { do_msa()
/linux-4.1.27/arch/mips/kvm/
H A Dmips.c1093 r = cpu_has_msa && !(boot_cpu_data.msa_id & MSA_IR_WRPF); kvm_vm_ioctl_check_extension()
1437 if (cpu_has_msa && sr & ST0_CU1 && !(sr & ST0_FR) && kvm_own_fpu()
1524 if (cpu_has_msa && vcpu->arch.fpu_inuse & KVM_MIPS_FPU_MSA) { kvm_drop_fpu()
1546 if (cpu_has_msa && vcpu->arch.fpu_inuse & KVM_MIPS_FPU_MSA) { kvm_lose_fpu()
1602 if (!cpu_has_msa || kvm_mips_csr_die_notify()

Completed in 179 milliseconds