Lines Matching refs:pipe

84 	struct usbhs_pipe	*pipe;   /* attached pipe */  member
133 #define usbhsh_uep_to_pipe(u) ((u)->pipe)
221 if (usb_pipecontrol(urb->pipe)) in usbhsh_endpoint_sequence_save()
250 usb_pipeendpoint(urb->pipe), in usbhsh_endpoint_sequence_save()
251 usb_pipeout(urb->pipe)); in usbhsh_endpoint_sequence_save()
263 struct usbhs_pipe *pipe; in usbhsh_pipe_attach() local
267 int dir_in_req = !!usb_pipein(urb->pipe); in usbhsh_pipe_attach()
284 usbhs_for_each_pipe_with_dcp(pipe, priv, i) { in usbhsh_pipe_attach()
287 if (!usbhs_pipe_type_is(pipe, usb_endpoint_type(desc))) in usbhsh_pipe_attach()
292 dir_in = !!usbhs_pipe_is_dir_in(pipe); in usbhsh_pipe_attach()
298 if (usbhsh_pipe_to_uep(pipe)) in usbhsh_pipe_attach()
309 usbhsh_uep_to_pipe(uep) = pipe; in usbhsh_pipe_attach()
310 usbhsh_pipe_to_uep(pipe) = uep; in usbhsh_pipe_attach()
312 usbhs_pipe_config_update(pipe, in usbhsh_pipe_attach()
320 usbhs_pipe_name(pipe), in usbhsh_pipe_attach()
341 struct usbhs_pipe *pipe; in usbhsh_pipe_detach() local
353 pipe = usbhsh_uep_to_pipe(uep); in usbhsh_pipe_detach()
355 if (unlikely(!pipe)) { in usbhsh_pipe_detach()
363 usbhsh_pipe_to_uep(pipe) = NULL; in usbhsh_pipe_detach()
368 usbhs_pipe_name(pipe)); in usbhsh_pipe_detach()
490 if (0 == usb_pipedevice(urb->pipe)) in usbhsh_device_get()
518 if (0 != usb_pipedevice(urb->pipe)) { in usbhsh_device_attach()
680 struct usbhs_pipe *pipe = usbhsh_uep_to_pipe(uep); in usbhsh_queue_push() local
686 if (usb_pipeisoc(urb->pipe)) { in usbhsh_queue_push()
698 if (usb_pipein(urb->pipe)) in usbhsh_queue_push()
699 pipe->handler = &usbhs_fifo_dma_pop_handler; in usbhsh_queue_push()
701 pipe->handler = &usbhs_fifo_dma_push_handler; in usbhsh_queue_push()
707 usb_pipeendpoint(urb->pipe), in usbhsh_queue_push()
708 usb_pipeout(urb->pipe)); in usbhsh_queue_push()
711 usbhs_pkt_push(pipe, &ureq->pkt, usbhsh_queue_done, in usbhsh_queue_push()
715 usbhs_pkt_start(pipe); in usbhsh_queue_push()
721 struct usbhs_pipe *pipe) in usbhsh_queue_force_pop() argument
726 pkt = usbhs_pkt_pop(pipe, NULL); in usbhsh_queue_force_pop()
766 struct usbhs_pipe *pipe) in usbhsh_setup_stage_packet_push() argument
825 struct usbhs_pipe *pipe, in usbhsh_data_stage_packet_push() argument
836 if (usb_pipein(urb->pipe)) in usbhsh_data_stage_packet_push()
837 pipe->handler = &usbhs_dcp_data_stage_in_handler; in usbhsh_data_stage_packet_push()
839 pipe->handler = &usbhs_dcp_data_stage_out_handler; in usbhsh_data_stage_packet_push()
841 usbhs_pkt_push(pipe, &ureq->pkt, in usbhsh_data_stage_packet_push()
856 struct usbhs_pipe *pipe, in usbhsh_status_stage_packet_push() argument
866 if (usb_pipein(urb->pipe)) in usbhsh_status_stage_packet_push()
867 pipe->handler = &usbhs_dcp_status_stage_in_handler; in usbhsh_status_stage_packet_push()
869 pipe->handler = &usbhs_dcp_status_stage_out_handler; in usbhsh_status_stage_packet_push()
871 usbhs_pkt_push(pipe, &ureq->pkt, in usbhsh_status_stage_packet_push()
886 struct usbhs_pipe *pipe = usbhsh_uep_to_pipe(uep); in usbhsh_dcp_queue_push() local
897 usbhsh_setup_stage_packet_push(hpriv, urb, pipe); in usbhsh_dcp_queue_push()
905 ret = usbhsh_data_stage_packet_push(hpriv, urb, pipe, mflags); in usbhsh_dcp_queue_push()
915 ret = usbhsh_status_stage_packet_push(hpriv, urb, pipe, mflags); in usbhsh_dcp_queue_push()
924 usbhs_pkt_start(pipe); in usbhsh_dcp_queue_push()
971 int is_dir_in = usb_pipein(urb->pipe); in usbhsh_urb_enqueue()
1026 if (usb_pipecontrol(urb->pipe)) in usbhsh_urb_enqueue()
1054 usbhs_pkt_pop(pkt->pipe, pkt); in usbhsh_urb_dequeue()
1416 struct usbhs_pipe *pipe; in usbhsh_pipe_init_for_host() local
1449 pipe = usbhs_dcp_malloc(priv); in usbhsh_pipe_init_for_host()
1450 usbhsh_hpriv_to_dcp(hpriv) = pipe; in usbhsh_pipe_init_for_host()
1452 pipe = usbhs_pipe_malloc(priv, in usbhsh_pipe_init_for_host()
1457 pipe->mod_private = NULL; in usbhsh_pipe_init_for_host()