Home
last modified time | relevance | path

Searched refs:tx_mod (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c2771 static void bna_tx_mod_cb_tx_stopped(void *tx_mod, struct bna_tx *tx);
3197 bna_tx_get(struct bna_tx_mod *tx_mod, enum bna_tx_type type) in bna_tx_get() argument
3201 if (list_empty(&tx_mod->tx_free_q)) in bna_tx_get()
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()
3216 struct bna_tx_mod *tx_mod = &tx->bna->tx_mod; in bna_tx_free() local
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()
3237 list_for_each_prev(qe, &tx_mod->tx_free_q) in bna_tx_free()
3256 tx->stop_cbarg = &tx->bna->tx_mod; in bna_tx_stop()
[all …]
Dbna.h198 #define bna_tx_rid_mask(_bna) ((_bna)->tx_mod.rid_mask)
204 struct bna_tx_mod *__tx_mod = &(_bna)->tx_mod; \
293 void bna_bfi_bw_update_aen(struct bna_tx_mod *tx_mod);
296 void bna_tx_mod_init(struct bna_tx_mod *tx_mod, struct bna *bna,
298 void bna_tx_mod_uninit(struct bna_tx_mod *tx_mod);
301 void bna_tx_mod_start(struct bna_tx_mod *tx_mod, enum bna_tx_type type);
302 void bna_tx_mod_stop(struct bna_tx_mod *tx_mod, enum bna_tx_type type);
303 void bna_tx_mod_fail(struct bna_tx_mod *tx_mod);
Dbna_enet.c374 bna_bfi_bw_update_aen(&bna->tx_mod); in bna_msgq_rsp_handler()
818 bna_tx_mod_start(&(enet)->bna->tx_mod, tx_type); \
834 bna_tx_mod_stop(&(enet)->bna->tx_mod, tx_type); \
843 bna_tx_mod_fail(&(enet)->bna->tx_mod); \
1851 stats_req->tx_enet_mask = htonl(bna->tx_mod.rid_mask); in bna_bfi_stats_get()
1991 bna_tx_mod_init(&bna->tx_mod, bna, res_info); in bna_mod_init()
2012 bna_tx_mod_uninit(&bna->tx_mod); in bna_uninit()
Dbna_types.h934 struct bna_tx_mod tx_mod; member