/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/ |
H A 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() 69 commac in mal_unregister_commac() 61 mal_unregister_commac(struct mal_instance *mal, struct mal_commac *commac) mal_unregister_commac() argument 169 mal_poll_add(struct mal_instance *mal, struct mal_commac *commac) mal_poll_add() argument 185 mal_poll_del(struct mal_instance *mal, struct mal_commac *commac) mal_poll_del() argument 369 mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac) mal_poll_disable() argument 379 mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac) mal_poll_enable() argument [all...] |
H A 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);
|
H A D | core.c | 248 if (unlikely(test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) in emac_rx_enable() 300 mal_poll_disable(dev->mal, &dev->commac); in emac_netif_stop() 321 mal_poll_enable(dev->mal, &dev->commac); in emac_netif_start() 1097 set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1106 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1250 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_open() 1281 mal_poll_add(dev->mal, &dev->commac); in emac_open() 1404 mal_poll_del(dev->mal, &dev->commac); in emac_close() 1857 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) { in emac_poll_rx() 1872 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac in emac_poll_rx() [all...] |
H A D | core.h | 171 struct mal_commac commac; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/emac/ |
H A D | mal.c | 34 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() 71 commac in mal_unregister_commac() 63 mal_unregister_commac(struct mal_instance *mal, struct mal_commac *commac) mal_unregister_commac() argument 171 mal_poll_add(struct mal_instance *mal, struct mal_commac *commac) mal_poll_add() argument 187 mal_poll_del(struct mal_instance *mal, struct mal_commac *commac) mal_poll_del() argument 371 mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac) mal_poll_disable() argument 381 mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac) mal_poll_enable() argument [all...] |
H A 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);
|
H A D | core.c | 250 if (unlikely(test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) in emac_rx_enable() 302 mal_poll_disable(dev->mal, &dev->commac); in emac_netif_stop() 323 mal_poll_enable(dev->mal, &dev->commac); in emac_netif_start() 1099 set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1108 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1252 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_open() 1283 mal_poll_add(dev->mal, &dev->commac); in emac_open() 1406 mal_poll_del(dev->mal, &dev->commac); in emac_close() 1859 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) { in emac_poll_rx() 1874 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac in emac_poll_rx() [all...] |
H A D | core.h | 170 struct mal_commac commac; member
|