Lines Matching refs:bna

789 	bna_intr_status_get(&bnad->bna, intr_status);  in bnad_msix_mbox_handler()
791 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_msix_mbox_handler()
792 bna_mbox_handler(&bnad->bna, intr_status); in bnad_msix_mbox_handler()
816 bna_intr_status_get(&bnad->bna, intr_status); in bnad_isr()
823 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_isr()
824 bna_mbox_handler(&bnad->bna, intr_status); in bnad_isr()
1094 bna_enet_perm_mac_get(&bnad->bna.enet, bnad->perm_addr); in bnad_cb_tx_resume()
1698 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.ioc_timer); in bnad_ioc_timeout()
1702 bfa_nw_ioc_timeout(&bnad->bna.ioceth.ioc); in bnad_ioc_timeout()
1709 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.hb_timer); in bnad_ioc_hb_check()
1713 bfa_nw_ioc_hb_check(&bnad->bna.ioceth.ioc); in bnad_ioc_hb_check()
1720 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.iocpf_timer); in bnad_iocpf_timeout()
1724 bfa_nw_iocpf_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_timeout()
1731 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.sem_timer); in bnad_iocpf_sem_timeout()
1735 bfa_nw_iocpf_sem_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_sem_timeout()
1794 bna_hw_stats_get(&bnad->bna); in bnad_stats_timeout()
1995 tx = bna_tx_create(&bnad->bna, bnad, tx_config, &tx_cbfn, res_info, in bnad_setup_tx()
2124 bna_enet_mtu_set(&bnad->bna.enet, in bnad_reinit_rx()
2251 rx = bna_rx_create(&bnad->bna, bnad, rx_config, &rx_cbfn, res_info, in bnad_setup_rx()
2282 bna_rx_dim_reconfig(&bnad->bna, bna_napi_dim_vector); in bnad_setup_rx()
2459 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_netdev_hwstats_fill()
2578 bna_ioceth_disable(&bnad->bna.ioceth, BNA_HARD_CLEANUP); in bnad_ioceth_disable()
2597 bna_ioceth_enable(&bnad->bna.ioceth); in bnad_ioceth_enable()
2750 bna_enet_mtu_set(&bnad->bna.enet, in bnad_open()
2752 bna_enet_pause_config(&bnad->bna.enet, &pause_config); in bnad_open()
2753 bna_enet_enable(&bnad->bna.enet); in bnad_open()
2796 bna_enet_disable(&bnad->bna.enet, BNA_HARD_CLEANUP, in bnad_stop()
3141 if (uc_count > bna_attr(&bnad->bna)->num_ucmac) in bnad_set_rx_ucast_fltr()
3182 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr()
3280 bna_enet_mtu_set(&bnad->bna.enet, frame_size, bnad_cb_enet_mtu_set); in bnad_mtu_set()
3397 bna_intx_disable(&bnad->bna, curr_mask); in bnad_netpoll()
3399 bna_intx_enable(&bnad->bna, curr_mask); in bnad_netpoll()
3608 struct bna *bna; in bnad_pci_probe() local
3673 bna = &bnad->bna; in bnad_pci_probe()
3682 bna_init(bna, bnad, &pcidev_info, &bnad->res_info[0]); in bnad_pci_probe()
3685 bnad->stats.bna_stats = &bna->stats; in bnad_pci_probe()
3693 timer_setup(&bnad->bna.ioceth.ioc.ioc_timer, bnad_ioc_timeout, 0); in bnad_pci_probe()
3694 timer_setup(&bnad->bna.ioceth.ioc.hb_timer, bnad_ioc_hb_check, 0); in bnad_pci_probe()
3695 timer_setup(&bnad->bna.ioceth.ioc.iocpf_timer, bnad_iocpf_timeout, 0); in bnad_pci_probe()
3696 timer_setup(&bnad->bna.ioceth.ioc.sem_timer, bnad_iocpf_sem_timeout, in bnad_pci_probe()
3711 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3712 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) { in bnad_pci_probe()
3713 bnad_q_num_adjust(bnad, bna_attr(bna)->num_txq - 1, in bnad_pci_probe()
3714 bna_attr(bna)->num_rxp - 1); in bnad_pci_probe()
3715 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3716 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) in bnad_pci_probe()
3724 bna_mod_res_req(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3734 bna_mod_init(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3739 bna_enet_perm_mac_get(&bna->enet, bnad->perm_addr); in bnad_pci_probe()
3764 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_probe()
3765 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_probe()
3766 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_probe()
3768 bna_uninit(bna); in bnad_pci_probe()
3793 struct bna *bna; in bnad_pci_remove() local
3800 bna = &bnad->bna; in bnad_pci_remove()
3807 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_remove()
3808 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_remove()
3809 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_remove()
3811 bna_uninit(bna); in bnad_pci_remove()