Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kernel/
Dsignal32.c29 } ufp; member
116 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_preserve_vfp_context()
121 __put_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_preserve_vfp_context()
122 __put_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_preserve_vfp_context()
128 __put_user_error(fpscr, &frame->ufp.fpscr, err); in compat_preserve_vfp_context()
159 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_restore_vfp_context()
162 __get_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_restore_vfp_context()
163 __get_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_restore_vfp_context()
168 __get_user_error(fpscr, &frame->ufp.fpscr, err); in compat_restore_vfp_context()
/linux-6.1.9/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()
/linux-6.1.9/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.c88 unsigned int psr, ufp; in do_sigreturn32() local
106 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn32()
109 if (ufp & 0x7) in do_sigreturn32()
177 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn32() local
194 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn32()
197 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()
/linux-6.1.9/arch/arm/include/asm/
Ducontext.h65 struct user_vfp ufp; member
/linux-6.1.9/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()
Dsignal.c110 err = vfp_preserve_user_clear_hwstate(&kframe.ufp, &kframe.ufp_exc); in preserve_vfp_context()
130 return vfp_restore_user_hwstate(&frame.ufp, &frame.ufp_exc); in restore_vfp_context()
/linux-6.1.9/drivers/usb/typec/mux/
Dintel_pmc_mux.c418 u8 ufp = role == USB_ROLE_DEVICE ? 1 : 0; in pmc_usb_connect() local
439 msg[1] |= ufp << PMC_USB_MSG_UFP_SHIFT; in pmc_usb_connect()
/linux-6.1.9/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()