Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/ibm/emac/
Dmal.c100 BUG_ON(channel < 0 || channel >= mal->num_tx_chans); in mal_tx_bd_offset()
108 return mal->num_tx_chans * NUM_TX_BUFF + channel * NUM_RX_BUFF; in mal_rx_bd_offset()
489 regs->tx_count = mal->num_tx_chans; in mal_dump_regs()
543 mal->num_tx_chans = prop[0]; in mal_probe()
628 BUG_ON(mal->num_tx_chans <= 0 || mal->num_tx_chans > 32); in mal_probe()
632 (NUM_TX_BUFF * mal->num_tx_chans + in mal_probe()
641 for (i = 0; i < mal->num_tx_chans; ++i) in mal_probe()
686 mal->num_tx_chans, mal->num_rx_chans); in mal_probe()
737 (NUM_TX_BUFF * mal->num_tx_chans + in mal_remove()
Dmal.h186 int num_tx_chans; /* Number of TX channels */ member