Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/natsemi/
Dsonic.h279 #define SONIC_NUM_TDS 16 /* number of transmit descriptors */ macro
283 #define SONIC_TDS_MASK (SONIC_NUM_TDS - 1)
289 + (SIZEOF_SONIC_TD * SONIC_NUM_TDS) \
309 struct sk_buff* volatile tx_skb[SONIC_NUM_TDS]; /* packets to be transmitted */
310 unsigned int tx_len[SONIC_NUM_TDS]; /* lengths of tx DMA mappings */
319 dma_addr_t tx_laddr[SONIC_NUM_TDS]; /* logical DMA addresses of tx skbuffs */
Dsonic.c73 lp->rda = lp->tda + SIZEOF_SONIC_TD * SONIC_NUM_TDS * in sonic_alloc_descriptors()
81 lp->rda_laddr = lp->tda_laddr + SIZEOF_SONIC_TD * SONIC_NUM_TDS * in sonic_alloc_descriptors()
197 for (i = 0; i < SONIC_NUM_TDS; i++) { in sonic_close()
238 for (i = 0; i < SONIC_NUM_TDS; i++) { in sonic_tx_timeout()
797 for (i = 0; i < SONIC_NUM_TDS; i++) { in sonic_init()
808 sonic_tda_put(dev, SONIC_NUM_TDS - 1, SONIC_TD_LINK, in sonic_init()
814 lp->eol_tx = SONIC_NUM_TDS - 1; in sonic_init()