Home
last modified time | relevance | path

Searched refs:cpu_has_lsx (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/arch/loongarch/include/asm/
H A Dfpu.h77 if (!cpu_has_lsx) in is_lsx_enabled()
219 if (cpu_has_lsx) in enable_lsx()
225 if (cpu_has_lsx) in disable_lsx()
231 if (cpu_has_lsx) in save_lsx()
237 if (cpu_has_lsx) in restore_lsx()
243 if (cpu_has_lsx) in init_lsx_upper()
249 if (cpu_has_lsx) in restore_lsx_upper()
312 if (!cpu_has_lsx) in thread_lsx_context_live()
H A Dxor.h22 if (cpu_has_lsx) \
H A Dcpu-features.h43 #define cpu_has_lsx cpu_opt(LOONGARCH_CPU_LSX) macro
/linux-6.15/lib/raid6/
H A Dloongarch.h33 #define cpu_has_lsx (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LSX) macro
H A Dloongarch_simd.c30 return cpu_has_lsx; in raid6_has_lsx()
H A Drecov_loongarch_simd.c26 return cpu_has_lsx; in raid6_has_lsx()
/linux-6.15/arch/loongarch/kernel/
H A Dkfpu.c100 if (cpu_has_lsx) in init_euen_mask()
H A Dproc.c65 if (cpu_has_lsx) seq_printf(m, " lsx"); in show_cpuinfo()
H A Dtraps.c967 if (!cpu_has_lsx) { in do_lsx()
H A Dsignal.c857 else if (cpu_has_lsx && thread_lsx_context_live()) in setup_extcontext()
/linux-6.15/arch/loongarch/kvm/
H A Dvm.c120 if (cpu_has_lsx) in kvm_vm_feature_has_attr()
H A Dvcpu.c667 if (cpu_has_lsx) in _kvm_get_cpucfg_mask()