Lines Matching refs:qe
352 list_for_each_entry(mac, &rxf->mcast_active_q, qe) in bna_rxf_mcmac_get()
356 list_for_each_entry(mac, &rxf->mcast_pending_del_q, qe) in bna_rxf_mcmac_get()
368 list_for_each_entry(mchandle, &rxf->mcast_handle_q, qe) in bna_rxf_mchandle_get()
387 list_add_tail(&mchandle->qe, &rxf->mcast_handle_q); in bna_rxf_mchandle_attach()
410 list_del(&mchandle->qe); in bna_rxf_mcast_del()
427 struct bna_mac, qe); in bna_rxf_mcast_cfg_apply()
429 list_move_tail(&mac->qe, bna_mcam_mod_del_q(rxf->rx->bna)); in bna_rxf_mcast_cfg_apply()
437 struct bna_mac, qe); in bna_rxf_mcast_cfg_apply()
438 list_move_tail(&mac->qe, &rxf->mcast_active_q); in bna_rxf_mcast_cfg_apply()
475 struct bna_mac, qe); in bna_rxf_mcast_cfg_reset()
477 list_move_tail(&mac->qe, bna_mcam_mod_del_q(rxf->rx->bna)); in bna_rxf_mcast_cfg_reset()
485 struct bna_mac, qe); in bna_rxf_mcast_cfg_reset()
486 list_move_tail(&mac->qe, &rxf->mcast_pending_add_q); in bna_rxf_mcast_cfg_reset()
566 list_for_each_entry(rxp, &rx->rxp_q, qe) { in bna_rit_init()
660 struct bna_mac, qe); in bna_rxf_uninit()
661 list_move_tail(&mac->qe, bna_ucam_mod_free_q(rxf->rx->bna)); in bna_rxf_uninit()
665 list_add_tail(&rxf->ucast_pending_mac->qe, in bna_rxf_uninit()
672 struct bna_mac, qe); in bna_rxf_uninit()
673 list_move_tail(&mac->qe, bna_mcam_mod_free_q(rxf->rx->bna)); in bna_rxf_uninit()
764 list_add_tail(&mac->qe, &rxf->mcast_pending_add_q); in bna_rx_mcast_add()
787 struct bna_mac, qe); in bna_rx_ucast_listset()
788 list_move_tail(&mac->qe, &ucam_mod->free_q); in bna_rx_ucast_listset()
794 struct bna_mac, qe); in bna_rx_ucast_listset()
798 list_add_tail(&del_mac->qe, &rxf->ucast_pending_del_q); in bna_rx_ucast_listset()
799 list_move_tail(&mac->qe, &ucam_mod->free_q); in bna_rx_ucast_listset()
809 list_add_tail(&mac->qe, &list_head); in bna_rx_ucast_listset()
815 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_ucast_listset()
816 list_move_tail(&mac->qe, &rxf->ucast_pending_add_q); in bna_rx_ucast_listset()
825 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_ucast_listset()
826 list_move_tail(&mac->qe, &ucam_mod->free_q); in bna_rx_ucast_listset()
845 struct bna_mac, qe); in bna_rx_mcast_listset()
846 list_move_tail(&mac->qe, &mcam_mod->free_q); in bna_rx_mcast_listset()
852 struct bna_mac, qe); in bna_rx_mcast_listset()
856 list_add_tail(&del_mac->qe, &rxf->mcast_pending_del_q); in bna_rx_mcast_listset()
858 list_move_tail(&mac->qe, &mcam_mod->free_q); in bna_rx_mcast_listset()
868 list_add_tail(&mac->qe, &list_head); in bna_rx_mcast_listset()
875 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_mcast_listset()
876 list_move_tail(&mac->qe, &rxf->mcast_pending_add_q); in bna_rx_mcast_listset()
885 mac = list_first_entry(&list_head, struct bna_mac, qe); in bna_rx_mcast_listset()
886 list_move_tail(&mac->qe, &mcam_mod->free_q); in bna_rx_mcast_listset()
902 struct bna_mac, qe); in bna_rx_mcast_delall()
903 list_move_tail(&mac->qe, bna_mcam_mod_free_q(rxf->rx->bna)); in bna_rx_mcast_delall()
909 struct bna_mac, qe); in bna_rx_mcast_delall()
910 list_del(&mac->qe); in bna_rx_mcast_delall()
913 list_add_tail(&del_mac->qe, &rxf->mcast_pending_del_q); in bna_rx_mcast_delall()
915 list_add_tail(&mac->qe, bna_mcam_mod_free_q(rxf->rx->bna)); in bna_rx_mcast_delall()
961 struct bna_mac, qe); in bna_rxf_ucast_cfg_apply()
963 list_move_tail(&mac->qe, bna_ucam_mod_del_q(rxf->rx->bna)); in bna_rxf_ucast_cfg_apply()
981 struct bna_mac, qe); in bna_rxf_ucast_cfg_apply()
982 list_move_tail(&mac->qe, &rxf->ucast_active_q); in bna_rxf_ucast_cfg_apply()
998 struct bna_mac, qe); in bna_rxf_ucast_cfg_reset()
1000 list_move_tail(&mac->qe, in bna_rxf_ucast_cfg_reset()
1005 list_move_tail(&mac->qe, in bna_rxf_ucast_cfg_reset()
1014 struct bna_mac, qe); in bna_rxf_ucast_cfg_reset()
1015 list_move_tail(&mac->qe, &rxf->ucast_pending_add_q); in bna_rxf_ucast_cfg_reset()
1474 list_for_each_entry(rxp, &rx->rxp_q, qe) in bna_rx_sm_started_entry()
1628 rxp = rxp ? list_next_entry(rxp, qe) in bna_bfi_rx_enet_start()
1629 : list_first_entry(&rx->rxp_q, struct bna_rxp, qe); in bna_bfi_rx_enet_start()
1734 list_for_each_entry(rxp, &rx->rxp_q, qe) in bna_rx_enet_stop()
1766 rxq = list_first_entry(&rx_mod->rxq_free_q, struct bna_rxq, qe); in bna_rxq_get()
1767 list_del(&rxq->qe); in bna_rxq_get()
1776 list_add_tail(&rxq->qe, &rx_mod->rxq_free_q); in bna_rxq_put()
1785 rxp = list_first_entry(&rx_mod->rxp_free_q, struct bna_rxp, qe); in bna_rxp_get()
1786 list_del(&rxp->qe); in bna_rxp_get()
1795 list_add_tail(&rxp->qe, &rx_mod->rxp_free_q); in bna_rxp_put()
1806 rx = list_first_entry(&rx_mod->rx_free_q, struct bna_rx, qe); in bna_rx_get()
1808 rx = list_last_entry(&rx_mod->rx_free_q, struct bna_rx, qe); in bna_rx_get()
1811 list_move_tail(&rx->qe, &rx_mod->rx_active_q); in bna_rx_get()
1820 struct list_head *qe; in bna_rx_put() local
1822 list_for_each_prev(qe, &rx_mod->rx_free_q) in bna_rx_put()
1823 if (((struct bna_rx *)qe)->rid < rx->rid) in bna_rx_put()
1826 list_add(&rx->qe, qe); in bna_rx_put()
1985 list_for_each_entry(rx, &rx_mod->rx_active_q, qe) in bna_rx_mod_start()
2002 list_for_each_entry(rx, &rx_mod->rx_active_q, qe) in bna_rx_mod_stop()
2019 list_for_each_entry(rx, &rx_mod->rx_active_q, qe) in bna_rx_mod_fail()
2060 list_add_tail(&rx_ptr->qe, &rx_mod->rx_free_q); in bna_rx_mod_init()
2067 list_add_tail(&rxp_ptr->qe, &rx_mod->rxp_free_q); in bna_rx_mod_init()
2074 list_add_tail(&rxq_ptr->qe, &rx_mod->rxq_free_q); in bna_rx_mod_init()
2098 for (i = 0, rxp = list_first_entry(&rx->rxp_q, struct bna_rxp, qe); in bna_bfi_rx_enet_start_rsp()
2099 i < rx->num_paths; i++, rxp = list_next_entry(rxp, qe)) { in bna_bfi_rx_enet_start_rsp()
2342 list_add_tail(&rxp->qe, &rx->rxp_q); in bna_rx_create()
2489 struct list_head *qe; in bna_rx_destroy() local
2494 rxp = list_first_entry(&rx->rxp_q, struct bna_rxp, qe); in bna_rx_destroy()
2495 list_del(&rxp->qe); in bna_rx_destroy()
2522 list_for_each(qe, &rx_mod->rx_active_q) in bna_rx_destroy()
2523 if (qe == &rx->qe) { in bna_rx_destroy()
2524 list_del(&rx->qe); in bna_rx_destroy()
2678 list_for_each_entry(rxp, &rx->rxp_q, qe) { in bna_rx_coalescing_timeo_set()
2873 list_for_each_entry(txq, &tx->txq_q, qe) { in bna_tx_sm_started_entry()
3099 txq = txq ? list_next_entry(txq, qe) in bna_bfi_tx_enet_start()
3100 : list_first_entry(&tx->txq_q, struct bna_txq, qe); in bna_bfi_tx_enet_start()
3154 list_for_each_entry(txq, &tx->txq_q, qe) in bna_tx_enet_stop()
3204 tx = list_first_entry(&tx_mod->tx_free_q, struct bna_tx, qe); in bna_tx_get()
3206 tx = list_last_entry(&tx_mod->tx_free_q, struct bna_tx, qe); in bna_tx_get()
3207 list_del(&tx->qe); in bna_tx_get()
3218 struct list_head *qe; in bna_tx_free() local
3221 txq = list_first_entry(&tx->txq_q, struct bna_txq, qe); in bna_tx_free()
3224 list_move_tail(&txq->qe, &tx_mod->txq_free_q); in bna_tx_free()
3227 list_for_each(qe, &tx_mod->tx_active_q) { in bna_tx_free()
3228 if (qe == &tx->qe) { in bna_tx_free()
3229 list_del(&tx->qe); in bna_tx_free()
3237 list_for_each_prev(qe, &tx_mod->tx_free_q) in bna_tx_free()
3238 if (((struct bna_tx *)qe)->rid < tx->rid) in bna_tx_free()
3241 list_add(&tx->qe, qe); in bna_tx_free()
3281 for (i = 0, txq = list_first_entry(&tx->txq_q, struct bna_txq, qe); in bna_bfi_tx_enet_start_rsp()
3282 i < tx->num_txq; i++, txq = list_next_entry(txq, qe)) { in bna_bfi_tx_enet_start_rsp()
3311 list_for_each_entry(tx, &tx_mod->tx_active_q, qe) in bna_bfi_bw_update_aen()
3401 txq = list_first_entry(&tx_mod->txq_free_q, struct bna_txq, qe); in bna_tx_create()
3402 list_move_tail(&txq->qe, &tx->txq_q); in bna_tx_create()
3419 list_add_tail(&tx->qe, &tx_mod->tx_active_q); in bna_tx_create()
3441 list_for_each_entry(txq, &tx->txq_q, qe) { in bna_tx_create()
3515 list_for_each_entry(txq, &tx->txq_q, qe) in bna_tx_destroy()
3597 list_add_tail(&tx_mod->tx[i].qe, &tx_mod->tx_free_q); in bna_tx_mod_init()
3598 list_add_tail(&tx_mod->txq[i].qe, &tx_mod->txq_free_q); in bna_tx_mod_init()
3622 list_for_each_entry(tx, &tx_mod->tx_active_q, qe) in bna_tx_mod_start()
3639 list_for_each_entry(tx, &tx_mod->tx_active_q, qe) in bna_tx_mod_stop()
3656 list_for_each_entry(tx, &tx_mod->tx_active_q, qe) in bna_tx_mod_fail()
3665 list_for_each_entry(txq, &tx->txq_q, qe) in bna_tx_coalescing_timeo_set()