Lines Matching refs:pipe
38 struct usbhs_pipe *pipe; member
103 #define usbhsg_uep_to_pipe(u) ((u)->pipe)
127 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_queue_pop() local
131 dev_dbg(dev, "pipe %d : queue pop\n", usbhs_pipe_number(pipe)); in __usbhsg_queue_pop()
154 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_queue_done() local
155 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); in usbhsg_queue_done()
172 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_queue_push() local
178 usbhs_pkt_push(pipe, pkt, usbhsg_queue_done, in usbhsg_queue_push()
180 usbhs_pkt_start(pipe); in usbhsg_queue_push()
183 usbhs_pipe_number(pipe), in usbhsg_queue_push()
194 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_dma_map_ctrl() local
195 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); in usbhsg_dma_map_ctrl()
200 dir = usbhs_pipe_is_dir_host(pipe); in usbhsg_dma_map_ctrl()
227 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); in usbhsg_recip_handler_std_control_done() local
229 usbhs_dcp_control_transfer_done(pipe); in usbhsg_recip_handler_std_control_done()
239 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_handler_std_clear_endpoint() local
242 usbhs_pipe_disable(pipe); in usbhsg_recip_handler_std_clear_endpoint()
243 usbhs_pipe_sequence_data0(pipe); in usbhsg_recip_handler_std_clear_endpoint()
244 usbhs_pipe_enable(pipe); in usbhsg_recip_handler_std_clear_endpoint()
249 usbhs_pkt_start(pipe); in usbhsg_recip_handler_std_clear_endpoint()
286 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_handler_std_set_endpoint() local
288 usbhs_pipe_stall(pipe); in usbhsg_recip_handler_std_set_endpoint()
319 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); in __usbhsg_recip_send_status() local
349 pipe->handler = &usbhs_fifo_pio_push_handler; in __usbhsg_recip_send_status()
385 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_handler_std_get_endpoint() local
388 if (usbhs_pipe_is_stall(pipe)) in usbhsg_recip_handler_std_get_endpoint()
413 struct usbhs_pipe *pipe; in usbhsg_recip_run_handle() local
422 pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_run_handle()
423 if (!pipe) { in usbhsg_recip_run_handle()
480 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); in usbhsg_irq_ctrl_stage() local
500 pipe->handler = &usbhs_fifo_pio_push_handler; in usbhsg_irq_ctrl_stage()
503 pipe->handler = &usbhs_fifo_pio_pop_handler; in usbhsg_irq_ctrl_stage()
506 pipe->handler = &usbhs_ctrl_stage_end_handler; in usbhsg_irq_ctrl_stage()
510 usbhs_dcp_control_transfer_done(pipe); in usbhsg_irq_ctrl_stage()
544 usbhs_pipe_stall(pipe); in usbhsg_irq_ctrl_stage()
556 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_pipe_disable() local
560 pkt = usbhs_pkt_pop(pipe, NULL); in usbhsg_pipe_disable()
567 usbhs_pipe_disable(pipe); in usbhsg_pipe_disable()
583 struct usbhs_pipe *pipe; in usbhsg_ep_enable() local
590 if (uep->pipe) { in usbhsg_ep_enable()
591 usbhs_pipe_clear(uep->pipe); in usbhsg_ep_enable()
592 usbhs_pipe_sequence_data0(uep->pipe); in usbhsg_ep_enable()
596 pipe = usbhs_pipe_malloc(priv, in usbhsg_ep_enable()
599 if (pipe) { in usbhsg_ep_enable()
600 uep->pipe = pipe; in usbhsg_ep_enable()
601 pipe->mod_private = uep; in usbhsg_ep_enable()
604 usbhs_pipe_config_update(pipe, 0, in usbhsg_ep_enable()
614 pipe->handler = &usbhs_fifo_dma_push_handler; in usbhsg_ep_enable()
616 pipe->handler = &usbhs_fifo_dma_pop_handler; in usbhsg_ep_enable()
627 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_ep_disable() local
629 if (!pipe) in usbhsg_ep_disable()
633 usbhs_pipe_free(pipe); in usbhsg_ep_disable()
635 uep->pipe->mod_private = NULL; in usbhsg_ep_disable()
636 uep->pipe = NULL; in usbhsg_ep_disable()
670 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_ep_queue() local
675 unlikely(!pipe)) in usbhsg_ep_queue()
687 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_ep_dequeue() local
689 usbhs_pkt_pop(pipe, usbhsg_ureq_to_pkt(ureq)); in usbhsg_ep_dequeue()
698 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_ep_set_halt_wedge() local
707 halt, usbhs_pipe_number(pipe)); in __usbhsg_ep_set_halt_wedge()
713 usbhs_pipe_stall(pipe); in __usbhsg_ep_set_halt_wedge()
715 usbhs_pipe_disable(pipe); in __usbhsg_ep_set_halt_wedge()
810 dcp->pipe = usbhs_dcp_malloc(priv); in usbhsg_try_start()
811 dcp->pipe->mod_private = dcp; in usbhsg_try_start()
812 usbhs_pipe_config_update(dcp->pipe, 0, 0, 64); in usbhsg_try_start()
1037 uep->pipe = NULL; in usbhs_mod_gadget_probe()