Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/ibm/emac/
Dmal.c105 BUG_ON(channel < 0 || channel >= mal->num_tx_chans); in mal_tx_bd_offset()
113 return mal->num_tx_chans * NUM_TX_BUFF + channel * NUM_RX_BUFF; in mal_rx_bd_offset()
495 regs->tx_count = mal->num_tx_chans; in mal_dump_regs()
552 mal->num_tx_chans = prop[0]; in mal_probe()
638 BUG_ON(mal->num_tx_chans <= 0 || mal->num_tx_chans > 32); in mal_probe()
642 (NUM_TX_BUFF * mal->num_tx_chans + in mal_probe()
656 for (i = 0; i < mal->num_tx_chans; ++i) in mal_probe()
704 mal->num_tx_chans, mal->num_rx_chans); in mal_probe()
763 (NUM_TX_BUFF * mal->num_tx_chans + in mal_remove()
Dmal.h195 int num_tx_chans; /* Number of TX channels */ member
Ddebug.c142 for (i = 0; i < mal->num_tx_chans; ++i) { in emac_mal_dump()