Home
last modified time | relevance | path

Searched refs:is_lsx_enabled (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/loongarch/include/asm/
H A Dfpu.h67 static inline int is_lsx_enabled(void) in is_lsx_enabled() function
87 return is_lsx_enabled() | is_lasx_enabled(); in is_simd_enabled()
/openbmc/linux/arch/loongarch/kernel/
H A Dtraps.c879 BUG_ON(!is_lsx_enabled()); in init_restore_lsx()
905 BUG_ON(!is_lsx_enabled()); in init_restore_lasx()
915 BUG_ON(is_lsx_enabled()); in do_fpu()
H A Dsignal.c471 if (is_lsx_enabled()) in protected_save_lsx_context()
512 if (is_lsx_enabled()) in protected_restore_lsx_context()
550 if (is_lsx_enabled()) in protected_save_lasx_context()
595 if (is_lsx_enabled()) in protected_restore_lasx_context()
H A Dprocess.c121 else if (is_lsx_enabled()) in arch_dup_task_struct()