Searched refs:numtx (Results 1 – 2 of 2) sorted by relevance
486 …velocity_set_int_opt(&opts->numtx, TxDescriptors[index], TX_DESC_MIN, TX_DESC_MAX, TX_DESC_DEF, "T… in velocity_get_options()1407 writew(vptr->options.numtx - 1, ®s->TDCSize); in velocity_init_registers()1474 const unsigned int tx_ring_size = opt->numtx * sizeof(struct tx_desc); in velocity_init_dma_rings()1660 vptr->tx.infos[j] = kcalloc(vptr->options.numtx, in velocity_init_td_ring()1683 vptr->options.numtx * sizeof(struct tx_desc) * vptr->tx.numq; in velocity_free_dma_rings()1786 for (i = 0; i < vptr->options.numtx; i++) in velocity_free_td_ring()1910 idx = (idx + 1) % vptr->options.numtx) { in velocity_tx_srv()2605 prev = vptr->options.numtx - 1; in velocity_xmit()2608 vptr->tx.curr[qnum] = (index + 1) % vptr->options.numtx; in velocity_xmit()
1413 int numtx; /* Number of TX descriptors */ member1432 #define AVAIL_TD(p,q) ((p)->options.numtx-((p)->tx.used[(q)]))