Searched refs:msa (Results 1 – 6 of 6) sorted by relevance
165 struct msa_extcontext __user *msa = buf; in save_msa_extcontext() local188 err = __put_user(read_msa_csr(), &msa->csr); in save_msa_extcontext()189 err |= _save_msa_all_upper(&msa->wr); in save_msa_extcontext()195 err = __put_user(current->thread.fpu.msacsr, &msa->csr); in save_msa_extcontext()199 err |= __put_user(val, &msa->wr[i]); in save_msa_extcontext()203 err |= __put_user(MSA_EXTCONTEXT_MAGIC, &msa->ext.magic); in save_msa_extcontext()204 err |= __put_user(sizeof(*msa), &msa->ext.size); in save_msa_extcontext()206 return err ? -EFAULT : sizeof(*msa); in save_msa_extcontext()211 struct msa_extcontext __user *msa = buf; in restore_msa_extcontext() local216 if (size != sizeof(*msa)) in restore_msa_extcontext()[all …]
557 BUILD_HANDLER msa msa sti silent /* #21 */
1230 static int enable_restore_fp_context(int msa) in enable_restore_fp_context() argument1241 if (msa && !err) { in enable_restore_fp_context()1277 if (!msa && !thread_msa_context_live()) in enable_restore_fp_context()1339 static int enable_restore_fp_context(int msa) in enable_restore_fp_context() argument
246 .set msa255 .set msa264 .set msa273 .set msa282 .set msa291 .set msa300 .set msa309 .set msa318 .set msa327 .set msa[all …]
9 common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o
218 toolchain-msa := $(call cc-option-yn,$(mips-cflags) -mhard-float -mfp64 -Wa$(comma)-mmsa)219 cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA