Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/renesas_usbhs/
Dmod_gadget.c42 struct usbhsg_uep *uep; member
59 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
61 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
63 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
77 ((i) < (g)->uep_size) && ((pos) = (g)->uep + (i)); \
95 #define usbhsg_gpriv_to_dcp(gp) ((gp)->uep)
96 #define usbhsg_gpriv_to_nth_uep(gp, i) ((gp)->uep + i)
117 static void __usbhsg_queue_pop(struct usbhsg_uep *uep, in __usbhsg_queue_pop() argument
121 struct usbhsg_gpriv *gpriv = usbhsg_uep_to_gpriv(uep); in __usbhsg_queue_pop()
122 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_queue_pop()
[all …]
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 …]
/Linux-v4.19/drivers/usb/isp1760/
Disp1760-udc.c710 struct isp1760_ep *uep = ep_to_udc_ep(ep); in isp1760_ep_enable() local
711 struct isp1760_udc *udc = uep->udc; in isp1760_ep_enable()
715 dev_dbg(uep->udc->isp->dev, "%s\n", __func__); in isp1760_ep_enable()
723 desc->bEndpointAddress != uep->addr || in isp1760_ep_enable()
728 desc->bEndpointAddress, uep->addr, in isp1760_ep_enable()
752 uep->desc = desc; in isp1760_ep_enable()
753 uep->maxpacket = le16_to_cpu(desc->wMaxPacketSize); in isp1760_ep_enable()
754 uep->rx_pending = false; in isp1760_ep_enable()
755 uep->halted = false; in isp1760_ep_enable()
756 uep->wedged = false; in isp1760_ep_enable()
[all …]
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Drestrack.c207 union union_ep *uep; in fill_res_ep_entry() local
215 uep = kcalloc(1, sizeof(*uep), GFP_KERNEL); in fill_res_ep_entry()
216 if (!uep) in fill_res_ep_entry()
226 uep->lep = *(struct c4iw_listen_ep *)epcp; in fill_res_ep_entry()
228 listen_ep = &uep->lep; in fill_res_ep_entry()
231 uep->ep = *(struct c4iw_ep *)epcp; in fill_res_ep_entry()
233 ep = &uep->ep; in fill_res_ep_entry()
264 kfree(uep); in fill_res_ep_entry()
270 kfree(uep); in fill_res_ep_entry()