Lines Matching refs:mal
550 mal_enable_tx_channels(fep->mal, fep->commac.tx_chan_mask); in emac_txde_dev()
577 mal_disable_rx_channels(fep->mal, fep->commac.rx_chan_mask); in emac_rxde_dev()
592 set_mal_dcrn(fep->mal, DCRN_MALRXEOBISR, fep->commac.rx_chan_mask); in emac_rxde_dev()
593 set_mal_dcrn(fep->mal, DCRN_MALRXDEIR, fep->commac.rx_chan_mask); in emac_rxde_dev()
596 mal_enable_rx_channels(fep->mal, fep->commac.rx_chan_mask); in emac_rxde_dev()
615 mal_enable_tx_channels(fep->mal, fep->commac.tx_chan_mask); in emac_mac_irq()
792 ep->tx_desc = (struct mal_descriptor *) ((char *) ep->mal->tx_virt_addr + in emac_init_rings()
794 ep->rx_desc = (struct mal_descriptor *) ((char *) ep->mal->rx_virt_addr + in emac_init_rings()
832 mal_disable_tx_channels(fep->mal, fep->commac.tx_chan_mask); in emac_reset_configure()
833 mal_disable_rx_channels(fep->mal, fep->commac.rx_chan_mask); in emac_reset_configure()
853 mal_set_rcbs(fep->mal, fep->mal_rx_chan, DESC_BUF_SIZE_REG); in emac_reset_configure()
901 mal_enable_tx_channels(fep->mal, fep->commac.tx_chan_mask); in emac_kick()
902 mal_enable_rx_channels(fep->mal, fep->commac.rx_chan_mask); in emac_kick()
1172 mal_disable_tx_channels(fep->mal, fep->commac.tx_chan_mask); in emac_close()
1173 mal_disable_rx_channels(fep->mal, fep->commac.rx_chan_mask); in emac_close()
1208 mal_unregister_commac(ep->mal, &ep->commac); in emac_remove()
1228 struct ibm_ocp_mal *mal; in emac_probe() local
1246 mal = (struct ibm_ocp_mal *)ocp_get_drvdata(maldev); in emac_probe()
1247 if (mal == NULL) in emac_probe()
1278 ep->mal = mal; in emac_probe()
1285 rc = mal_register_commac(ep->mal, &ep->commac); in emac_probe()
1391 mal_unregister_commac(ep->mal, &ep->commac); in emac_probe()