Home
last modified time | relevance | path

Searched refs:rx_mod (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A Dbna_tx_rx.c1741 bna_rx_res_check(struct bna_rx_mod *rx_mod, struct bna_rx_config *rx_cfg) in bna_rx_res_check() argument
1743 if ((rx_mod->rx_free_count == 0) || in bna_rx_res_check()
1744 (rx_mod->rxp_free_count == 0) || in bna_rx_res_check()
1745 (rx_mod->rxq_free_count == 0)) in bna_rx_res_check()
1749 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1750 (rx_mod->rxq_free_count < rx_cfg->num_paths)) in bna_rx_res_check()
1753 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1754 (rx_mod->rxq_free_count < (2 * rx_cfg->num_paths))) in bna_rx_res_check()
1762 bna_rxq_get(struct bna_rx_mod *rx_mod) in bna_rxq_get() argument
1766 rxq = list_first_entry(&rx_mod in bna_rxq_get()
1774 bna_rxq_put(struct bna_rx_mod *rx_mod, struct bna_rxq *rxq) bna_rxq_put() argument
1781 bna_rxp_get(struct bna_rx_mod *rx_mod) bna_rxp_get() argument
1793 bna_rxp_put(struct bna_rx_mod *rx_mod, struct bna_rxp *rxp) bna_rxp_put() argument
1800 bna_rx_get(struct bna_rx_mod *rx_mod, enum bna_rx_type type) bna_rx_get() argument
1818 bna_rx_put(struct bna_rx_mod *rx_mod, struct bna_rx *rx) bna_rx_put() argument
1932 struct bna_rx_mod *rx_mod = (struct bna_rx_mod *)arg; bna_rx_mod_cb_rx_stopped() local
1940 struct bna_rx_mod *rx_mod = (struct bna_rx_mod *)arg; bna_rx_mod_cb_rx_stopped_all() local
1977 bna_rx_mod_start(struct bna_rx_mod *rx_mod, enum bna_rx_type type) bna_rx_mod_start() argument
1991 bna_rx_mod_stop(struct bna_rx_mod *rx_mod, enum bna_rx_type type) bna_rx_mod_stop() argument
2012 bna_rx_mod_fail(struct bna_rx_mod *rx_mod) bna_rx_mod_fail() argument
2023 bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna, struct bna_res_info *res_info) bna_rx_mod_init() argument
2080 bna_rx_mod_uninit(struct bna_rx_mod *rx_mod) bna_rx_mod_uninit() argument
2256 struct bna_rx_mod *rx_mod = &bna->rx_mod; bna_rx_create() local
2485 struct bna_rx_mod *rx_mod = &rx->bna->rx_mod; bna_rx_destroy() local
[all...]
H A Dbna.h200 #define bna_rx_rid_mask(_bna) ((_bna)->rx_mod.rid_mask)
217 struct bna_rx_mod *__rx_mod = &(_bna)->rx_mod; \
333 void bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna,
335 void bna_rx_mod_uninit(struct bna_rx_mod *rx_mod);
338 void bna_rx_mod_start(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
339 void bna_rx_mod_stop(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
340 void bna_rx_mod_fail(struct bna_rx_mod *rx_mod);
H A Dbna_enet.c819 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \
836 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \
844 bna_rx_mod_fail(&(enet)->bna->rx_mod); \
852 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \
862 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \
1852 stats_req->rx_enet_mask = htonl(bna->rx_mod.rid_mask); in bna_bfi_stats_get()
1993 bna_rx_mod_init(&bna->rx_mod, bna, res_info); in bna_mod_init()
2011 bna_rx_mod_uninit(&bna->rx_mod); in bna_uninit()
H A Dbna_types.h920 struct bna_rx_mod rx_mod; member
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
H A Dbna_tx_rx.c1741 bna_rx_res_check(struct bna_rx_mod *rx_mod, struct bna_rx_config *rx_cfg) in bna_rx_res_check() argument
1743 if ((rx_mod->rx_free_count == 0) || in bna_rx_res_check()
1744 (rx_mod->rxp_free_count == 0) || in bna_rx_res_check()
1745 (rx_mod->rxq_free_count == 0)) in bna_rx_res_check()
1749 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1750 (rx_mod->rxq_free_count < rx_cfg->num_paths)) in bna_rx_res_check()
1753 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1754 (rx_mod->rxq_free_count < (2 * rx_cfg->num_paths))) in bna_rx_res_check()
1762 bna_rxq_get(struct bna_rx_mod *rx_mod) in bna_rxq_get() argument
1766 rxq = list_first_entry(&rx_mod in bna_rxq_get()
1774 bna_rxq_put(struct bna_rx_mod *rx_mod, struct bna_rxq *rxq) bna_rxq_put() argument
1781 bna_rxp_get(struct bna_rx_mod *rx_mod) bna_rxp_get() argument
1793 bna_rxp_put(struct bna_rx_mod *rx_mod, struct bna_rxp *rxp) bna_rxp_put() argument
1800 bna_rx_get(struct bna_rx_mod *rx_mod, enum bna_rx_type type) bna_rx_get() argument
1818 bna_rx_put(struct bna_rx_mod *rx_mod, struct bna_rx *rx) bna_rx_put() argument
1932 struct bna_rx_mod *rx_mod = (struct bna_rx_mod *)arg; bna_rx_mod_cb_rx_stopped() local
1940 struct bna_rx_mod *rx_mod = (struct bna_rx_mod *)arg; bna_rx_mod_cb_rx_stopped_all() local
1977 bna_rx_mod_start(struct bna_rx_mod *rx_mod, enum bna_rx_type type) bna_rx_mod_start() argument
1991 bna_rx_mod_stop(struct bna_rx_mod *rx_mod, enum bna_rx_type type) bna_rx_mod_stop() argument
2012 bna_rx_mod_fail(struct bna_rx_mod *rx_mod) bna_rx_mod_fail() argument
2023 bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna, struct bna_res_info *res_info) bna_rx_mod_init() argument
2080 bna_rx_mod_uninit(struct bna_rx_mod *rx_mod) bna_rx_mod_uninit() argument
2256 struct bna_rx_mod *rx_mod = &bna->rx_mod; bna_rx_create() local
2485 struct bna_rx_mod *rx_mod = &rx->bna->rx_mod; bna_rx_destroy() local
[all...]
H A Dbna.h200 #define bna_rx_rid_mask(_bna) ((_bna)->rx_mod.rid_mask)
217 struct bna_rx_mod *__rx_mod = &(_bna)->rx_mod; \
333 void bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna,
335 void bna_rx_mod_uninit(struct bna_rx_mod *rx_mod);
338 void bna_rx_mod_start(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
339 void bna_rx_mod_stop(struct bna_rx_mod *rx_mod, enum bna_rx_type type);
340 void bna_rx_mod_fail(struct bna_rx_mod *rx_mod);
H A Dbna_enet.c819 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \
836 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \
844 bna_rx_mod_fail(&(enet)->bna->rx_mod); \
852 bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \
862 bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \
1852 stats_req->rx_enet_mask = htonl(bna->rx_mod.rid_mask); in bna_bfi_stats_get()
1993 bna_rx_mod_init(&bna->rx_mod, bna, res_info); in bna_mod_init()
2011 bna_rx_mod_uninit(&bna->rx_mod); in bna_uninit()
H A Dbna_types.h935 struct bna_rx_mod rx_mod; member

Completed in 16 milliseconds