Home
last modified time | relevance | path

Searched refs:ioceth (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/brocade/bna/
Dbna_enet.c156 bna_bfi_attr_get_rsp(struct bna_ioceth *ioceth, in bna_bfi_attr_get_rsp() argument
166 if (!ioceth->attr.fw_query_complete) { in bna_bfi_attr_get_rsp()
167 ioceth->attr.num_txq = ntohl(rsp->max_cfg); in bna_bfi_attr_get_rsp()
168 ioceth->attr.num_rxp = ntohl(rsp->max_cfg); in bna_bfi_attr_get_rsp()
169 ioceth->attr.num_ucmac = ntohl(rsp->max_ucmac); in bna_bfi_attr_get_rsp()
170 ioceth->attr.num_mcmac = BFI_ENET_MAX_MCAM; in bna_bfi_attr_get_rsp()
171 ioceth->attr.max_rit_size = ntohl(rsp->rit_size); in bna_bfi_attr_get_rsp()
172 ioceth->attr.fw_query_complete = true; in bna_bfi_attr_get_rsp()
175 bfa_fsm_send_event(ioceth, IOCETH_E_ENET_ATTR_RESP); in bna_bfi_attr_get_rsp()
258 bfa_nw_ioc_error_isr(&bna->ioceth.ioc); in bna_err_handler()
[all …]
Dbna_hw_defs.h132 #define bna_port_id_get(_bna) ((_bna)->ioceth.ioc.port_id)
157 init_halt = readl((_bna)->ioceth.ioc.ioc_regs.ll_halt); \
159 writel(init_halt, (_bna)->ioceth.ioc.ioc_regs.ll_halt); \
160 init_halt = readl((_bna)->ioceth.ioc.ioc_regs.ll_halt); \
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()
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()
Dbnad.c1689 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.ioc_timer); in bnad_ioc_timeout()
1693 bfa_nw_ioc_timeout(&bnad->bna.ioceth.ioc); in bnad_ioc_timeout()
1700 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.hb_timer); in bnad_ioc_hb_check()
1704 bfa_nw_ioc_hb_check(&bnad->bna.ioceth.ioc); in bnad_ioc_hb_check()
1711 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.iocpf_timer); in bnad_iocpf_timeout()
1715 bfa_nw_iocpf_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_timeout()
1722 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.sem_timer); in bnad_iocpf_sem_timeout()
1726 bfa_nw_iocpf_sem_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_sem_timeout()
2563 bna_ioceth_disable(&bnad->bna.ioceth, BNA_HARD_CLEANUP); in bnad_ioceth_disable()
2582 bna_ioceth_enable(&bnad->bna.ioceth); in bnad_ioceth_enable()
[all …]
Dbna.h248 #define bna_attr(_bna) (&(_bna)->ioceth.attr)
397 void bna_ioceth_enable(struct bna_ioceth *ioceth);
398 void bna_ioceth_disable(struct bna_ioceth *ioceth,
Dbfa_cs.h48 BFA_SM_TABLE(ioceth, bna_ioceth, bna_ioceth_event, bna_fsm_ioceth_t)
Dbna_types.h925 struct bna_ioceth ioceth; member
Dbna_tx_rx.c2051 for (index = 0; index < bna->ioceth.attr.num_rxp; index++) { in bna_rx_mod_init()
2065 for (index = 0; index < bna->ioceth.attr.num_rxp; index++) { in bna_rx_mod_init()
2072 for (index = 0; index < (bna->ioceth.attr.num_rxp * 2); index++) { in bna_rx_mod_init()
3595 for (i = 0; i < bna->ioceth.attr.num_txq; i++) { in bna_tx_mod_init()
Dbnad_ethtool.c291 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, ioc_attr); in bnad_get_drvinfo()