Lines Matching refs:qnum
1910 int qnum; in velocity_tx_srv() local
1917 for (qnum = 0; qnum < vptr->tx.numq; qnum++) { in velocity_tx_srv()
1918 for (idx = vptr->tx.tail[qnum]; vptr->tx.used[qnum] > 0; in velocity_tx_srv()
1924 td = &(vptr->tx.rings[qnum][idx]); in velocity_tx_srv()
1925 tdinfo = &(vptr->tx.infos[qnum][idx]); in velocity_tx_srv()
1949 vptr->tx.used[qnum]--; in velocity_tx_srv()
1951 vptr->tx.tail[qnum] = idx; in velocity_tx_srv()
1953 if (AVAIL_TD(vptr, qnum) < 1) in velocity_tx_srv()
2535 int qnum = 0; in velocity_xmit() local
2559 index = vptr->tx.curr[qnum]; in velocity_xmit()
2560 td_ptr = &(vptr->tx.rings[qnum][index]); in velocity_xmit()
2561 tdinfo = &(vptr->tx.infos[qnum][index]); in velocity_xmit()
2616 vptr->tx.used[qnum]++; in velocity_xmit()
2617 vptr->tx.curr[qnum] = (index + 1) % vptr->options.numtx; in velocity_xmit()
2619 if (AVAIL_TD(vptr, qnum) < 1) in velocity_xmit()
2622 td_ptr = &(vptr->tx.rings[qnum][prev]); in velocity_xmit()
2624 mac_tx_queue_wake(vptr->mac_regs, qnum); in velocity_xmit()