Searched refs:commac (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/ibm/emac/ |
D | mal.c | 32 int mal_register_commac(struct mal_instance *mal, struct mal_commac *commac) in mal_register_commac() argument 39 commac->tx_chan_mask, commac->rx_chan_mask); in mal_register_commac() 42 if ((mal->tx_chan_mask & commac->tx_chan_mask) || in mal_register_commac() 43 (mal->rx_chan_mask & commac->rx_chan_mask)) { in mal_register_commac() 52 mal->tx_chan_mask |= commac->tx_chan_mask; in mal_register_commac() 53 mal->rx_chan_mask |= commac->rx_chan_mask; in mal_register_commac() 54 list_add(&commac->list, &mal->list); in mal_register_commac() 62 struct mal_commac *commac) in mal_unregister_commac() argument 69 commac->tx_chan_mask, commac->rx_chan_mask); in mal_unregister_commac() 71 mal->tx_chan_mask &= ~commac->tx_chan_mask; in mal_unregister_commac() [all …]
|
D | mal.h | 260 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);
|
D | core.c | 249 if (unlikely(test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) in emac_rx_enable() 301 mal_poll_disable(dev->mal, &dev->commac); in emac_netif_stop() 322 mal_poll_enable(dev->mal, &dev->commac); in emac_netif_start() 1098 set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1107 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1251 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_open() 1282 mal_poll_add(dev->mal, &dev->commac); in emac_open() 1405 mal_poll_del(dev->mal, &dev->commac); in emac_close() 1858 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) { in emac_poll_rx() 1873 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_poll_rx() [all …]
|
D | core.h | 171 struct mal_commac commac; member
|