Lines Matching refs:pkt
32 struct usbhs_pkt pkt; member
110 #define usbhsg_ureq_to_pkt(u) (&(u)->pkt)
112 container_of(i, struct usbhsg_request, pkt)
156 static void usbhsg_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsg_queue_done() argument
158 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_queue_done()
160 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); in usbhsg_queue_done()
163 ureq->req.actual = pkt->actual; in usbhsg_queue_done()
177 struct usbhs_pkt *pkt = usbhsg_ureq_to_pkt(ureq); in usbhsg_queue_push() local
182 usbhs_pkt_push(pipe, pkt, usbhsg_queue_done, in usbhsg_queue_push()
194 static int usbhsg_dma_map_ctrl(struct usbhs_pkt *pkt, int map) in usbhsg_dma_map_ctrl() argument
196 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); in usbhsg_dma_map_ctrl()
198 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_dma_map_ctrl()
214 pkt->dma = req->dma; in usbhsg_dma_map_ctrl()
315 kfree(ureq->pkt.buf); in __usbhsg_recip_send_complete()
561 struct usbhs_pkt *pkt; in usbhsg_pipe_disable() local
564 pkt = usbhs_pkt_pop(pipe, NULL); in usbhsg_pipe_disable()
565 if (!pkt) in usbhsg_pipe_disable()
568 usbhsg_queue_pop(uep, usbhsg_pkt_to_ureq(pkt), -ECONNRESET); in usbhsg_pipe_disable()
664 WARN_ON(!list_empty(&ureq->pkt.node)); in usbhsg_ep_free_request()