Lines Matching refs:commac
241 if (unlikely(test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) in emac_rx_enable()
293 mal_poll_disable(dev->mal, &dev->commac); in emac_netif_stop()
314 mal_poll_enable(dev->mal, &dev->commac); in emac_netif_start()
1088 set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring()
1097 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring()
1233 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_open()
1264 mal_poll_add(dev->mal, &dev->commac); in emac_open()
1385 mal_poll_del(dev->mal, &dev->commac); in emac_close()
1836 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) { in emac_poll_rx()
1851 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_poll_rx()
3069 dev->commac.ops = &emac_commac_ops; in emac_probe()
3070 dev->commac.dev = dev; in emac_probe()
3071 dev->commac.tx_chan_mask = MAL_CHAN_MASK(dev->mal_tx_chan); in emac_probe()
3072 dev->commac.rx_chan_mask = MAL_CHAN_MASK(dev->mal_rx_chan); in emac_probe()
3073 err = mal_register_commac(dev->mal, &dev->commac); in emac_probe()
3139 dev->commac.ops = &emac_commac_sg_ops; 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()