Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kernel/
H A 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()
/openbmc/linux/arch/arm/vfp/
H A 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()
/openbmc/linux/arch/sparc/kernel/
H A 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()
H A 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 …]
H A 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()
H A 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()
/openbmc/qemu/linux-user/arm/
H A Dsignal.c75 struct target_user_vfp ufp; member
261 __put_user(*aa32_vfp_dreg(env, i), &vfpframe->ufp.fpregs[i]); in setup_sigframe_vfp()
263 __put_user(vfp_get_fpscr(env), &vfpframe->ufp.fpscr); in setup_sigframe_vfp()
422 __get_user(*aa32_vfp_dreg(env, i), &vfpframe->ufp.fpregs[i]); in restore_sigframe_vfp()
424 __get_user(fpscr, &vfpframe->ufp.fpscr); in restore_sigframe_vfp()
/openbmc/linux/arch/arm/include/asm/
H A Ducontext.h65 struct user_vfp ufp; member
/openbmc/linux/arch/arm/kernel/
H A 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()
H A Dsignal.c111 err = vfp_preserve_user_clear_hwstate(&kframe.ufp, &kframe.ufp_exc); in preserve_vfp_context()
131 return vfp_restore_user_hwstate(&frame.ufp, &frame.ufp_exc); in restore_vfp_context()
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-typec.c812 int ret, ufp, dp; in tcphy_get_mode() local
817 ufp = extcon_get_state(edev, EXTCON_USB); in tcphy_get_mode()
823 if (ufp > 0) { in tcphy_get_mode()
/openbmc/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c455 u8 ufp = role == USB_ROLE_DEVICE ? 1 : 0; in pmc_usb_connect() local
476 msg[1] |= ufp << PMC_USB_MSG_UFP_SHIFT; in pmc_usb_connect()