Home
last modified time | relevance | path

Searched refs:numtx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.c478 velocity_set_int_opt(&opts->numtx, TxDescriptors[index], in velocity_get_options()
1415 writew(vptr->options.numtx - 1, &regs->TDCSize); in velocity_init_registers()
1482 const unsigned int tx_ring_size = opt->numtx * sizeof(struct tx_desc); in velocity_init_dma_rings()
1667 vptr->tx.infos[j] = kcalloc(vptr->options.numtx, in velocity_init_td_ring()
1690 vptr->options.numtx * sizeof(struct tx_desc) * vptr->tx.numq; in velocity_free_dma_rings()
1794 for (i = 0; i < vptr->options.numtx; i++) in velocity_free_td_ring()
1919 idx = (idx + 1) % vptr->options.numtx) { in velocity_tx_srv()
2614 prev = vptr->options.numtx - 1; in velocity_xmit()
2617 vptr->tx.curr[qnum] = (index + 1) % vptr->options.numtx; in velocity_xmit()
H A Dvia-velocity.h1359 int numtx; /* Number of TX descriptors */ member
1378 #define AVAIL_TD(p,q) ((p)->options.numtx-((p)->tx.used[(q)]))