Home
last modified time | relevance | path

Searched refs:ufp (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kernel/
Dsignal32.c29 } ufp; member
118 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_preserve_vfp_context()
123 __put_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_preserve_vfp_context()
124 __put_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_preserve_vfp_context()
130 __put_user_error(fpscr, &frame->ufp.fpscr, err); in compat_preserve_vfp_context()
161 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_restore_vfp_context()
164 __get_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_restore_vfp_context()
165 __get_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_restore_vfp_context()
170 __get_user_error(fpscr, &frame->ufp.fpscr, err); in compat_restore_vfp_context()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dptrace.c294 static int ptrace_getwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_getwmmxregs() argument
301 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE) in ptrace_getwmmxregs()
308 static int ptrace_setwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_setwmmxregs() argument
315 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) in ptrace_setwmmxregs()
325 static int ptrace_getcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_getcrunchregs() argument
330 return copy_to_user(ufp, &thread->crunchstate, CRUNCH_SIZE) in ptrace_getcrunchregs()
337 static int ptrace_setcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_setcrunchregs() argument
342 return copy_from_user(&thread->crunchstate, ufp, CRUNCH_SIZE) in ptrace_setcrunchregs()
Dsignal.c144 err = vfp_preserve_user_clear_hwstate(&kframe.ufp, &kframe.ufp_exc); in preserve_vfp_context()
164 return vfp_restore_user_hwstate(&frame.ufp, &frame.ufp_exc); in restore_vfp_context()
/kernel/linux/linux-5.10/arch/arm/vfp/
Dvfpmodule.c548 int vfp_preserve_user_clear_hwstate(struct user_vfp *ufp, in vfp_preserve_user_clear_hwstate() argument
561 memcpy(&ufp->fpregs, &hwstate->fpregs, sizeof(hwstate->fpregs)); in vfp_preserve_user_clear_hwstate()
566 ufp->fpscr = hwstate->fpscr; in vfp_preserve_user_clear_hwstate()
587 int vfp_restore_user_hwstate(struct user_vfp *ufp, struct user_vfp_exc *ufp_exc) in vfp_restore_user_hwstate() argument
600 memcpy(&hwstate->fpregs, &ufp->fpregs, sizeof(hwstate->fpregs)); in vfp_restore_user_hwstate()
604 hwstate->fpscr = ufp->fpscr; in vfp_restore_user_hwstate()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsignal_32.c76 unsigned long up_psr, pc, npc, ufp; in do_sigreturn() local
94 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn()
97 if (ufp & 0x7) in do_sigreturn()
144 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn() local
155 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn()
158 if (ufp & 0x7) in do_rt_sigreturn()
Dperf_event.c1800 unsigned long ufp; in perf_callchain_user_64() local
1802 ufp = regs->u_regs[UREG_FP] + STACK_BIAS; in perf_callchain_user_64()
1808 usf = (struct sparc_stackf __user *)ufp; in perf_callchain_user_64()
1816 ufp = (unsigned long)sf.fp + STACK_BIAS; in perf_callchain_user_64()
1824 unsigned long ufp; in perf_callchain_user_32() local
1826 ufp = regs->u_regs[UREG_FP] & 0xffffffffUL; in perf_callchain_user_32()
1830 if (thread32_stack_is_64bit(ufp)) { in perf_callchain_user_32()
1834 ufp += STACK_BIAS; in perf_callchain_user_32()
1835 usf = (struct sparc_stackf __user *)ufp; in perf_callchain_user_32()
1839 ufp = ((unsigned long) sf.fp) & 0xffffffff; in perf_callchain_user_32()
[all …]
Dsignal32.c89 unsigned int psr, ufp; in do_sigreturn32() local
107 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn32()
110 if (ufp & 0x7) in do_sigreturn32()
178 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn32() local
195 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn32()
198 if (ufp & 0x7) in do_rt_sigreturn32()
Dsignal_64.c257 unsigned long tpc, tnpc, tstate, ufp; in do_rt_sigreturn() local
275 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn()
278 if ((ufp + STACK_BIAS) & 0x7) in do_rt_sigreturn()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Ducontext.h76 struct user_vfp ufp; member
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c377 u8 ufp = role == USB_ROLE_DEVICE ? 1 : 0; in pmc_usb_connect() local
398 msg[1] |= ufp << PMC_USB_MSG_UFP_SHIFT; in pmc_usb_connect()
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-typec.c811 bool ufp, dp; in tcphy_get_mode() local
818 ufp = extcon_get_state(edev, EXTCON_USB); in tcphy_get_mode()
824 if (ufp) { in tcphy_get_mode()