Home
last modified time | relevance | path

Searched refs:bna (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/brocade/bna/
Dbna_enet.c17 if (ethport->bna->enet.type == BNA_ENET_T_REGULAR) in ethport_can_be_up()
65 stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \
66 stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \
119 ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); in bna_bfi_ethport_admin_rsp()
179 bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) in bna_bfi_stats_get_rsp() argument
181 struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; in bna_bfi_stats_get_rsp()
196 stats_src = (u64 *)&(bna->stats.hw_stats_kva->rxf_stats[0]); in bna_bfi_stats_get_rsp()
200 stats_dst = (u64 *)&(bna->stats.hw_stats.rxf_stats[i]); in bna_bfi_stats_get_rsp()
215 stats_dst = (u64 *)&(bna->stats.hw_stats.txf_stats[i]); in bna_bfi_stats_get_rsp()
228 bna->stats_mod.stats_get_busy = false; in bna_bfi_stats_get_rsp()
[all …]
Dbna.h255 void bna_bfi_stats_clr_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr);
259 void bna_mod_res_req(struct bna *bna, struct bna_res_info *res_info);
260 void bna_init(struct bna *bna, struct bnad *bnad,
263 void bna_mod_init(struct bna *bna, struct bna_res_info *res_info);
264 void bna_uninit(struct bna *bna);
265 int bna_num_txq_set(struct bna *bna, int num_txq);
266 int bna_num_rxp_set(struct bna *bna, int num_rxp);
267 void bna_hw_stats_get(struct bna *bna);
278 void bna_mbox_handler(struct bna *bna, u32 intr_status);
296 void bna_tx_mod_init(struct bna_tx_mod *tx_mod, struct bna *bna,
[all …]
Dbna_tx_rx.c190 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_ucast_req()
206 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_add_req()
222 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_del_req()
237 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_filter_req()
252 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rx_promisc_req()
277 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rx_vlan_filter_set()
292 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_vlan_strip_enable()
308 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rit_cfg()
328 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rss_cfg()
343 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rss_enable()
[all …]
Dbna_hw_defs.h169 #define bna_intx_enable(bna, new_mask) \ argument
170 writel((new_mask), (bna)->regs.fn_int_mask)
171 #define bna_mbox_intr_disable(bna) \ argument
174 mask = readl((bna)->regs.fn_int_mask); \
175 writel((mask | (bna)->bits.mbox_mask_bits | \
176 (bna)->bits.error_mask_bits), (bna)->regs.fn_int_mask); \
177 mask = readl((bna)->regs.fn_int_mask); \
180 #define bna_mbox_intr_enable(bna) \ argument
183 mask = readl((bna)->regs.fn_int_mask); \
184 writel((mask & ~((bna)->bits.mbox_mask_bits | \
[all …]
Dbna_types.h29 struct bna;
328 struct bna *bna; member
362 struct bna *bna; member
389 struct bna *bna; member
499 struct bna *bna; member
546 struct bna *bna; member
826 struct bna *bna; member
844 struct bna *bna; /* back pointer to parent */ member
876 struct bna *bna; member
893 struct bna *bna; member
[all …]
DMakefile8 obj-$(CONFIG_BNA) += bna.o
10 bna-objs := bnad.o bnad_ethtool.o bnad_debugfs.o bna_enet.o bna_tx_rx.o
11 bna-objs += bfa_msgq.o bfa_ioc.o bfa_ioc_ct.o bfa_cee.o
12 bna-objs += cna_fwimg.o
Dbnad.c781 bna_intr_status_get(&bnad->bna, intr_status); in bnad_msix_mbox_handler()
783 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_msix_mbox_handler()
784 bna_mbox_handler(&bnad->bna, intr_status); in bnad_msix_mbox_handler()
808 bna_intr_status_get(&bnad->bna, intr_status); in bnad_isr()
815 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_isr()
816 bna_mbox_handler(&bnad->bna, intr_status); in bnad_isr()
1085 bna_enet_perm_mac_get(&bnad->bna.enet, bnad->perm_addr); in bnad_cb_tx_resume()
1690 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.ioc_timer); in bnad_ioc_timeout()
1694 bfa_nw_ioc_timeout(&bnad->bna.ioceth.ioc); in bnad_ioc_timeout()
1701 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.hb_timer); in bnad_ioc_hb_check()
[all …]
Dbnad_ethtool.c291 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, ioc_attr); in bnad_get_drvinfo()
507 pauseparam->rx_pause = bnad->bna.enet.pause_config.rx_pause; in bnad_get_pauseparam()
508 pauseparam->tx_pause = bnad->bna.enet.pause_config.tx_pause; in bnad_get_pauseparam()
523 if (pauseparam->rx_pause != bnad->bna.enet.pause_config.rx_pause || in bnad_set_pauseparam()
524 pauseparam->tx_pause != bnad->bna.enet.pause_config.tx_pause) { in bnad_set_pauseparam()
528 bna_enet_pause_config(&bnad->bna.enet, &pause_config); in bnad_set_pauseparam()
614 bmap = bna_tx_rid_mask(&bnad->bna); in bnad_get_strings()
621 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_get_strings()
667 bmap = bna_tx_rid_mask(&bnad->bna); in bnad_get_stats_count_locked()
673 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_get_stats_count_locked()
[all …]
Dbnad_debugfs.c62 rc = bfa_nw_ioc_debug_fwtrc(&bnad->bna.ioceth.ioc, in bnad_debugfs_open_fwtrc()
102 rc = bfa_nw_ioc_debug_fwsave(&bnad->bna.ioceth.ioc, in bnad_debugfs_open_fwsave()
146 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, &drvinfo->ioc_attr); in bnad_get_debug_drvinfo()
154 ret = bfa_nw_cee_get_attr(&bnad->bna.cee, &drvinfo->cee_attr, in bnad_get_debug_drvinfo()
168 ret = bfa_nw_flash_get_attr(&bnad->bna.flash, &drvinfo->flash_attr, in bnad_get_debug_drvinfo()
306 struct bfa_ioc *ioc = &bnad->bna.ioceth.ioc; in bnad_debugfs_write_regrd()
367 struct bfa_ioc *ioc = &bnad->bna.ioceth.ioc; in bnad_debugfs_write_regwr()
DKconfig13 will be called bna.
Dbnad.h308 struct bna bna; member
/linux-6.12.1/drivers/net/ethernet/brocade/
DMakefile6 obj-$(CONFIG_BNA) += bna/
DKconfig20 source "drivers/net/ethernet/brocade/bna/Kconfig"
/linux-6.12.1/
DMAINTAINERS4823 F: drivers/net/ethernet/brocade/bna/