Searched refs:commac (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
H A D | mal.c | 37 int mal_register_commac(struct mal_instance *mal, struct mal_commac *commac) mal_register_commac() argument 44 commac->tx_chan_mask, commac->rx_chan_mask); mal_register_commac() 47 if ((mal->tx_chan_mask & commac->tx_chan_mask) || mal_register_commac() 48 (mal->rx_chan_mask & commac->rx_chan_mask)) { mal_register_commac() 57 mal->tx_chan_mask |= commac->tx_chan_mask; mal_register_commac() 58 mal->rx_chan_mask |= commac->rx_chan_mask; mal_register_commac() 59 list_add(&commac->list, &mal->list); mal_register_commac() 67 struct mal_commac *commac) mal_unregister_commac() 74 commac->tx_chan_mask, commac->rx_chan_mask); mal_unregister_commac() 76 mal->tx_chan_mask &= ~commac->tx_chan_mask; mal_unregister_commac() 77 mal->rx_chan_mask &= ~commac->rx_chan_mask; mal_unregister_commac() 78 list_del_init(&commac->list); mal_unregister_commac() 174 void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac) mal_poll_add() argument 180 MAL_DBG(mal, "poll_add(%p)" NL, commac); mal_poll_add() 183 set_bit(MAL_COMMAC_POLL_DISABLED, &commac->flags); mal_poll_add() 185 list_add_tail(&commac->poll_list, &mal->poll_list); mal_poll_add() 190 void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac) mal_poll_del() argument 196 MAL_DBG(mal, "poll_del(%p)" NL, commac); mal_poll_del() 198 list_del(&commac->poll_list); mal_poll_del() 374 void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac) mal_poll_disable() argument 377 while (test_and_set_bit(MAL_COMMAC_POLL_DISABLED, &commac->flags)) mal_poll_disable() 384 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac) mal_poll_enable() argument 387 clear_bit(MAL_COMMAC_POLL_DISABLED, &commac->flags); mal_poll_enable() 733 "mal%d: commac list is not empty on remove!\n", mal_remove() 66 mal_unregister_commac(struct mal_instance *mal, struct mal_commac *commac) mal_unregister_commac() argument
|
H A 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);
|
H A D | core.c | 253 if (unlikely(test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) emac_rx_enable() 305 mal_poll_disable(dev->mal, &dev->commac); emac_netif_stop() 326 mal_poll_enable(dev->mal, &dev->commac); emac_netif_start() 1047 set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); emac_resize_rx_ring() 1056 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); emac_resize_rx_ring() 1184 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); emac_open() 1215 mal_poll_add(dev->mal, &dev->commac); emac_open() 1338 mal_poll_del(dev->mal, &dev->commac); emac_close() 1787 if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) { emac_poll_rx() 1802 clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags); emac_poll_rx() 2790 dev->commac.ops = &emac_commac_ops; emac_probe() 2791 dev->commac.dev = dev; emac_probe() 2792 dev->commac.tx_chan_mask = MAL_CHAN_MASK(dev->mal_tx_chan); emac_probe() 2793 dev->commac.rx_chan_mask = MAL_CHAN_MASK(dev->mal_rx_chan); emac_probe() 2794 err = mal_register_commac(dev->mal, &dev->commac); emac_probe() 2860 dev->commac.ops = &emac_commac_sg_ops; emac_probe() 2911 mal_unregister_commac(dev->mal, &dev->commac); emac_probe() 2955 mal_unregister_commac(dev->mal, &dev->commac); emac_remove()
|
H A D | debug.c | 53 p->rx_slot, p->commac.flags, p->rx_skb_size, emac_desc_dump()
|
H A D | core.h | 181 struct mal_commac commac; member in struct:emac_instance
|
Completed in 136 milliseconds