Lines Matching refs:first_desc
285 int first_desc; /* Index of first descriptor */ member
770 dbri->pipes[n].desc = dbri->pipes[n].first_desc = -1; in dbri_initialize()
847 desc = dbri->pipes[pipe].first_desc; in reset_pipe()
853 } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); in reset_pipe()
856 dbri->pipes[pipe].first_desc = -1; in reset_pipe()
885 dbri->pipes[pipe].first_desc = -1; in setup_pipe()
1093 int first_desc = -1; in setup_descs() local
1137 desc = dbri->pipes[info->pipe].first_desc; in setup_descs()
1144 desc != dbri->pipes[info->pipe].first_desc); in setup_descs()
1147 dbri->pipes[info->pipe].first_desc = -1; in setup_descs()
1185 if (first_desc == -1) in setup_descs()
1186 first_desc = desc; in setup_descs()
1198 if (first_desc == -1 || last_desc == -1) { in setup_descs()
1205 dvma_addr + dbri_dma_off(desc, first_desc); in setup_descs()
1206 dbri->next_desc[last_desc] = first_desc; in setup_descs()
1207 dbri->pipes[info->pipe].first_desc = first_desc; in setup_descs()
1208 dbri->pipes[info->pipe].desc = first_desc; in setup_descs()
1211 for (desc = first_desc; desc != -1;) { in setup_descs()
1218 if (desc == first_desc) in setup_descs()
1723 first_td = dbri->pipes[info->pipe].first_desc; in xmit_descs()
1745 first_td = dbri->pipes[info->pipe].first_desc; in xmit_descs()