Searched refs:lsx_ctx (Results 1 – 2 of 2) sorted by relevance
187 struct target_lsx_context *lsx_ctx; in setup_sigframe() local193 lsx_ctx = (struct target_lsx_context *)(info + 1); in setup_sigframe()196 __put_user(env->fpr[i].vreg.UD(0), &lsx_ctx->regs[2 * i]); in setup_sigframe()197 __put_user(env->fpr[i].vreg.UD(1), &lsx_ctx->regs[2 * i + 1]); in setup_sigframe()199 __put_user(read_fcc(env), &lsx_ctx->fcc); in setup_sigframe()200 __put_user(env->fcsr0, &lsx_ctx->fcsr); in setup_sigframe()305 struct target_lsx_context *lsx_ctx = in restore_sigframe() local309 __get_user(env->fpr[i].vreg.UD(0), &lsx_ctx->regs[2 * i]); in restore_sigframe()310 __get_user(env->fpr[i].vreg.UD(1), &lsx_ctx->regs[2 * i + 1]); in restore_sigframe()312 __get_user(fcc, &lsx_ctx->fcc); in restore_sigframe()[all …]
464 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_save_lsx_context() local465 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_save_lsx_context()466 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_save_lsx_context()467 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_save_lsx_context()472 err = save_hw_lsx_context(lsx_ctx); in protected_save_lsx_context()476 err = copy_lsx_to_sigcontext(lsx_ctx); in protected_save_lsx_context()501 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_restore_lsx_context() local502 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_restore_lsx_context()503 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_restore_lsx_context()504 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_restore_lsx_context()[all …]