Lines Matching refs:bna

796 	bna_intr_status_get(&bnad->bna, intr_status);  in bnad_msix_mbox_handler()
798 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_msix_mbox_handler()
799 bna_mbox_handler(&bnad->bna, intr_status); in bnad_msix_mbox_handler()
823 bna_intr_status_get(&bnad->bna, intr_status); in bnad_isr()
830 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_isr()
831 bna_mbox_handler(&bnad->bna, intr_status); in bnad_isr()
1101 bna_enet_perm_mac_get(&bnad->bna.enet, bnad->perm_addr); in bnad_cb_tx_resume()
1709 bfa_nw_ioc_timeout(&bnad->bna.ioceth.ioc); in bnad_ioc_timeout()
1720 bfa_nw_ioc_hb_check(&bnad->bna.ioceth.ioc); in bnad_ioc_hb_check()
1731 bfa_nw_iocpf_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_timeout()
1742 bfa_nw_iocpf_sem_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_sem_timeout()
1801 bna_hw_stats_get(&bnad->bna); in bnad_stats_timeout()
2004 tx = bna_tx_create(&bnad->bna, bnad, tx_config, &tx_cbfn, res_info, in bnad_setup_tx()
2133 bna_enet_mtu_set(&bnad->bna.enet, in bnad_reinit_rx()
2260 rx = bna_rx_create(&bnad->bna, bnad, rx_config, &rx_cbfn, res_info, in bnad_setup_rx()
2291 bna_rx_dim_reconfig(&bnad->bna, bna_napi_dim_vector); in bnad_setup_rx()
2468 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_netdev_hwstats_fill()
2587 bna_ioceth_disable(&bnad->bna.ioceth, BNA_HARD_CLEANUP); in bnad_ioceth_disable()
2606 bna_ioceth_enable(&bnad->bna.ioceth); in bnad_ioceth_enable()
2759 bna_enet_mtu_set(&bnad->bna.enet, in bnad_open()
2761 bna_enet_pause_config(&bnad->bna.enet, &pause_config); in bnad_open()
2762 bna_enet_enable(&bnad->bna.enet); in bnad_open()
2805 bna_enet_disable(&bnad->bna.enet, BNA_HARD_CLEANUP, in bnad_stop()
3153 if (uc_count > bna_attr(&bnad->bna)->num_ucmac) in bnad_set_rx_ucast_fltr()
3194 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr()
3292 bna_enet_mtu_set(&bnad->bna.enet, frame_size, bnad_cb_enet_mtu_set); in bnad_mtu_set()
3412 bna_intx_disable(&bnad->bna, curr_mask); in bnad_netpoll()
3414 bna_intx_enable(&bnad->bna, curr_mask); in bnad_netpoll()
3621 struct bna *bna; in bnad_pci_probe() local
3686 bna = &bnad->bna; in bnad_pci_probe()
3695 bna_init(bna, bnad, &pcidev_info, &bnad->res_info[0]); in bnad_pci_probe()
3698 bnad->stats.bna_stats = &bna->stats; in bnad_pci_probe()
3706 setup_timer(&bnad->bna.ioceth.ioc.ioc_timer, bnad_ioc_timeout, in bnad_pci_probe()
3708 setup_timer(&bnad->bna.ioceth.ioc.hb_timer, bnad_ioc_hb_check, in bnad_pci_probe()
3710 setup_timer(&bnad->bna.ioceth.ioc.iocpf_timer, bnad_iocpf_timeout, in bnad_pci_probe()
3712 setup_timer(&bnad->bna.ioceth.ioc.sem_timer, bnad_iocpf_sem_timeout, in bnad_pci_probe()
3727 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3728 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) { in bnad_pci_probe()
3729 bnad_q_num_adjust(bnad, bna_attr(bna)->num_txq - 1, in bnad_pci_probe()
3730 bna_attr(bna)->num_rxp - 1); in bnad_pci_probe()
3731 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3732 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) in bnad_pci_probe()
3740 bna_mod_res_req(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3750 bna_mod_init(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3755 bna_enet_perm_mac_get(&bna->enet, bnad->perm_addr); in bnad_pci_probe()
3780 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_probe()
3781 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_probe()
3782 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_probe()
3784 bna_uninit(bna); in bnad_pci_probe()
3810 struct bna *bna; in bnad_pci_remove() local
3817 bna = &bnad->bna; in bnad_pci_remove()
3824 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_remove()
3825 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_remove()
3826 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_remove()
3828 bna_uninit(bna); in bnad_pci_remove()