Home
last modified time | relevance | path

Searched refs:commac (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/ibm/emac/
H A Dmal.c34 int mal_register_commac(struct mal_instance *mal, struct mal_commac *commac) in mal_register_commac() argument
41 commac->tx_chan_mask, commac->rx_chan_mask); in mal_register_commac()
44 if ((mal->tx_chan_mask & commac->tx_chan_mask) || in mal_register_commac()
45 (mal->rx_chan_mask & commac->rx_chan_mask)) { in mal_register_commac()
54 mal->tx_chan_mask |= commac->tx_chan_mask; in mal_register_commac()
55 mal->rx_chan_mask |= commac->rx_chan_mask; in mal_register_commac()
56 list_add(&commac->list, &mal->list); in mal_register_commac()
64 struct mal_commac *commac) in mal_unregister_commac() argument
71 commac->tx_chan_mask, commac->rx_chan_mask); in mal_unregister_commac()
73 mal->tx_chan_mask &= ~commac->tx_chan_mask; in mal_unregister_commac()
[all …]
H A Dmal.h260 struct mal_commac *commac);
262 struct mal_commac *commac);
276 void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac);
277 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac);
280 void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac);
281 void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac);
H A Dcore.c241 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()
[all …]
H A Dcore.h170 struct mal_commac commac; member