bna 255 drivers/net/ethernet/brocade/bna/bna.h void bna_bfi_stats_clr_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr); bna 259 drivers/net/ethernet/brocade/bna/bna.h void bna_mod_res_req(struct bna *bna, struct bna_res_info *res_info); bna 260 drivers/net/ethernet/brocade/bna/bna.h void bna_init(struct bna *bna, struct bnad *bnad, bna 263 drivers/net/ethernet/brocade/bna/bna.h void bna_mod_init(struct bna *bna, struct bna_res_info *res_info); bna 264 drivers/net/ethernet/brocade/bna/bna.h void bna_uninit(struct bna *bna); bna 265 drivers/net/ethernet/brocade/bna/bna.h int bna_num_txq_set(struct bna *bna, int num_txq); bna 266 drivers/net/ethernet/brocade/bna/bna.h int bna_num_rxp_set(struct bna *bna, int num_rxp); bna 267 drivers/net/ethernet/brocade/bna/bna.h void bna_hw_stats_get(struct bna *bna); bna 278 drivers/net/ethernet/brocade/bna/bna.h void bna_mbox_handler(struct bna *bna, u32 intr_status); bna 296 drivers/net/ethernet/brocade/bna/bna.h void bna_tx_mod_init(struct bna_tx_mod *tx_mod, struct bna *bna, bna 308 drivers/net/ethernet/brocade/bna/bna.h struct bna_tx *bna_tx_create(struct bna *bna, struct bnad *bnad, bna 333 drivers/net/ethernet/brocade/bna/bna.h void bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna, bna 345 drivers/net/ethernet/brocade/bna/bna.h struct bna_rx *bna_rx_create(struct bna *bna, struct bnad *bnad, bna 355 drivers/net/ethernet/brocade/bna/bna.h void bna_rx_dim_reconfig(struct bna *bna, const u32 vector[][BNA_BIAS_T_MAX]); bna 17 drivers/net/ethernet/brocade/bna/bna_enet.c if (ethport->bna->enet.type == BNA_ENET_T_REGULAR) bna 65 drivers/net/ethernet/brocade/bna/bna_enet.c stats_src = (u64 *)&bna->stats.hw_stats_kva->_name ## _stats; \ bna 66 drivers/net/ethernet/brocade/bna/bna_enet.c stats_dst = (u64 *)&bna->stats.hw_stats._name ## _stats; \ bna 119 drivers/net/ethernet/brocade/bna/bna_enet.c ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); bna 179 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) bna 181 drivers/net/ethernet/brocade/bna/bna_enet.c struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; bna 196 drivers/net/ethernet/brocade/bna/bna_enet.c stats_src = (u64 *)&(bna->stats.hw_stats_kva->rxf_stats[0]); bna 200 drivers/net/ethernet/brocade/bna/bna_enet.c stats_dst = (u64 *)&(bna->stats.hw_stats.rxf_stats[i]); bna 215 drivers/net/ethernet/brocade/bna/bna_enet.c stats_dst = (u64 *)&(bna->stats.hw_stats.txf_stats[i]); bna 228 drivers/net/ethernet/brocade/bna/bna_enet.c bna->stats_mod.stats_get_busy = false; bna 229 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_stats_get(bna->bnad, BNA_CB_SUCCESS, &bna->stats); bna 239 drivers/net/ethernet/brocade/bna/bna_enet.c ethport->link_cbfn(ethport->bna->bnad, ethport->link_status); bna 249 drivers/net/ethernet/brocade/bna/bna_enet.c ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); bna 253 drivers/net/ethernet/brocade/bna/bna_enet.c bna_err_handler(struct bna *bna, u32 intr_status) bna 255 drivers/net/ethernet/brocade/bna/bna_enet.c if (BNA_IS_HALT_INTR(bna, intr_status)) bna 256 drivers/net/ethernet/brocade/bna/bna_enet.c bna_halt_clear(bna); bna 258 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_ioc_error_isr(&bna->ioceth.ioc); bna 262 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mbox_handler(struct bna *bna, u32 intr_status) bna 264 drivers/net/ethernet/brocade/bna/bna_enet.c if (BNA_IS_ERR_INTR(bna, intr_status)) { bna 265 drivers/net/ethernet/brocade/bna/bna_enet.c bna_err_handler(bna, intr_status); bna 268 drivers/net/ethernet/brocade/bna/bna_enet.c if (BNA_IS_MBOX_INTR(bna, intr_status)) bna 269 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_ioc_mbox_isr(&bna->ioceth.ioc); bna 275 drivers/net/ethernet/brocade/bna/bna_enet.c struct bna *bna = (struct bna *)arg; bna 281 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_from_rid(bna, msghdr->enet_id, rx); bna 287 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_from_rid(bna, msghdr->enet_id, rx); bna 304 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_from_rid(bna, msghdr->enet_id, rx); bna 310 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_from_rid(bna, msghdr->enet_id, rx); bna 316 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_from_rid(bna, msghdr->enet_id, rx); bna 322 drivers/net/ethernet/brocade/bna/bna_enet.c bna_tx_from_rid(bna, msghdr->enet_id, tx); bna 328 drivers/net/ethernet/brocade/bna/bna_enet.c bna_tx_from_rid(bna, msghdr->enet_id, tx); bna 334 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_ethport_admin_rsp(&bna->ethport, msghdr); bna 338 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_ethport_lpbk_rsp(&bna->ethport, msghdr); bna 342 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_pause_set_rsp(&bna->enet, msghdr); bna 346 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_attr_get_rsp(&bna->ioceth, msghdr); bna 350 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_stats_get_rsp(bna, msghdr); bna 358 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_ethport_linkup_aen(&bna->ethport, msghdr); bna 362 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_ethport_linkdown_aen(&bna->ethport, msghdr); bna 366 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_ethport_enable_aen(&bna->ethport, msghdr); bna 370 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_ethport_disable_aen(&bna->ethport, msghdr); bna 374 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_bw_update_aen(&bna->tx_mod); bna 390 drivers/net/ethernet/brocade/bna/bna_enet.c cbfn(&(_ethport)->bna->enet); \ bna 400 drivers/net/ethernet/brocade/bna/bna_enet.c cbfn((ethport)->bna->bnad, status); \ bna 418 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); bna 435 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); bna 448 drivers/net/ethernet/brocade/bna/bna_enet.c lpbk_up_req->mode = (ethport->bna->enet.type == bna 456 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); bna 473 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_post(ðport->bna->msgq, ðport->msgq_cmd); bna 479 drivers/net/ethernet/brocade/bna/bna_enet.c if (ethport->bna->enet.type == BNA_ENET_T_REGULAR) bna 488 drivers/net/ethernet/brocade/bna/bna_enet.c if (ethport->bna->enet.type == BNA_ENET_T_REGULAR) bna 721 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ethport_init(struct bna_ethport *ethport, struct bna *bna) bna 724 drivers/net/ethernet/brocade/bna/bna_enet.c ethport->bna = bna; bna 743 drivers/net/ethernet/brocade/bna/bna_enet.c ethport->bna = NULL; bna 773 drivers/net/ethernet/brocade/bna/bna_enet.c ethport->link_cbfn(ethport->bna->bnad, BNA_LINK_DOWN); bna 817 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ethport_start(&(enet)->bna->ethport); \ bna 818 drivers/net/ethernet/brocade/bna/bna_enet.c bna_tx_mod_start(&(enet)->bna->tx_mod, tx_type); \ bna 819 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \ bna 832 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ethport_stop(&(enet)->bna->ethport); \ bna 834 drivers/net/ethernet/brocade/bna/bna_enet.c bna_tx_mod_stop(&(enet)->bna->tx_mod, tx_type); \ bna 836 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \ bna 842 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ethport_fail(&(enet)->bna->ethport); \ bna 843 drivers/net/ethernet/brocade/bna/bna_enet.c bna_tx_mod_fail(&(enet)->bna->tx_mod); \ bna 844 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_mod_fail(&(enet)->bna->rx_mod); \ bna 852 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_mod_start(&(enet)->bna->rx_mod, rx_type); \ bna 862 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_mod_stop(&(enet)->bna->rx_mod, rx_type); \ bna 885 drivers/net/ethernet/brocade/bna/bna_enet.c cbfn((enet)->bna->bnad); \ bna 1171 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_post(&enet->bna->msgq, &enet->msgq_cmd); bna 1183 drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_init(struct bna_enet *enet, struct bna *bna) bna 1185 drivers/net/ethernet/brocade/bna/bna_enet.c enet->bna = bna; bna 1203 drivers/net/ethernet/brocade/bna/bna_enet.c enet->bna = NULL; bna 1226 drivers/net/ethernet/brocade/bna/bna_enet.c enet->stop_cbarg = &enet->bna->ioceth; bna 1274 drivers/net/ethernet/brocade/bna/bna_enet.c (*cbfn)(enet->bna->bnad); bna 1279 drivers/net/ethernet/brocade/bna/bna_enet.c enet->stop_cbarg = enet->bna->bnad; bna 1309 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_ioc_get_mac(&enet->bna->ioceth.ioc, mac); bna 1317 drivers/net/ethernet/brocade/bna/bna_enet.c bna_intr_status_get((_ioceth)->bna, intr_status); \ bna 1318 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_mbox_intr_enable((_ioceth)->bna->bnad); \ bna 1319 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mbox_intr_enable((_ioceth)->bna); \ bna 1324 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mbox_intr_disable((_ioceth)->bna); \ bna 1325 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_mbox_intr_disable((_ioceth)->bna->bnad); \ bna 1484 drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_start(&ioceth->bna->enet); bna 1485 drivers/net/ethernet/brocade/bna/bna_enet.c bna_stats_mod_start(&ioceth->bna->stats_mod); bna 1486 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_ioceth_ready(ioceth->bna->bnad); bna 1499 drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_fail(&ioceth->bna->enet); bna 1500 drivers/net/ethernet/brocade/bna/bna_enet.c bna_stats_mod_fail(&ioceth->bna->stats_mod); bna 1538 drivers/net/ethernet/brocade/bna/bna_enet.c bna_stats_mod_stop(&ioceth->bna->stats_mod); bna 1539 drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_stop(&ioceth->bna->enet); bna 1550 drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_fail(&ioceth->bna->enet); bna 1551 drivers/net/ethernet/brocade/bna/bna_enet.c bna_stats_mod_fail(&ioceth->bna->stats_mod); bna 1593 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_ioceth_failed(ioceth->bna->bnad); bna 1630 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_post(&ioceth->bna->msgq, &ioceth->msgq_cmd); bna 1688 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ioceth_init(struct bna_ioceth *ioceth, struct bna *bna, bna 1694 drivers/net/ethernet/brocade/bna/bna_enet.c ioceth->bna = bna; bna 1702 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_ioc_pci_init(&ioceth->ioc, &bna->pcidev, BFI_PCIFN_CLASS_ETH); bna 1719 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_cee_attach(&bna->cee, &ioceth->ioc, bna); bna 1720 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_cee_mem_claim(&bna->cee, kva, dma); bna 1724 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_flash_attach(&bna->flash, &ioceth->ioc, bna); bna 1725 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_flash_memclaim(&bna->flash, kva, dma); bna 1729 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_attach(&bna->msgq, &ioceth->ioc); bna 1730 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_memclaim(&bna->msgq, kva, dma); bna 1731 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_regisr(&bna->msgq, BFI_MC_ENET, bna_msgq_rsp_handler, bna); bna 1748 drivers/net/ethernet/brocade/bna/bna_enet.c ioceth->bna = NULL; bna 1755 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_ioceth_ready(ioceth->bna->bnad); bna 1767 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_ioceth_disabled(ioceth->bna->bnad); bna 1772 drivers/net/ethernet/brocade/bna/bna_enet.c ioceth->stop_cbarg = ioceth->bna->bnad; bna 1778 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ucam_mod_init(struct bna_ucam_mod *ucam_mod, struct bna *bna, bna 1787 drivers/net/ethernet/brocade/bna/bna_enet.c for (i = 0; i < bna->ioceth.attr.num_ucmac; i++) bna 1792 drivers/net/ethernet/brocade/bna/bna_enet.c for (; i < (bna->ioceth.attr.num_ucmac * 2); i++) bna 1795 drivers/net/ethernet/brocade/bna/bna_enet.c ucam_mod->bna = bna; bna 1801 drivers/net/ethernet/brocade/bna/bna_enet.c ucam_mod->bna = NULL; bna 1805 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mcam_mod_init(struct bna_mcam_mod *mcam_mod, struct bna *bna, bna 1814 drivers/net/ethernet/brocade/bna/bna_enet.c for (i = 0; i < bna->ioceth.attr.num_mcmac; i++) bna 1821 drivers/net/ethernet/brocade/bna/bna_enet.c for (i = 0; i < bna->ioceth.attr.num_mcmac; i++) bna 1827 drivers/net/ethernet/brocade/bna/bna_enet.c for (; i < (bna->ioceth.attr.num_mcmac * 2); i++) bna 1830 drivers/net/ethernet/brocade/bna/bna_enet.c mcam_mod->bna = bna; bna 1836 drivers/net/ethernet/brocade/bna/bna_enet.c mcam_mod->bna = NULL; bna 1840 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_stats_get(struct bna *bna) bna 1842 drivers/net/ethernet/brocade/bna/bna_enet.c struct bfi_enet_stats_req *stats_req = &bna->stats_mod.stats_get; bna 1844 drivers/net/ethernet/brocade/bna/bna_enet.c bna->stats_mod.stats_get_busy = true; bna 1851 drivers/net/ethernet/brocade/bna/bna_enet.c stats_req->tx_enet_mask = htonl(bna->tx_mod.rid_mask); bna 1852 drivers/net/ethernet/brocade/bna/bna_enet.c stats_req->rx_enet_mask = htonl(bna->rx_mod.rid_mask); bna 1853 drivers/net/ethernet/brocade/bna/bna_enet.c stats_req->host_buffer.a32.addr_hi = bna->stats.hw_stats_dma.msb; bna 1854 drivers/net/ethernet/brocade/bna/bna_enet.c stats_req->host_buffer.a32.addr_lo = bna->stats.hw_stats_dma.lsb; bna 1856 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_set(&bna->stats_mod.stats_get_cmd, NULL, NULL, bna 1858 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_msgq_cmd_post(&bna->msgq, &bna->stats_mod.stats_get_cmd); bna 1896 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mod_res_req(struct bna *bna, struct bna_res_info *res_info) bna 1898 drivers/net/ethernet/brocade/bna/bna_enet.c struct bna_attr *attr = &bna->ioceth.attr; bna 1966 drivers/net/ethernet/brocade/bna/bna_enet.c bna_init(struct bna *bna, struct bnad *bnad, bna 1969 drivers/net/ethernet/brocade/bna/bna_enet.c bna->bnad = bnad; bna 1970 drivers/net/ethernet/brocade/bna/bna_enet.c bna->pcidev = *pcidev; bna 1972 drivers/net/ethernet/brocade/bna/bna_enet.c bna->stats.hw_stats_kva = (struct bfi_enet_stats *) bna 1974 drivers/net/ethernet/brocade/bna/bna_enet.c bna->stats.hw_stats_dma.msb = bna 1976 drivers/net/ethernet/brocade/bna/bna_enet.c bna->stats.hw_stats_dma.lsb = bna 1979 drivers/net/ethernet/brocade/bna/bna_enet.c bna_reg_addr_init(bna, &bna->pcidev); bna 1982 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ioceth_init(&bna->ioceth, bna, res_info); bna 1984 drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_init(&bna->enet, bna); bna 1985 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ethport_init(&bna->ethport, bna); bna 1989 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mod_init(struct bna *bna, struct bna_res_info *res_info) bna 1991 drivers/net/ethernet/brocade/bna/bna_enet.c bna_tx_mod_init(&bna->tx_mod, bna, res_info); bna 1993 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_mod_init(&bna->rx_mod, bna, res_info); bna 1995 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ucam_mod_init(&bna->ucam_mod, bna, res_info); bna 1997 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mcam_mod_init(&bna->mcam_mod, bna, res_info); bna 1999 drivers/net/ethernet/brocade/bna/bna_enet.c bna->default_mode_rid = BFI_INVALID_RID; bna 2000 drivers/net/ethernet/brocade/bna/bna_enet.c bna->promisc_rid = BFI_INVALID_RID; bna 2002 drivers/net/ethernet/brocade/bna/bna_enet.c bna->mod_flags |= BNA_MOD_F_INIT_DONE; bna 2006 drivers/net/ethernet/brocade/bna/bna_enet.c bna_uninit(struct bna *bna) bna 2008 drivers/net/ethernet/brocade/bna/bna_enet.c if (bna->mod_flags & BNA_MOD_F_INIT_DONE) { bna 2009 drivers/net/ethernet/brocade/bna/bna_enet.c bna_mcam_mod_uninit(&bna->mcam_mod); bna 2010 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ucam_mod_uninit(&bna->ucam_mod); bna 2011 drivers/net/ethernet/brocade/bna/bna_enet.c bna_rx_mod_uninit(&bna->rx_mod); bna 2012 drivers/net/ethernet/brocade/bna/bna_enet.c bna_tx_mod_uninit(&bna->tx_mod); bna 2013 drivers/net/ethernet/brocade/bna/bna_enet.c bna->mod_flags &= ~BNA_MOD_F_INIT_DONE; bna 2016 drivers/net/ethernet/brocade/bna/bna_enet.c bna_stats_mod_uninit(&bna->stats_mod); bna 2017 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ethport_uninit(&bna->ethport); bna 2018 drivers/net/ethernet/brocade/bna/bna_enet.c bna_enet_uninit(&bna->enet); bna 2020 drivers/net/ethernet/brocade/bna/bna_enet.c bna_ioceth_uninit(&bna->ioceth); bna 2022 drivers/net/ethernet/brocade/bna/bna_enet.c bna->bnad = NULL; bna 2026 drivers/net/ethernet/brocade/bna/bna_enet.c bna_num_txq_set(struct bna *bna, int num_txq) bna 2028 drivers/net/ethernet/brocade/bna/bna_enet.c if (bna->ioceth.attr.fw_query_complete && bna 2029 drivers/net/ethernet/brocade/bna/bna_enet.c (num_txq <= bna->ioceth.attr.num_txq)) { bna 2030 drivers/net/ethernet/brocade/bna/bna_enet.c bna->ioceth.attr.num_txq = num_txq; bna 2038 drivers/net/ethernet/brocade/bna/bna_enet.c bna_num_rxp_set(struct bna *bna, int num_rxp) bna 2040 drivers/net/ethernet/brocade/bna/bna_enet.c if (bna->ioceth.attr.fw_query_complete && bna 2041 drivers/net/ethernet/brocade/bna/bna_enet.c (num_rxp <= bna->ioceth.attr.num_rxp)) { bna 2042 drivers/net/ethernet/brocade/bna/bna_enet.c bna->ioceth.attr.num_rxp = num_rxp; bna 2082 drivers/net/ethernet/brocade/bna/bna_enet.c bna_hw_stats_get(struct bna *bna) bna 2084 drivers/net/ethernet/brocade/bna/bna_enet.c if (!bna->stats_mod.ioc_ready) { bna 2085 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_stats_get(bna->bnad, BNA_CB_FAIL, &bna->stats); bna 2088 drivers/net/ethernet/brocade/bna/bna_enet.c if (bna->stats_mod.stats_get_busy) { bna 2089 drivers/net/ethernet/brocade/bna/bna_enet.c bnad_cb_stats_get(bna->bnad, BNA_CB_BUSY, &bna->stats); bna 2093 drivers/net/ethernet/brocade/bna/bna_enet.c bna_bfi_stats_get(bna); bna 169 drivers/net/ethernet/brocade/bna/bna_hw_defs.h #define bna_intx_enable(bna, new_mask) \ bna 170 drivers/net/ethernet/brocade/bna/bna_hw_defs.h writel((new_mask), (bna)->regs.fn_int_mask) bna 171 drivers/net/ethernet/brocade/bna/bna_hw_defs.h #define bna_mbox_intr_disable(bna) \ bna 174 drivers/net/ethernet/brocade/bna/bna_hw_defs.h mask = readl((bna)->regs.fn_int_mask); \ bna 175 drivers/net/ethernet/brocade/bna/bna_hw_defs.h writel((mask | (bna)->bits.mbox_mask_bits | \ bna 176 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (bna)->bits.error_mask_bits), (bna)->regs.fn_int_mask); \ bna 177 drivers/net/ethernet/brocade/bna/bna_hw_defs.h mask = readl((bna)->regs.fn_int_mask); \ bna 180 drivers/net/ethernet/brocade/bna/bna_hw_defs.h #define bna_mbox_intr_enable(bna) \ bna 183 drivers/net/ethernet/brocade/bna/bna_hw_defs.h mask = readl((bna)->regs.fn_int_mask); \ bna 184 drivers/net/ethernet/brocade/bna/bna_hw_defs.h writel((mask & ~((bna)->bits.mbox_mask_bits | \ bna 185 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (bna)->bits.error_mask_bits)), (bna)->regs.fn_int_mask);\ bna 186 drivers/net/ethernet/brocade/bna/bna_hw_defs.h mask = readl((bna)->regs.fn_int_mask); \ bna 190 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 206 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 222 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 237 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 252 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 277 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 292 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 308 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 328 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 343 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); bna 384 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mchandle = bna_mcam_mod_handle_get(&rxf->rx->bna->mcam_mod); bna 411 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_mcam_mod_handle_put(&rxf->rx->bna->mcam_mod, mchandle); bna 429 drivers/net/ethernet/brocade/bna/bna_tx_rx.c list_move_tail(&mac->qe, bna_mcam_mod_del_q(rxf->rx->bna)); bna 477 drivers/net/ethernet/brocade/bna/bna_tx_rx.c list_move_tail(&mac->qe, bna_mcam_mod_del_q(rxf->rx->bna)); bna 661 drivers/net/ethernet/brocade/bna/bna_tx_rx.c list_move_tail(&mac->qe, bna_ucam_mod_free_q(rxf->rx->bna)); bna 666 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ucam_mod_free_q(rxf->rx->bna)); bna 673 drivers/net/ethernet/brocade/bna/bna_tx_rx.c list_move_tail(&mac->qe, bna_mcam_mod_free_q(rxf->rx->bna)); bna 678 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (rxf->rx->bna->promisc_rid == rxf->rx->rid) bna 679 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->rx->bna->promisc_rid = BFI_INVALID_RID; bna 680 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (rxf->rx->bna->default_mode_rid == rxf->rx->rid) bna 681 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->rx->bna->default_mode_rid = BFI_INVALID_RID; bna 730 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_cam_mod_mac_get(bna_ucam_mod_free_q(rxf->rx->bna)); bna 738 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->cam_fltr_cbarg = rx->bna->bnad; bna 756 drivers/net/ethernet/brocade/bna/bna_tx_rx.c cbfn(rx->bna->bnad, rx); bna 760 drivers/net/ethernet/brocade/bna/bna_tx_rx.c mac = bna_cam_mod_mac_get(bna_mcam_mod_free_q(rxf->rx->bna)); bna 767 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->cam_fltr_cbarg = rx->bna->bnad; bna 777 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna_ucam_mod *ucam_mod = &rx->bna->ucam_mod; bna 835 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna_mcam_mod *mcam_mod = &rx->bna->mcam_mod; bna 903 drivers/net/ethernet/brocade/bna/bna_tx_rx.c list_move_tail(&mac->qe, bna_mcam_mod_free_q(rxf->rx->bna)); bna 911 drivers/net/ethernet/brocade/bna/bna_tx_rx.c del_mac = bna_cam_mod_mac_get(bna_mcam_mod_del_q(rxf->rx->bna)); bna 915 drivers/net/ethernet/brocade/bna/bna_tx_rx.c list_add_tail(&mac->qe, bna_mcam_mod_free_q(rxf->rx->bna)); bna 963 drivers/net/ethernet/brocade/bna/bna_tx_rx.c list_move_tail(&mac->qe, bna_ucam_mod_del_q(rxf->rx->bna)); bna 1001 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ucam_mod_del_q(rxf->rx->bna)); bna 1006 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ucam_mod_del_q(rxf->rx->bna)); bna 1039 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna *bna = rxf->rx->bna; bna 1056 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna->promisc_rid = BFI_INVALID_RID; bna 1067 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna *bna = rxf->rx->bna; bna 1075 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna->promisc_rid = BFI_INVALID_RID; bna 1153 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna *bna = rxf->rx->bna; bna 1169 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna->promisc_rid = rxf->rx->rid; bna 1179 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna *bna = rxf->rx->bna; bna 1191 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna->promisc_rid = BFI_INVALID_RID; bna 1286 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (rx)->rx_stall_cbfn((rx)->bna->bnad, (rx)); \ bna 1370 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->rx_cleanup_cbfn(rx->bna->bnad, rx); bna 1407 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->rx_post_cbfn(rx->bna->bnad, rx); bna 1424 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->rx_cleanup_cbfn(rx->bna->bnad, rx); bna 1475 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ib_start(rx->bna, &rxp->cq.ib, is_regular); bna 1477 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ethport_cb_rx_started(&rx->bna->ethport); bna 1486 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ethport_cb_rx_stopped(&rx->bna->ethport); bna 1492 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ethport_cb_rx_stopped(&rx->bna->ethport); bna 1495 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->rx_cleanup_cbfn(rx->bna->bnad, rx); bna 1516 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->rx_cleanup_cbfn(rx->bna->bnad, rx); bna 1625 drivers/net/ethernet/brocade/bna/bna_tx_rx.c cfg_req->rx_cfg.frame_size = bna_enet_mtu_get(&rx->bna->enet); bna 1655 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_enet_mtu_get(&rx->bna->enet); bna 1711 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rx->bna->msgq, &rx->msgq_cmd); bna 1725 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&rx->bna->msgq, &rx->msgq_cmd); bna 1735 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ib_stop(rx->bna, &rxp->cq.ib); bna 1943 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx_mod->stop_cbfn(&rx_mod->bna->enet); bna 1960 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_rx_mod_cb_rx_stopped(&rx->bna->rx_mod, rx); bna 1963 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->stop_cbarg = &rx->bna->rx_mod; bna 2023 drivers/net/ethernet/brocade/bna/bna_tx_rx.c void bna_rx_mod_init(struct bna_rx_mod *rx_mod, struct bna *bna, bna 2031 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx_mod->bna = bna; bna 2051 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (index = 0; index < bna->ioceth.attr.num_rxp; index++) { bna 2055 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx_ptr->bna = NULL; bna 2065 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (index = 0; index < bna->ioceth.attr.num_rxp; index++) { bna 2072 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (index = 0; index < (bna->ioceth.attr.num_rxp * 2); index++) { bna 2082 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx_mod->bna = NULL; bna 2093 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_rsp_copy(&rx->bna->msgq, (u8 *)cfg_rsp, bna 2104 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna->pcidev.pci_bar_kva bna 2108 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna->pcidev.pci_bar_kva bna 2113 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna->pcidev.pci_bar_kva bna 2250 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_rx_create(struct bna *bna, struct bnad *bnad, bna 2256 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna_rx_mod *rx_mod = &bna->rx_mod; bna 2308 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna = bna; bna 2324 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (rx->bna->rx_mod.flags & BNA_RX_MOD_F_ENET_STARTED) { bna 2327 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (!(rx->bna->rx_mod.flags & bna 2332 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (rx->bna->rx_mod.flags & BNA_RX_MOD_F_ENET_LOOPBACK) bna 2391 drivers/net/ethernet/brocade/bna/bna_tx_rx.c q0->rcb->bnad = bna->bnad; bna 2417 drivers/net/ethernet/brocade/bna/bna_tx_rx.c q1->rcb->bnad = bna->bnad; bna 2461 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.ccb->bnad = bna->bnad; bna 2485 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna_rx_mod *rx_mod = &rx->bna->rx_mod; bna 2498 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->rcb_destroy_cbfn(rx->bna->bnad, q0->rcb); bna 2506 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->rcb_destroy_cbfn(rx->bna->bnad, q1->rcb); bna 2516 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->ccb_destroy_cbfn(rx->bna->bnad, rxp->cq.ccb); bna 2530 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna = NULL; bna 2552 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (*cbfn)(rx->bna->bnad, rx); bna 2555 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->stop_cbarg = rx->bna->bnad; bna 2604 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if ((rx->bna->promisc_rid != BFI_INVALID_RID) && bna 2605 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (rx->bna->promisc_rid != rxf->rx->rid)) bna 2609 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (rx->bna->default_mode_rid != BFI_INVALID_RID) bna 2619 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if ((rx->bna->default_mode_rid != BFI_INVALID_RID) && bna 2620 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (rx->bna->default_mode_rid != rxf->rx->rid)) { bna 2625 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (rx->bna->promisc_rid != BFI_INVALID_RID) bna 2651 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->cam_fltr_cbarg = rx->bna->bnad; bna 2685 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_rx_dim_reconfig(struct bna *bna, const u32 vector[][BNA_BIAS_T_MAX]) bna 2691 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna->rx_mod.dim_vector[i][j] = vector[i][j]; bna 2697 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna *bna = ccb->cq->rx->bna; bna 2738 drivers/net/ethernet/brocade/bna/bna_tx_rx.c coalescing_timeo = bna->rx_mod.dim_vector[load][bias]; bna 2876 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ib_start(tx->bna, &txq->ib, is_regular); bna 2878 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_resume_cbfn(tx->bna->bnad, tx); bna 2887 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_stall_cbfn(tx->bna->bnad, tx); bna 2893 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_stall_cbfn(tx->bna->bnad, tx); bna 2894 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_cleanup_cbfn(tx->bna->bnad, tx); bna 2918 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_cleanup_cbfn(tx->bna->bnad, tx); bna 2964 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_stall_cbfn(tx->bna->bnad, tx); bna 2978 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_cleanup_cbfn(tx->bna->bnad, tx); bna 2997 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->tx_cleanup_cbfn(tx->bna->bnad, tx); bna 3131 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&tx->bna->msgq, &tx->msgq_cmd); bna 3145 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_cmd_post(&tx->bna->msgq, &tx->msgq_cmd); bna 3155 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_ib_stop(tx->bna, &txq->ib); bna 3216 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna_tx_mod *tx_mod = &tx->bna->tx_mod; bna 3234 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->bna = NULL; bna 3256 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->stop_cbarg = &tx->bna->tx_mod; bna 3276 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfa_msgq_rsp_copy(&tx->bna->msgq, (u8 *)cfg_rsp, bna 3285 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->bna->pcidev.pci_bar_kva bna 3288 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->bna->pcidev.pci_bar_kva bna 3363 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_tx_create(struct bna *bna, struct bnad *bnad, bna 3369 drivers/net/ethernet/brocade/bna/bna_tx_rx.c struct bna_tx_mod *tx_mod = &bna->tx_mod; bna 3391 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->bna = bna; bna 3424 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (tx->bna->tx_mod.flags & BNA_TX_MOD_F_ENET_STARTED) { bna 3427 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (!(tx->bna->tx_mod.flags & bna 3432 drivers/net/ethernet/brocade/bna/bna_tx_rx.c if (tx->bna->tx_mod.flags & BNA_TX_MOD_F_ENET_LOOPBACK) bna 3487 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (tx->tcb_setup_cbfn)(bna->bnad, txq->tcb); bna 3517 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (tx->tcb_destroy_cbfn)(tx->bna->bnad, txq->tcb); bna 3519 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->bna->tx_mod.rid_mask &= ~BIT(tx->rid); bna 3540 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (*cbfn)(tx->bna->bnad, tx); bna 3545 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->stop_cbarg = tx->bna->bnad; bna 3572 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx_mod->stop_cbfn(&tx_mod->bna->enet); bna 3577 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_tx_mod_init(struct bna_tx_mod *tx_mod, struct bna *bna, bna 3582 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx_mod->bna = bna; bna 3595 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (i = 0; i < bna->ioceth.attr.num_txq; i++) { bna 3610 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx_mod->bna = NULL; bna 29 drivers/net/ethernet/brocade/bna/bna_types.h struct bna; bna 326 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 358 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 383 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 490 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 537 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 811 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 829 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; /* back pointer to parent */ bna 861 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 878 drivers/net/ethernet/brocade/bna/bna_types.h struct bna *bna; bna 781 drivers/net/ethernet/brocade/bna/bnad.c bna_intr_status_get(&bnad->bna, intr_status); bna 783 drivers/net/ethernet/brocade/bna/bnad.c if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) bna 784 drivers/net/ethernet/brocade/bna/bnad.c bna_mbox_handler(&bnad->bna, intr_status); bna 808 drivers/net/ethernet/brocade/bna/bnad.c bna_intr_status_get(&bnad->bna, intr_status); bna 815 drivers/net/ethernet/brocade/bna/bnad.c if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) bna 816 drivers/net/ethernet/brocade/bna/bnad.c bna_mbox_handler(&bnad->bna, intr_status); bna 1086 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_perm_mac_get(&bnad->bna.enet, bnad->perm_addr); bna 1690 drivers/net/ethernet/brocade/bna/bnad.c struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.ioc_timer); bna 1694 drivers/net/ethernet/brocade/bna/bnad.c bfa_nw_ioc_timeout(&bnad->bna.ioceth.ioc); bna 1701 drivers/net/ethernet/brocade/bna/bnad.c struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.hb_timer); bna 1705 drivers/net/ethernet/brocade/bna/bnad.c bfa_nw_ioc_hb_check(&bnad->bna.ioceth.ioc); bna 1712 drivers/net/ethernet/brocade/bna/bnad.c struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.iocpf_timer); bna 1716 drivers/net/ethernet/brocade/bna/bnad.c bfa_nw_iocpf_timeout(&bnad->bna.ioceth.ioc); bna 1723 drivers/net/ethernet/brocade/bna/bnad.c struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.sem_timer); bna 1727 drivers/net/ethernet/brocade/bna/bnad.c bfa_nw_iocpf_sem_timeout(&bnad->bna.ioceth.ioc); bna 1786 drivers/net/ethernet/brocade/bna/bnad.c bna_hw_stats_get(&bnad->bna); bna 1987 drivers/net/ethernet/brocade/bna/bnad.c tx = bna_tx_create(&bnad->bna, bnad, tx_config, &tx_cbfn, res_info, bna 2116 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_mtu_set(&bnad->bna.enet, bna 2243 drivers/net/ethernet/brocade/bna/bnad.c rx = bna_rx_create(&bnad->bna, bnad, rx_config, &rx_cbfn, res_info, bna 2274 drivers/net/ethernet/brocade/bna/bnad.c bna_rx_dim_reconfig(&bnad->bna, bna_napi_dim_vector); bna 2451 drivers/net/ethernet/brocade/bna/bnad.c bmap = bna_rx_rid_mask(&bnad->bna); bna 2570 drivers/net/ethernet/brocade/bna/bnad.c bna_ioceth_disable(&bnad->bna.ioceth, BNA_HARD_CLEANUP); bna 2589 drivers/net/ethernet/brocade/bna/bnad.c bna_ioceth_enable(&bnad->bna.ioceth); bna 2742 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_mtu_set(&bnad->bna.enet, bna 2744 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_pause_config(&bnad->bna.enet, &pause_config); bna 2745 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_enable(&bnad->bna.enet); bna 2788 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_disable(&bnad->bna.enet, BNA_HARD_CLEANUP, bna 3133 drivers/net/ethernet/brocade/bna/bnad.c if (uc_count > bna_attr(&bnad->bna)->num_ucmac) bna 3174 drivers/net/ethernet/brocade/bna/bnad.c if (mc_count > bna_attr(&bnad->bna)->num_mcmac) bna 3272 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_mtu_set(&bnad->bna.enet, frame_size, bnad_cb_enet_mtu_set); bna 3389 drivers/net/ethernet/brocade/bna/bnad.c bna_intx_disable(&bnad->bna, curr_mask); bna 3391 drivers/net/ethernet/brocade/bna/bnad.c bna_intx_enable(&bnad->bna, curr_mask); bna 3600 drivers/net/ethernet/brocade/bna/bnad.c struct bna *bna; bna 3665 drivers/net/ethernet/brocade/bna/bnad.c bna = &bnad->bna; bna 3674 drivers/net/ethernet/brocade/bna/bnad.c bna_init(bna, bnad, &pcidev_info, &bnad->res_info[0]); bna 3677 drivers/net/ethernet/brocade/bna/bnad.c bnad->stats.bna_stats = &bna->stats; bna 3685 drivers/net/ethernet/brocade/bna/bnad.c timer_setup(&bnad->bna.ioceth.ioc.ioc_timer, bnad_ioc_timeout, 0); bna 3686 drivers/net/ethernet/brocade/bna/bnad.c timer_setup(&bnad->bna.ioceth.ioc.hb_timer, bnad_ioc_hb_check, 0); bna 3687 drivers/net/ethernet/brocade/bna/bnad.c timer_setup(&bnad->bna.ioceth.ioc.iocpf_timer, bnad_iocpf_timeout, 0); bna 3688 drivers/net/ethernet/brocade/bna/bnad.c timer_setup(&bnad->bna.ioceth.ioc.sem_timer, bnad_iocpf_sem_timeout, bna 3703 drivers/net/ethernet/brocade/bna/bnad.c if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || bna 3704 drivers/net/ethernet/brocade/bna/bnad.c bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) { bna 3705 drivers/net/ethernet/brocade/bna/bnad.c bnad_q_num_adjust(bnad, bna_attr(bna)->num_txq - 1, bna 3706 drivers/net/ethernet/brocade/bna/bnad.c bna_attr(bna)->num_rxp - 1); bna 3707 drivers/net/ethernet/brocade/bna/bnad.c if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || bna 3708 drivers/net/ethernet/brocade/bna/bnad.c bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) bna 3716 drivers/net/ethernet/brocade/bna/bnad.c bna_mod_res_req(&bnad->bna, &bnad->mod_res_info[0]); bna 3726 drivers/net/ethernet/brocade/bna/bnad.c bna_mod_init(&bnad->bna, &bnad->mod_res_info[0]); bna 3731 drivers/net/ethernet/brocade/bna/bnad.c bna_enet_perm_mac_get(&bna->enet, bnad->perm_addr); bna 3756 drivers/net/ethernet/brocade/bna/bnad.c del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); bna 3757 drivers/net/ethernet/brocade/bna/bnad.c del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); bna 3758 drivers/net/ethernet/brocade/bna/bnad.c del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); bna 3760 drivers/net/ethernet/brocade/bna/bnad.c bna_uninit(bna); bna 3785 drivers/net/ethernet/brocade/bna/bnad.c struct bna *bna; bna 3792 drivers/net/ethernet/brocade/bna/bnad.c bna = &bnad->bna; bna 3799 drivers/net/ethernet/brocade/bna/bnad.c del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); bna 3800 drivers/net/ethernet/brocade/bna/bnad.c del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); bna 3801 drivers/net/ethernet/brocade/bna/bnad.c del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); bna 3803 drivers/net/ethernet/brocade/bna/bnad.c bna_uninit(bna); bna 311 drivers/net/ethernet/brocade/bna/bnad.h struct bna bna; bna 62 drivers/net/ethernet/brocade/bna/bnad_debugfs.c rc = bfa_nw_ioc_debug_fwtrc(&bnad->bna.ioceth.ioc, bna 102 drivers/net/ethernet/brocade/bna/bnad_debugfs.c rc = bfa_nw_ioc_debug_fwsave(&bnad->bna.ioceth.ioc, bna 146 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, &drvinfo->ioc_attr); bna 154 drivers/net/ethernet/brocade/bna/bnad_debugfs.c ret = bfa_nw_cee_get_attr(&bnad->bna.cee, &drvinfo->cee_attr, bna 168 drivers/net/ethernet/brocade/bna/bnad_debugfs.c ret = bfa_nw_flash_get_attr(&bnad->bna.flash, &drvinfo->flash_attr, bna 306 drivers/net/ethernet/brocade/bna/bnad_debugfs.c struct bfa_ioc *ioc = &bnad->bna.ioceth.ioc; bna 367 drivers/net/ethernet/brocade/bna/bnad_debugfs.c struct bfa_ioc *ioc = &bnad->bna.ioceth.ioc; bna 292 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, ioc_attr); bna 500 drivers/net/ethernet/brocade/bna/bnad_ethtool.c pauseparam->rx_pause = bnad->bna.enet.pause_config.rx_pause; bna 501 drivers/net/ethernet/brocade/bna/bnad_ethtool.c pauseparam->tx_pause = bnad->bna.enet.pause_config.tx_pause; bna 516 drivers/net/ethernet/brocade/bna/bnad_ethtool.c if (pauseparam->rx_pause != bnad->bna.enet.pause_config.rx_pause || bna 517 drivers/net/ethernet/brocade/bna/bnad_ethtool.c pauseparam->tx_pause != bnad->bna.enet.pause_config.tx_pause) { bna 521 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bna_enet_pause_config(&bnad->bna.enet, &pause_config); bna 546 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bmap = bna_tx_rid_mask(&bnad->bna); bna 577 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bmap = bna_rx_rid_mask(&bnad->bna); bna 716 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bmap = bna_tx_rid_mask(&bnad->bna); bna 722 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bmap = bna_rx_rid_mask(&bnad->bna); bna 899 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bmap = bna_tx_rid_mask(&bnad->bna); bna 912 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bmap = bna_rx_rid_mask(&bnad->bna); bna 961 drivers/net/ethernet/brocade/bna/bnad_ethtool.c ret = bfa_nw_flash_get_attr(&bnad->bna.flash, flash_attr, bna 1018 drivers/net/ethernet/brocade/bna/bnad_ethtool.c ret = bfa_nw_flash_read_part(&bnad->bna.flash, flash_part, bna 1060 drivers/net/ethernet/brocade/bna/bnad_ethtool.c ret = bfa_nw_flash_update_part(&bnad->bna.flash, flash_part, bna 1095 drivers/net/ethernet/brocade/bna/bnad_ethtool.c ret = bfa_nw_flash_update_part(&bnad->bna.flash, BFA_FLASH_PART_FWIMG,