Searched refs:is_lsx_enabled (Results 1 – 4 of 4) sorted by relevance
67 static inline int is_lsx_enabled(void) in is_lsx_enabled() function87 return is_lsx_enabled() | is_lasx_enabled(); in is_simd_enabled()
879 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()
471 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()
121 else if (is_lsx_enabled()) in arch_dup_task_struct()