Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/ibm/emac/ !
Dmal.c125 get_mal_dcrn(mal, MAL_TXCASR) | MAL_CHAN_MASK(channel)); in mal_enable_tx_channel()
132 set_mal_dcrn(mal, MAL_TXCARR, MAL_CHAN_MASK(channel)); in mal_disable_tx_channel()
154 get_mal_dcrn(mal, MAL_RXCASR) | MAL_CHAN_MASK(channel)); in mal_enable_rx_channel()
169 set_mal_dcrn(mal, MAL_RXCARR, MAL_CHAN_MASK(channel)); in mal_disable_rx_channel()
Dmal.h146 #define MAL_CHAN_MASK(n) (0x80000000 >> (n)) macro
Dcore.c2790 dev->commac.tx_chan_mask = MAL_CHAN_MASK(dev->mal_tx_chan); in emac_probe()
2791 dev->commac.rx_chan_mask = MAL_CHAN_MASK(dev->mal_rx_chan); in emac_probe()