Home
last modified time | relevance | path

Searched full:ufp (Results 1 – 25 of 31) sorted by relevance

12

/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()
/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()
/linux/arch/arm/include/asm/
H A Ducontext.h65 struct user_vfp ufp; member
70 * 8 byte for magic and size, 264 byte for ufp, 12 bytes for ufp_exc,
/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()
/linux/include/dt-bindings/usb/
H A Dpd.h102 * <29:27> :: product type (UFP / Cable / VPD)
113 /* SOP Product Type (UFP) */
153 * UFP VDO (PD Revision 3.0+ only)
155 * <31:29> :: UFP VDO version
166 /* UFP VDO Version */
/linux/include/linux/usb/
H A Dpd_vdo.h115 * <29:27> :: product type (UFP / Cable / VPD)
126 /* SOP Product Type (UFP) */
179 * UFP VDO (PD Revision 3.0+ only)
181 * <31:29> :: UFP VDO version
194 /* UFP VDO Version */
H A Dtypec.h181 * plug connected to UFP
/linux/Documentation/ABI/testing/
H A Dsysfs-class-typec46 sink (The port will behave as sink only UFP port)
182 both UFP and DFP product types defined, but only one that
193 UFP / device role
/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()
/linux/Documentation/devicetree/bindings/usb/
H A Dti,hd3ss3220.yaml15 HD3SS3220 can be configured as a Downstream Facing Port (DFP), Upstream Facing Port (UFP) or a
/linux/arch/arm/boot/dts/allwinner/
H A Dsunxi-d1s-t113-mangopi-mq-r.dtsi117 /* The USB-C socket has its CC pins pulled to GND, so is hardwired as a UFP. */
/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c478 u8 ufp = role == USB_ROLE_DEVICE ? 1 : 0; in pmc_usb_connect() local
499 msg[1] |= ufp << PMC_USB_MSG_UFP_SHIFT; in pmc_usb_connect()
/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()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sp.h452 * qed_sp_pf_update_ufp(): PF ufp update Ramrod.
H A Dqed_sp_commands.c357 * UFP with Host Control mode. in qed_sp_pf_start()
H A Dqed_mcp.c1955 "Incorrect UFP Channel type %d port_id 0x%02x\n", in qed_mcp_read_ufp_config()
1966 "Unknown UFP scheduling mode %d port_id 0x%02x\n", in qed_mcp_read_ufp_config()
1988 "UFP shmem config: mode = %d tc = %d pri_type = %d port_id 0x%02x\n", in qed_mcp_read_ufp_config()
2005 /* Merge UFP TC with the dcbx TC data */ in qed_mcp_handle_ufp_event()
2009 DP_ERR(p_hwfn, "Invalid sched type, discard the UFP config\n"); in qed_mcp_handle_ufp_event()
H A Dqed_mcp.h1294 * qed_mcp_read_ufp_config(): Read ufp config from the shared memory.
/linux/drivers/thunderbolt/
H A Dacpi.c323 * Device (UFP) // Upstream port _ADR == lane 0 adapter in tb_acpi_find_companion()
/linux/drivers/usb/mtu3/
H A Dmtu3_gadget.c456 * class driver may do function wakeup even UFP is in U0, in mtu3_gadget_wakeup()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_mst.c1997 * state in the first branch device's UFP DPCD as required by one CRTC, while
2043 * the first downstream branch device's UFP DPCD may reset the in intel_dp_mst_crtc_needs_modeset()
/linux/include/uapi/linux/usb/
H A Dch9.h1046 __le16 bmProviderPorts; /* Bit zero refers to the UFP of the device */

12