Lines Matching refs:bna
783 bna_intr_status_get(&bnad->bna, intr_status); in bnad_msix_mbox_handler()
785 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_msix_mbox_handler()
786 bna_mbox_handler(&bnad->bna, intr_status); in bnad_msix_mbox_handler()
810 bna_intr_status_get(&bnad->bna, intr_status); in bnad_isr()
817 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_isr()
818 bna_mbox_handler(&bnad->bna, intr_status); in bnad_isr()
1098 bna_enet_perm_mac_get(&bnad->bna.enet, &bnad->perm_addr); in bnad_cb_tx_resume()
1706 bfa_nw_ioc_timeout((void *) &bnad->bna.ioceth.ioc); in bnad_ioc_timeout()
1717 bfa_nw_ioc_hb_check((void *) &bnad->bna.ioceth.ioc); in bnad_ioc_hb_check()
1728 bfa_nw_iocpf_timeout((void *) &bnad->bna.ioceth.ioc); in bnad_iocpf_timeout()
1739 bfa_nw_iocpf_sem_timeout((void *) &bnad->bna.ioceth.ioc); in bnad_iocpf_sem_timeout()
1798 bna_hw_stats_get(&bnad->bna); in bnad_stats_timeout()
2002 tx = bna_tx_create(&bnad->bna, bnad, tx_config, &tx_cbfn, res_info, in bnad_setup_tx()
2131 bna_enet_mtu_set(&bnad->bna.enet, in bnad_reinit_rx()
2258 rx = bna_rx_create(&bnad->bna, bnad, rx_config, &rx_cbfn, res_info, in bnad_setup_rx()
2289 bna_rx_dim_reconfig(&bnad->bna, bna_napi_dim_vector); in bnad_setup_rx()
2466 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_netdev_hwstats_fill()
2585 bna_ioceth_disable(&bnad->bna.ioceth, BNA_HARD_CLEANUP); in bnad_ioceth_disable()
2604 bna_ioceth_enable(&bnad->bna.ioceth); in bnad_ioceth_enable()
2755 bna_enet_mtu_set(&bnad->bna.enet, in bnad_open()
2757 bna_enet_pause_config(&bnad->bna.enet, &pause_config, NULL); in bnad_open()
2758 bna_enet_enable(&bnad->bna.enet); in bnad_open()
2801 bna_enet_disable(&bnad->bna.enet, BNA_HARD_CLEANUP, in bnad_stop()
3135 if (uc_count > bna_attr(&bnad->bna)->num_ucmac) in bnad_set_rx_ucast_fltr()
3178 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr()
3278 bna_enet_mtu_set(&bnad->bna.enet, frame_size, bnad_cb_enet_mtu_set); in bnad_mtu_set()
3398 bna_intx_disable(&bnad->bna, curr_mask); in bnad_netpoll()
3400 bna_intx_enable(&bnad->bna, curr_mask); in bnad_netpoll()
3607 struct bna *bna; in bnad_pci_probe() local
3675 bna = &bnad->bna; in bnad_pci_probe()
3684 bna_init(bna, bnad, &pcidev_info, &bnad->res_info[0]); in bnad_pci_probe()
3687 bnad->stats.bna_stats = &bna->stats; in bnad_pci_probe()
3695 setup_timer(&bnad->bna.ioceth.ioc.ioc_timer, bnad_ioc_timeout, in bnad_pci_probe()
3697 setup_timer(&bnad->bna.ioceth.ioc.hb_timer, bnad_ioc_hb_check, in bnad_pci_probe()
3699 setup_timer(&bnad->bna.ioceth.ioc.iocpf_timer, bnad_iocpf_timeout, in bnad_pci_probe()
3701 setup_timer(&bnad->bna.ioceth.ioc.sem_timer, bnad_iocpf_sem_timeout, in bnad_pci_probe()
3717 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3718 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) { in bnad_pci_probe()
3719 bnad_q_num_adjust(bnad, bna_attr(bna)->num_txq - 1, in bnad_pci_probe()
3720 bna_attr(bna)->num_rxp - 1); in bnad_pci_probe()
3721 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3722 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) in bnad_pci_probe()
3730 bna_mod_res_req(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3740 bna_mod_init(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3745 bna_enet_perm_mac_get(&bna->enet, &bnad->perm_addr); in bnad_pci_probe()
3770 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_probe()
3771 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_probe()
3772 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_probe()
3774 bna_uninit(bna); in bnad_pci_probe()
3800 struct bna *bna; in bnad_pci_remove() local
3808 bna = &bnad->bna; in bnad_pci_remove()
3815 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_remove()
3816 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_remove()
3817 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_remove()
3819 bna_uninit(bna); in bnad_pci_remove()