Lines Matching refs:pkt
31 struct usbhs_pkt pkt; member
107 #define usbhsg_ureq_to_pkt(u) (&(u)->pkt)
109 container_of(i, struct usbhsg_request, pkt)
152 static void usbhsg_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsg_queue_done() argument
154 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_queue_done()
156 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); in usbhsg_queue_done()
159 ureq->req.actual = pkt->actual; in usbhsg_queue_done()
173 struct usbhs_pkt *pkt = usbhsg_ureq_to_pkt(ureq); in usbhsg_queue_push() local
178 usbhs_pkt_push(pipe, pkt, usbhsg_queue_done, in usbhsg_queue_push()
190 static int usbhsg_dma_map_ctrl(struct usbhs_pkt *pkt, int map) in usbhsg_dma_map_ctrl() argument
192 struct usbhsg_request *ureq = usbhsg_pkt_to_ureq(pkt); in usbhsg_dma_map_ctrl()
194 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_dma_map_ctrl()
210 pkt->dma = req->dma; in usbhsg_dma_map_ctrl()
311 kfree(ureq->pkt.buf); in __usbhsg_recip_send_complete()
557 struct usbhs_pkt *pkt; in usbhsg_pipe_disable() local
560 pkt = usbhs_pkt_pop(pipe, NULL); in usbhsg_pipe_disable()
561 if (!pkt) in usbhsg_pipe_disable()
564 usbhsg_queue_pop(uep, usbhsg_pkt_to_ureq(pkt), -ECONNRESET); in usbhsg_pipe_disable()
660 WARN_ON(!list_empty(&ureq->pkt.node)); in usbhsg_ep_free_request()