Lines Matching refs:pipes
349 td = dbri->pipes[pipe].desc; in transmission_complete_intr()
378 dbri->pipes[pipe].desc = td; in transmission_complete_intr()
387 int rd = dbri->pipes[pipe].desc; in reception_complete_intr()
398 dbri->pipes[pipe].desc = dbri->descs[rd].next; in reception_complete_intr()
458 int td = dbri->pipes[pipe].desc; in dbri_process_one_interrupt()
464 dbri->pipes[pipe].sdp in dbri_process_one_interrupt()
472 if (dbri->pipes[channel].sdp & D_SDP_MSB) in dbri_process_one_interrupt()
473 val = reverse_bytes(val, dbri->pipes[channel].length); in dbri_process_one_interrupt()
475 if (dbri->pipes[channel].recv_fixed_ptr) in dbri_process_one_interrupt()
476 *(dbri->pipes[channel].recv_fixed_ptr) = val; in dbri_process_one_interrupt()
563 return (dbri->pipes[pipe].desc != -1); in pipe_active()
582 sdp = dbri->pipes[pipe].sdp; in reset_pipe()
593 desc = dbri->pipes[pipe].desc; in reset_pipe()
622 dbri->pipes[pipe].desc = -1; in reset_pipe()
644 dbri->pipes[pipe].sdp = sdp; in setup_pipe()
645 dbri->pipes[pipe].desc = -1; in setup_pipe()
664 if (dbri->pipes[pipe].sdp == 0 || dbri->pipes[basepipe].sdp == 0) { in link_time_slot()
697 nextpipe = dbri->pipes[prevpipe].nextpipe; in link_time_slot()
699 while (dbri->pipes[nextpipe].cycle < cycle in link_time_slot()
700 && dbri->pipes[nextpipe].nextpipe != basepipe) { in link_time_slot()
702 nextpipe = dbri->pipes[nextpipe].nextpipe; in link_time_slot()
713 dbri->pipes[prevpipe].nextpipe = pipe; in link_time_slot()
716 dbri->pipes[pipe].nextpipe = nextpipe; in link_time_slot()
717 dbri->pipes[pipe].cycle = cycle; in link_time_slot()
718 dbri->pipes[pipe].length = length; in link_time_slot()
790 if (D_SDP_MODE(dbri->pipes[pipe].sdp) == 0) { in xmit_fixed()
795 if (D_SDP_MODE(dbri->pipes[pipe].sdp) != D_SDP_FIXED) { in xmit_fixed()
800 if (! (dbri->pipes[pipe].sdp & D_SDP_TO_SER)) { in xmit_fixed()
807 if (dbri->pipes[pipe].sdp & D_SDP_MSB) in xmit_fixed()
808 data = reverse_bytes(data, dbri->pipes[pipe].length); in xmit_fixed()
825 if (D_SDP_MODE(dbri->pipes[pipe].sdp) != D_SDP_FIXED) { in recv_fixed()
830 if (dbri->pipes[pipe].sdp & D_SDP_TO_SER) { in recv_fixed()
835 dbri->pipes[pipe].recv_fixed_ptr = ptr; in recv_fixed()
870 if (dbri->pipes[pipe].sdp == 0) { in xmit_on_pipe()
875 if (! (dbri->pipes[pipe].sdp & D_SDP_TO_SER)) { in xmit_on_pipe()
958 last_td = dbri->pipes[pipe].desc; in xmit_on_pipe()
973 dbri->pipes[pipe].desc = first_td; in xmit_on_pipe()
976 dbri->pipes[pipe].sdp in xmit_on_pipe()
1001 if (dbri->pipes[pipe].sdp == 0) { in recv_on_pipe()
1006 if (dbri->pipes[pipe].sdp & D_SDP_TO_SER) { in recv_on_pipe()
1015 if (dbri->pipes[pipe].desc != -1) { in recv_on_pipe()
1090 dbri->pipes[pipe].desc = first_rd; in recv_on_pipe()
1094 *(cmd++) = DBRI_CMD(D_SDP, 0, dbri->pipes[pipe].sdp | D_SDP_P | D_SDP_C); in recv_on_pipe()
1137 dbri->pipes[16].sdp = 1; in reset_chi()
1138 dbri->pipes[16].nextpipe = 16; in reset_chi()
1150 pipe = dbri->pipes[pipe].nextpipe) { in reset_chi()
1152 16, dbri->pipes[pipe].nextpipe); in reset_chi()
1156 pipe = dbri->pipes[pipe].nextpipe) { in reset_chi()
1158 16, dbri->pipes[pipe].nextpipe); in reset_chi()