Home
last modified time | relevance | path

Searched refs:uep (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c43 struct usbhsg_uep *uep; member
60 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
62 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
64 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
78 ((i) < (g)->uep_size) && ((pos) = (g)->uep + (i)); \
96 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep)
97 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i)
118 static void __usbhsg_queue_pop(struct usbhsg_uep *uep, in __usbhsg_queue_pop() argument
122 struct usbhsg_gpriv *gpriv = usbhsg_uep_to_gpriv(uep); in __usbhsg_queue_pop()
123 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_queue_pop()
[all …]
H A Dmod_host.c248 struct usbhsh_ep *uep = usbhsh_ep_to_uep(urb->ep); in usbhsh_pipe_attach() local
266 if (usbhsh_uep_to_pipe(uep)) { in usbhsh_pipe_attach()
296 usbhsh_uep_to_pipe(uep) = pipe; in usbhsh_pipe_attach()
297 usbhsh_pipe_to_uep(pipe) = uep; in usbhsh_pipe_attach()
316 uep->counter++; in usbhsh_pipe_attach()
325 struct usbhsh_ep *uep) in usbhsh_pipe_detach() argument
332 if (unlikely(!uep)) { in usbhsh_pipe_detach()
340 pipe = usbhsh_uep_to_pipe(uep); in usbhsh_pipe_detach()
344 } else if (1 == uep->counter--) { /* last user */ in usbhsh_pipe_detach()
345 struct usb_host_endpoint *ep = usbhsh_uep_to_ep(uep); in usbhsh_pipe_detach()
[all …]
/openbmc/linux/drivers/usb/isp1760/
H A Disp1760-udc.c776 struct isp1760_ep *uep = ep_to_udc_ep(ep); in isp1760_ep_enable() local
777 struct isp1760_udc *udc = uep->udc; in isp1760_ep_enable()
781 dev_dbg(uep->udc->isp->dev, "%s\n", __func__); in isp1760_ep_enable()
789 desc->bEndpointAddress != uep->addr || in isp1760_ep_enable()
794 desc->bEndpointAddress, uep->addr, in isp1760_ep_enable()
818 uep->desc = desc; in isp1760_ep_enable()
819 uep->maxpacket = le16_to_cpu(desc->wMaxPacketSize); in isp1760_ep_enable()
820 uep->rx_pending = false; in isp1760_ep_enable()
821 uep->halted = false; in isp1760_ep_enable()
822 uep->wedged = false; in isp1760_ep_enable()
[all …]
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Drestrack.c204 union union_ep *uep; in c4iw_fill_res_cm_id_entry() local
212 uep = kzalloc(sizeof(*uep), GFP_KERNEL); in c4iw_fill_res_cm_id_entry()
213 if (!uep) in c4iw_fill_res_cm_id_entry()
223 uep->lep = *(struct c4iw_listen_ep *)epcp; in c4iw_fill_res_cm_id_entry()
225 listen_ep = &uep->lep; in c4iw_fill_res_cm_id_entry()
228 uep->ep = *(struct c4iw_ep *)epcp; in c4iw_fill_res_cm_id_entry()
230 ep = &uep->ep; in c4iw_fill_res_cm_id_entry()
261 kfree(uep); in c4iw_fill_res_cm_id_entry()
267 kfree(uep); in c4iw_fill_res_cm_id_entry()
/openbmc/qemu/hw/usb/
H A Dcore.c752 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_get_type() local
753 return uep->type; in usb_ep_get_type()
758 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_type() local
759 uep->type = type; in usb_ep_set_type()
764 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_ifnum() local
765 uep->ifnum = ifnum; in usb_ep_set_ifnum()
771 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_max_packet_size() local
786 uep->max_packet_size = size * microframes; in usb_ep_set_max_packet_size()
791 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_max_streams() local
796 uep->max_streams = 1 << MaxStreams; in usb_ep_set_max_streams()
[all …]
H A Dredirect.c1026 static void usbredir_ep_stopped(USBDevice *udev, USBEndpoint *uep) in usbredir_ep_stopped() argument
1030 usbredir_stop_ep(dev, USBEP2I(uep)); in usbredir_ep_stopped()
1760 static void usbredir_set_pipeline(USBRedirDevice *dev, struct USBEndpoint *uep) in usbredir_set_pipeline() argument
1762 if (uep->type != USB_ENDPOINT_XFER_BULK) { in usbredir_set_pipeline()
1765 if (uep->pid == USB_TOKEN_OUT) { in usbredir_set_pipeline()
1766 uep->pipeline = true; in usbredir_set_pipeline()
1768 if (uep->pid == USB_TOKEN_IN && uep->max_packet_size != 0 && in usbredir_set_pipeline()
1771 uep->pipeline = true; in usbredir_set_pipeline()
/openbmc/linux/net/xfrm/
H A Dxfrm_user.c1075 struct xfrm_encap_tmpl *uep; in copy_to_user_encap() local
1080 uep = nla_data(nla); in copy_to_user_encap()
1081 memset(uep, 0, sizeof(*uep)); in copy_to_user_encap()
1083 uep->encap_type = ep->encap_type; in copy_to_user_encap()
1084 uep->encap_sport = ep->encap_sport; in copy_to_user_encap()
1085 uep->encap_dport = ep->encap_dport; in copy_to_user_encap()
1086 uep->encap_oa = ep->encap_oa; in copy_to_user_encap()