Lines Matching refs:mal
293 mal_poll_disable(dev->mal, &dev->commac); in emac_netif_stop()
314 mal_poll_enable(dev->mal, &dev->commac); in emac_netif_start()
746 mal_disable_tx_channel(dev->mal, dev->mal_tx_chan); in emac_full_tx_reset()
752 mal_enable_tx_channel(dev->mal, dev->mal_tx_chan); in emac_full_tx_reset()
1032 mal_disable_rx_channel(dev->mal, dev->mal_rx_chan); in emac_resize_rx_ring()
1094 mal_set_rcbs(dev->mal, dev->mal_rx_chan, emac_rx_size(new_mtu)); in emac_resize_rx_ring()
1099 mal_enable_rx_channel(dev->mal, dev->mal_rx_chan); in emac_resize_rx_ring()
1199 skb = napi_alloc_skb(&dev->mal->napi, dev->rx_skb_size); in emac_alloc_rx_skb_napi()
1264 mal_poll_add(dev->mal, &dev->commac); in emac_open()
1265 mal_enable_tx_channel(dev->mal, dev->mal_tx_chan); in emac_open()
1266 mal_set_rcbs(dev->mal, dev->mal_rx_chan, emac_rx_size(ndev->mtu)); in emac_open()
1267 mal_enable_rx_channel(dev->mal, dev->mal_rx_chan); in emac_open()
1383 mal_disable_rx_channel(dev->mal, dev->mal_rx_chan); in emac_close()
1384 mal_disable_tx_channel(dev->mal, dev->mal_tx_chan); in emac_close()
1385 mal_poll_del(dev->mal, &dev->commac); in emac_close()
1769 copy_skb = napi_alloc_skb(&dev->mal->napi, len); in emac_poll_rx()
1852 mal_enable_rx_channel(dev->mal, dev->mal_rx_chan); in emac_poll_rx()
2159 emac_get_regs_len(dev) + mal_get_regs_len(dev->mal); in emac_ethtool_get_regs_len()
2195 buf = mal_dump_regs(dev->mal, buf); in emac_ethtool_get_regs()
3064 dev->mal = platform_get_drvdata(dev->mal_dev); in emac_probe()
3073 err = mal_register_commac(dev->mal, &dev->commac); in emac_probe()
3084 dev->mal->bd_virt + mal_tx_bd_offset(dev->mal, dev->mal_tx_chan); in emac_probe()
3086 dev->mal->bd_virt + mal_rx_bd_offset(dev->mal, dev->mal_rx_chan); in emac_probe()
3188 mal_unregister_commac(dev->mal, &dev->commac); in emac_probe()
3215 mal_unregister_commac(dev->mal, &dev->commac); in emac_remove()