Searched refs:uep (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 43 struct usbhsg_uep *uep; member 159 if (uep) in usbhsg_queue_done() 595 if (uep->pipe) { in usbhsg_ep_enable() 606 uep->pipe = pipe; in usbhsg_ep_enable() 651 uep->pipe = NULL; in usbhsg_ep_disable() 1092 if (!uep) { in usbhs_mod_gadget_probe() 1118 gpriv->uep = uep; in usbhs_mod_gadget_probe() 1139 uep->pipe = NULL; in usbhs_mod_gadget_probe() 1142 uep->ep.name = uep->ep_name; in usbhs_mod_gadget_probe() 1178 kfree(gpriv->uep); in usbhs_mod_gadget_probe() [all …]
|
H A D | mod_host.c | 316 uep->counter++; in usbhsh_pipe_attach() 332 if (unlikely(!uep)) { in usbhsh_pipe_detach() 372 struct usbhsh_ep *uep; in usbhsh_endpoint_attach() local 378 if (!uep) in usbhsh_endpoint_attach() 387 uep->counter = 0; in usbhsh_endpoint_attach() 392 usbhsh_uep_to_ep(uep) = ep; in usbhsh_endpoint_attach() 393 usbhsh_ep_to_uep(ep) = uep; in usbhsh_endpoint_attach() 413 if (!uep) in usbhsh_endpoint_detach() 420 if (usbhsh_uep_to_pipe(uep)) in usbhsh_endpoint_detach() 436 kfree(uep); in usbhsh_endpoint_detach() [all …]
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 818 uep->desc = desc; in isp1760_ep_enable() 849 if (!uep->desc) { in isp1760_ep_disable() 855 uep->desc = NULL; in isp1760_ep_disable() 912 _req->length, _req->zero ? " (zlp)" : "", uep, uep->addr); in isp1760_ep_queue() 914 req->ep = uep; in isp1760_ep_queue() 955 if ((uep->addr & USB_DIR_IN) && !uep->halted && empty) in isp1760_ep_queue() 957 else if (!(uep->addr & USB_DIR_IN) && uep->rx_pending) in isp1760_ep_queue() 1021 if (uep->addr && !uep->desc) { in __isp1760_ep_set_halt() 1023 uep->addr); in __isp1760_ep_set_halt() 1032 uep->addr); in __isp1760_ep_set_halt() [all …]
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | restrack.c | 204 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 D | core.c | 752 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() 786 uep->max_packet_size = size * microframes; in usb_ep_set_max_packet_size() 796 uep->max_streams = 1 << MaxStreams; in usb_ep_set_max_streams() 798 uep->max_streams = 0; in usb_ep_set_max_streams() 805 uep->halted = halted; in usb_ep_set_halted() [all …]
|
H A D | hcd-musb.c | 612 USBEndpoint *uep; in musb_packet() local 634 uep = usb_ep_get(dev, pid, ep->type[idx] & 0xf); in musb_packet() 635 id = pid | (dev->addr << 16) | (uep->nr << 8); in musb_packet() 636 usb_packet_setup(&ep->packey[dir].p, pid, uep, 0, id, false, true); in musb_packet() 644 usb_device_flush_ep_queue(dev, uep); in musb_packet()
|
H A D | redirect.c | 1026 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 D | xfrm_user.c | 1075 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()
|