Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/renesas_usbhs/
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 …]
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-6.1.9/drivers/usb/isp1760/
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 …]
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
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()