Searched refs:commac (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
D | mal.c | 37 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 …]
|
D | mal.h | 265 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);
|
D | core.c | 253 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() 1047 set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1056 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_resize_rx_ring() 1184 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_open() 1215 mal_poll_add(dev->mal, &dev->commac); in emac_open() 1338 mal_poll_del(dev->mal, &dev->commac); in emac_close() 1787 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) { in emac_poll_rx() 1802 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); in emac_poll_rx() [all …]
|
D | core.h | 181 struct mal_commac commac; member
|
D | debug.c | 53 p->rx_slot, p->commac.flags, p->rx_skb_size, in emac_desc_dump()
|