Lines Matching refs:pipe
39 struct usbhs_pipe *pipe; member
106 #define usbhsg_uep_to_pipe(u) ((u)->pipe)
130 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_queue_pop() local
134 if (pipe) in __usbhsg_queue_pop()
135 dev_dbg(dev, "pipe %d : queue pop\n", usbhs_pipe_number(pipe)); in __usbhsg_queue_pop()
158 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_queue_done() local
159 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); in usbhsg_queue_done()
176 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_queue_push() local
182 usbhs_pkt_push(pipe, pkt, usbhsg_queue_done, in usbhsg_queue_push()
184 usbhs_pkt_start(pipe); in usbhsg_queue_push()
187 usbhs_pipe_number(pipe), in usbhsg_queue_push()
198 struct usbhs_pipe *pipe = pkt->pipe; in usbhsg_dma_map_ctrl() local
199 struct usbhsg_uep *uep = usbhsg_pipe_to_uep(pipe); in usbhsg_dma_map_ctrl()
204 dir = usbhs_pipe_is_dir_host(pipe); in usbhsg_dma_map_ctrl()
231 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); in usbhsg_recip_handler_std_control_done() local
233 usbhs_dcp_control_transfer_done(pipe); in usbhsg_recip_handler_std_control_done()
243 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_handler_std_clear_endpoint() local
246 usbhs_pipe_disable(pipe); in usbhsg_recip_handler_std_clear_endpoint()
247 usbhs_pipe_sequence_data0(pipe); in usbhsg_recip_handler_std_clear_endpoint()
248 usbhs_pipe_enable(pipe); in usbhsg_recip_handler_std_clear_endpoint()
253 usbhs_pkt_start(pipe); in usbhsg_recip_handler_std_clear_endpoint()
290 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_handler_std_set_endpoint() local
292 usbhs_pipe_stall(pipe); in usbhsg_recip_handler_std_set_endpoint()
323 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); in __usbhsg_recip_send_status() local
353 pipe->handler = &usbhs_fifo_pio_push_handler; in __usbhsg_recip_send_status()
389 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_handler_std_get_endpoint() local
392 if (usbhs_pipe_is_stall(pipe)) in usbhsg_recip_handler_std_get_endpoint()
417 struct usbhs_pipe *pipe; in usbhsg_recip_run_handle() local
426 pipe = usbhsg_uep_to_pipe(uep); in usbhsg_recip_run_handle()
427 if (!pipe) { in usbhsg_recip_run_handle()
484 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(dcp); in usbhsg_irq_ctrl_stage() local
504 pipe->handler = &usbhs_fifo_pio_push_handler; in usbhsg_irq_ctrl_stage()
507 pipe->handler = &usbhs_fifo_pio_pop_handler; in usbhsg_irq_ctrl_stage()
510 pipe->handler = &usbhs_ctrl_stage_end_handler; in usbhsg_irq_ctrl_stage()
514 usbhs_dcp_control_transfer_done(pipe); in usbhsg_irq_ctrl_stage()
548 usbhs_pipe_stall(pipe); in usbhsg_irq_ctrl_stage()
560 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_pipe_disable() local
564 pkt = usbhs_pkt_pop(pipe, NULL); in usbhsg_pipe_disable()
571 usbhs_pipe_disable(pipe); in usbhsg_pipe_disable()
587 struct usbhs_pipe *pipe; in usbhsg_ep_enable() local
594 if (uep->pipe) { in usbhsg_ep_enable()
595 usbhs_pipe_clear(uep->pipe); in usbhsg_ep_enable()
596 usbhs_pipe_sequence_data0(uep->pipe); in usbhsg_ep_enable()
600 pipe = usbhs_pipe_malloc(priv, in usbhsg_ep_enable()
603 if (pipe) { in usbhsg_ep_enable()
604 uep->pipe = pipe; in usbhsg_ep_enable()
605 pipe->mod_private = uep; in usbhsg_ep_enable()
608 usbhs_pipe_config_update(pipe, 0, in usbhsg_ep_enable()
618 pipe->handler = &usbhs_fifo_dma_push_handler; in usbhsg_ep_enable()
620 pipe->handler = &usbhs_fifo_dma_pop_handler; in usbhsg_ep_enable()
631 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_ep_disable() local
633 if (!pipe) in usbhsg_ep_disable()
637 usbhs_pipe_free(pipe); in usbhsg_ep_disable()
639 uep->pipe->mod_private = NULL; in usbhsg_ep_disable()
640 uep->pipe = NULL; in usbhsg_ep_disable()
674 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_ep_queue() local
679 unlikely(!pipe)) in usbhsg_ep_queue()
691 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in usbhsg_ep_dequeue() local
693 if (pipe) in usbhsg_ep_dequeue()
694 usbhs_pkt_pop(pipe, usbhsg_ureq_to_pkt(ureq)); in usbhsg_ep_dequeue()
708 struct usbhs_pipe *pipe = usbhsg_uep_to_pipe(uep); in __usbhsg_ep_set_halt_wedge() local
717 halt, usbhs_pipe_number(pipe)); in __usbhsg_ep_set_halt_wedge()
723 usbhs_pipe_stall(pipe); in __usbhsg_ep_set_halt_wedge()
725 usbhs_pipe_disable(pipe); in __usbhsg_ep_set_halt_wedge()
820 dcp->pipe = usbhs_dcp_malloc(priv); in usbhsg_try_start()
821 dcp->pipe->mod_private = dcp; in usbhsg_try_start()
822 usbhs_pipe_config_update(dcp->pipe, 0, 0, 64); in usbhsg_try_start()
1106 uep->pipe = NULL; in usbhs_mod_gadget_probe()