Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/ibm/emac/
Dmal.c37 int mal_register_commac(struct mal_instance *mal, struct mal_commac *commac) in mal_register_commac() argument
44 commac->tx_chan_mask, commac->rx_chan_mask); in mal_register_commac()
47 if ((mal->tx_chan_mask & commac->tx_chan_mask) || in mal_register_commac()
48 (mal->rx_chan_mask & commac->rx_chan_mask)) { in mal_register_commac()
57 mal->tx_chan_mask |= commac->tx_chan_mask; in mal_register_commac()
58 mal->rx_chan_mask |= commac->rx_chan_mask; in mal_register_commac()
59 list_add(&commac->list, &mal->list); in mal_register_commac()
67 struct mal_commac *commac) in mal_unregister_commac() argument
74 commac->tx_chan_mask, commac->rx_chan_mask); in mal_unregister_commac()
76 mal->tx_chan_mask &= ~commac->tx_chan_mask; in mal_unregister_commac()
[all …]
Dmal.h265 struct mal_commac *commac);
267 struct mal_commac *commac);
281 void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac);
282 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac);
285 void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac);
286 void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac);
Dcore.c253 if (unlikely(test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) in emac_rx_enable()
305 mal_poll_disable(dev->mal, &dev->commac); in emac_netif_stop()
326 mal_poll_enable(dev->mal, &dev->commac); in emac_netif_start()
1101 set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring()
1110 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring()
1235 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_open()
1266 mal_poll_add(dev->mal, &dev->commac); in emac_open()
1389 mal_poll_del(dev->mal, &dev->commac); in emac_close()
1838 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) { in emac_poll_rx()
1853 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_poll_rx()
[all …]
Dcore.h180 struct mal_commac commac; member