Home
last modified time | relevance | path

Searched refs:vr_state (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/arch/powerpc/kernel/
Dvecemu.c276 vrs = current->thread.vr_state.vr; in emulate_altivec()
325 &current->thread.vr_state.vscr.u[3]); in emulate_altivec()
330 &current->thread.vr_state.vscr.u[3]); in emulate_altivec()
Dsignal_64.c122 err |= __copy_to_user(v_regs, &tsk->thread.vr_state, in setup_sigcontext()
246 &tsk->thread.vr_state, in setup_tm_sigcontexts()
386 err |= __copy_from_user(&tsk->thread.vr_state, v_regs, in restore_sigcontext()
390 memset(&tsk->thread.vr_state, 0, 33 * sizeof(vector128)); in restore_sigcontext()
509 err |= __copy_from_user(&tsk->thread.vr_state, tm_v_regs, in restore_tm_sigcontexts()
514 memset(&tsk->thread.vr_state, 0, 33 * sizeof(vector128)); in restore_tm_sigcontexts()
593 load_vr_state(&tsk->thread.vr_state); in restore_tm_sigcontexts()
Dsignal_32.c400 if (__copy_to_user(&frame->mc_vregs, &current->thread.vr_state, in save_user_regs()
527 &current->thread.vr_state, in save_tm_user_regs()
670 if (__copy_from_user(&current->thread.vr_state, &sr->mc_vregs, in restore_user_regs()
675 memset(&current->thread.vr_state, 0, in restore_user_regs()
775 __copy_from_user(&current->thread.vr_state, in restore_tm_user_regs()
781 memset(&current->thread.vr_state, 0, in restore_tm_user_regs()
883 load_vr_state(&current->thread.vr_state); in restore_tm_user_regs()
Dprocess.c325 load_vr_state(&tsk->thread.vr_state); in restore_altivec()
869 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
1794 memset(&current->thread.vr_state, 0, sizeof(current->thread.vr_state)); in start_thread()
1795 current->thread.vr_state.vscr.u[3] = 0x00010000; /* Java mode disabled */ in start_thread()
Dtraps.c910 vdst = (u8 *)&current->thread.vr_state.vr[t]; in p9_hmi_special_emu()
2060 current->thread.vr_state.vscr.u[3] |= 0x10000; in altivec_assist_exception()
Dasm-offsets.c116 OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr); in main()
Dptrace.c565 &target->thread.vr_state, 0, in vr_get()
615 &target->thread.vr_state, 0, in vr_set()
/Linux-v5.4/arch/powerpc/include/asm/
Dprocessor.h186 struct thread_vr_state vr_state; member
/Linux-v5.4/arch/powerpc/lib/
Dsstep.c579 current->thread.vr_state.vr[rn] = u.v; in do_vec_load()
602 u.v = current->thread.vr_state.vr[rn]; in do_vec_store()
842 current->thread.vr_state.vr[reg - 32] = buf.v; in do_vsx_load()
873 buf.v = current->thread.vr_state.vr[reg - 32]; in do_vsx_store()