Home
last modified time | relevance | path

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

/Linux-v4.19/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.c126 err |= __copy_to_user(v_regs, &tsk->thread.vr_state, in setup_sigcontext()
250 &tsk->thread.vr_state, in setup_tm_sigcontexts()
390 err |= __copy_from_user(&tsk->thread.vr_state, v_regs, in restore_sigcontext()
394 memset(&tsk->thread.vr_state, 0, 33 * sizeof(vector128)); in restore_sigcontext()
528 err |= __copy_from_user(&tsk->thread.vr_state, tm_v_regs, in restore_tm_sigcontexts()
533 memset(&tsk->thread.vr_state, 0, 33 * sizeof(vector128)); in restore_tm_sigcontexts()
584 load_vr_state(&tsk->thread.vr_state); in restore_tm_sigcontexts()
Dsignal_32.c404 if (__copy_to_user(&frame->mc_vregs, &current->thread.vr_state, in save_user_regs()
531 &current->thread.vr_state, in save_tm_user_regs()
674 if (__copy_from_user(&current->thread.vr_state, &sr->mc_vregs, in restore_user_regs()
679 memset(&current->thread.vr_state, 0, in restore_user_regs()
779 __copy_from_user(&current->thread.vr_state, in restore_tm_user_regs()
785 memset(&current->thread.vr_state, 0, in restore_tm_user_regs()
871 load_vr_state(&current->thread.vr_state); in restore_tm_user_regs()
Dprocess.c342 load_vr_state(&tsk->thread.vr_state); in restore_altivec()
910 memcpy(&thr->ckvr_state, &thr->vr_state, in tm_reclaim_thread()
1824 memset(&current->thread.vr_state, 0, sizeof(current->thread.vr_state)); in start_thread()
1825 current->thread.vr_state.vscr.u[3] = 0x00010000; /* Java mode disabled */ in start_thread()
Dtraps.c828 vdst = (u8 *)&current->thread.vr_state.vr[t]; in p9_hmi_special_emu()
1981 current->thread.vr_state.vscr.u[3] |= 0x10000; in altivec_assist_exception()
Dasm-offsets.c108 OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr); in main()
Dptrace.c558 &target->thread.vr_state, 0, in vr_get()
605 &target->thread.vr_state, 0, in vr_set()
/Linux-v4.19/arch/powerpc/include/asm/
Dprocessor.h279 struct thread_vr_state vr_state; member
/Linux-v4.19/arch/powerpc/lib/
Dsstep.c583 current->thread.vr_state.vr[rn] = u.v; in do_vec_load()
606 u.v = current->thread.vr_state.vr[rn]; in do_vec_store()
846 current->thread.vr_state.vr[reg - 32] = buf.v; in do_vsx_load()
877 buf.v = current->thread.vr_state.vr[reg - 32]; in do_vsx_store()