Searched refs:cpu_has_lsx (Results 1 – 12 of 12) sorted by relevance
70 if (!cpu_has_lsx) in is_lsx_enabled()212 if (cpu_has_lsx) in enable_lsx()218 if (cpu_has_lsx) in disable_lsx()224 if (cpu_has_lsx) in save_lsx()230 if (cpu_has_lsx) in restore_lsx()236 if (cpu_has_lsx) in init_lsx_upper()242 if (cpu_has_lsx) in restore_lsx_upper()305 if (!cpu_has_lsx) in thread_lsx_context_live()
22 if (cpu_has_lsx) \
43 #define cpu_has_lsx cpu_opt(LOONGARCH_CPU_LSX) macro
33 #define cpu_has_lsx (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LSX) macro
30 return cpu_has_lsx; in raid6_has_lsx()
26 return cpu_has_lsx; in raid6_has_lsx()
82 if (cpu_has_lsx) in init_euen_mask()
81 if (cpu_has_lsx) seq_printf(m, " lsx"); in show_cpuinfo()
957 if (!cpu_has_lsx) { in do_lsx()
878 else if (cpu_has_lsx && thread_lsx_context_live()) in setup_extcontext()
113 if (cpu_has_lsx) in kvm_vm_feature_has_attr()
636 if (cpu_has_lsx) in _kvm_get_cpucfg_mask()