commac            248 drivers/net/ethernet/ibm/emac/core.c 	if (unlikely(test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags)))
commac            300 drivers/net/ethernet/ibm/emac/core.c 	mal_poll_disable(dev->mal, &dev->commac);
commac            321 drivers/net/ethernet/ibm/emac/core.c 	mal_poll_enable(dev->mal, &dev->commac);
commac           1098 drivers/net/ethernet/ibm/emac/core.c 		set_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags);
commac           1107 drivers/net/ethernet/ibm/emac/core.c 	clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags);
commac           1251 drivers/net/ethernet/ibm/emac/core.c 	clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags);
commac           1282 drivers/net/ethernet/ibm/emac/core.c 	mal_poll_add(dev->mal, &dev->commac);
commac           1405 drivers/net/ethernet/ibm/emac/core.c 	mal_poll_del(dev->mal, &dev->commac);
commac           1858 drivers/net/ethernet/ibm/emac/core.c 	if (unlikely(budget && test_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags))) {
commac           1873 drivers/net/ethernet/ibm/emac/core.c 		clear_bit(MAL_COMMAC_RX_STOPPED, &dev->commac.flags);
commac           3108 drivers/net/ethernet/ibm/emac/core.c 	dev->commac.ops = &emac_commac_ops;
commac           3109 drivers/net/ethernet/ibm/emac/core.c 	dev->commac.dev = dev;
commac           3110 drivers/net/ethernet/ibm/emac/core.c 	dev->commac.tx_chan_mask = MAL_CHAN_MASK(dev->mal_tx_chan);
commac           3111 drivers/net/ethernet/ibm/emac/core.c 	dev->commac.rx_chan_mask = MAL_CHAN_MASK(dev->mal_rx_chan);
commac           3112 drivers/net/ethernet/ibm/emac/core.c 	err = mal_register_commac(dev->mal, &dev->commac);
commac           3178 drivers/net/ethernet/ibm/emac/core.c 		dev->commac.ops = &emac_commac_sg_ops;
commac           3231 drivers/net/ethernet/ibm/emac/core.c 	mal_unregister_commac(dev->mal, &dev->commac);
commac           3281 drivers/net/ethernet/ibm/emac/core.c 	mal_unregister_commac(dev->mal, &dev->commac);
commac            171 drivers/net/ethernet/ibm/emac/core.h 	struct mal_commac		commac;
commac             32 drivers/net/ethernet/ibm/emac/mal.c int mal_register_commac(struct mal_instance *mal, struct mal_commac *commac)
commac             39 drivers/net/ethernet/ibm/emac/mal.c 		commac->tx_chan_mask, commac->rx_chan_mask);
commac             42 drivers/net/ethernet/ibm/emac/mal.c 	if ((mal->tx_chan_mask & commac->tx_chan_mask) ||
commac             43 drivers/net/ethernet/ibm/emac/mal.c 	    (mal->rx_chan_mask & commac->rx_chan_mask)) {
commac             52 drivers/net/ethernet/ibm/emac/mal.c 	mal->tx_chan_mask |= commac->tx_chan_mask;
commac             53 drivers/net/ethernet/ibm/emac/mal.c 	mal->rx_chan_mask |= commac->rx_chan_mask;
commac             54 drivers/net/ethernet/ibm/emac/mal.c 	list_add(&commac->list, &mal->list);
commac             62 drivers/net/ethernet/ibm/emac/mal.c 		struct mal_commac *commac)
commac             69 drivers/net/ethernet/ibm/emac/mal.c 		commac->tx_chan_mask, commac->rx_chan_mask);
commac             71 drivers/net/ethernet/ibm/emac/mal.c 	mal->tx_chan_mask &= ~commac->tx_chan_mask;
commac             72 drivers/net/ethernet/ibm/emac/mal.c 	mal->rx_chan_mask &= ~commac->rx_chan_mask;
commac             73 drivers/net/ethernet/ibm/emac/mal.c 	list_del_init(&commac->list);
commac            169 drivers/net/ethernet/ibm/emac/mal.c void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac)
commac            175 drivers/net/ethernet/ibm/emac/mal.c 	MAL_DBG(mal, "poll_add(%p)" NL, commac);
commac            178 drivers/net/ethernet/ibm/emac/mal.c 	set_bit(MAL_COMMAC_POLL_DISABLED, &commac->flags);
commac            180 drivers/net/ethernet/ibm/emac/mal.c 	list_add_tail(&commac->poll_list, &mal->poll_list);
commac            185 drivers/net/ethernet/ibm/emac/mal.c void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac)
commac            191 drivers/net/ethernet/ibm/emac/mal.c 	MAL_DBG(mal, "poll_del(%p)" NL, commac);
commac            193 drivers/net/ethernet/ibm/emac/mal.c 	list_del(&commac->poll_list);
commac            369 drivers/net/ethernet/ibm/emac/mal.c void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac)
commac            372 drivers/net/ethernet/ibm/emac/mal.c 	while (test_and_set_bit(MAL_COMMAC_POLL_DISABLED, &commac->flags))
commac            379 drivers/net/ethernet/ibm/emac/mal.c void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac)
commac            382 drivers/net/ethernet/ibm/emac/mal.c 	clear_bit(MAL_COMMAC_POLL_DISABLED, &commac->flags);
commac            260 drivers/net/ethernet/ibm/emac/mal.h 			struct mal_commac *commac);
commac            262 drivers/net/ethernet/ibm/emac/mal.h 			   struct mal_commac *commac);
commac            276 drivers/net/ethernet/ibm/emac/mal.h void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac);
commac            277 drivers/net/ethernet/ibm/emac/mal.h void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac);
commac            280 drivers/net/ethernet/ibm/emac/mal.h void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac);
commac            281 drivers/net/ethernet/ibm/emac/mal.h void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac);