Lines Matching refs:lsx_ctx
465 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_save_lsx_context() local
466 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_save_lsx_context()
467 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_save_lsx_context()
468 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_save_lsx_context()
473 err = save_hw_lsx_context(lsx_ctx); in protected_save_lsx_context()
477 err = copy_lsx_to_sigcontext(lsx_ctx); in protected_save_lsx_context()
502 struct lsx_context __user *lsx_ctx = (struct lsx_context *)get_ctx_through_ctxinfo(info); in protected_restore_lsx_context() local
503 uint64_t __user *regs = (uint64_t *)&lsx_ctx->regs; in protected_restore_lsx_context()
504 uint64_t __user *fcc = &lsx_ctx->fcc; in protected_restore_lsx_context()
505 uint32_t __user *fcsr = &lsx_ctx->fcsr; in protected_restore_lsx_context()
514 err = restore_hw_lsx_context(lsx_ctx); in protected_restore_lsx_context()
516 err = copy_lsx_from_sigcontext(lsx_ctx); in protected_restore_lsx_context()