Searched refs:numtx (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 478 velocity_set_int_opt(&opts->numtx, TxDescriptors[index], in velocity_get_options() 1415 writew(vptr->options.numtx - 1, ®s->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 D | via-velocity.h | 1360 int numtx; /* Number of TX descriptors */ member 1379 #define AVAIL_TD(p,q) ((p)->options.numtx-((p)->tx.used[(q)]))
|
/kernel/linux/linux-6.6/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 478 velocity_set_int_opt(&opts->numtx, TxDescriptors[index], in velocity_get_options() 1415 writew(vptr->options.numtx - 1, ®s->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 D | via-velocity.h | 1359 int numtx; /* Number of TX descriptors */ member 1378 #define AVAIL_TD(p,q) ((p)->options.numtx-((p)->tx.used[(q)]))
|
Completed in 16 milliseconds