Lines Matching refs:bna

781 	bna_intr_status_get(&bnad->bna, intr_status);  in bnad_msix_mbox_handler()
783 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_msix_mbox_handler()
784 bna_mbox_handler(&bnad->bna, intr_status); in bnad_msix_mbox_handler()
808 bna_intr_status_get(&bnad->bna, intr_status); in bnad_isr()
815 if (BNA_IS_MBOX_ERR_INTR(&bnad->bna, intr_status)) in bnad_isr()
816 bna_mbox_handler(&bnad->bna, intr_status); in bnad_isr()
1085 bna_enet_perm_mac_get(&bnad->bna.enet, bnad->perm_addr); in bnad_cb_tx_resume()
1690 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.ioc_timer); in bnad_ioc_timeout()
1694 bfa_nw_ioc_timeout(&bnad->bna.ioceth.ioc); in bnad_ioc_timeout()
1701 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.hb_timer); in bnad_ioc_hb_check()
1705 bfa_nw_ioc_hb_check(&bnad->bna.ioceth.ioc); in bnad_ioc_hb_check()
1712 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.iocpf_timer); in bnad_iocpf_timeout()
1716 bfa_nw_iocpf_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_timeout()
1723 struct bnad *bnad = from_timer(bnad, t, bna.ioceth.ioc.sem_timer); in bnad_iocpf_sem_timeout()
1727 bfa_nw_iocpf_sem_timeout(&bnad->bna.ioceth.ioc); in bnad_iocpf_sem_timeout()
1786 bna_hw_stats_get(&bnad->bna); in bnad_stats_timeout()
1986 tx = bna_tx_create(&bnad->bna, bnad, tx_config, &tx_cbfn, res_info, in bnad_setup_tx()
2114 bna_enet_mtu_set(&bnad->bna.enet, in bnad_reinit_rx()
2241 rx = bna_rx_create(&bnad->bna, bnad, rx_config, &rx_cbfn, res_info, in bnad_setup_rx()
2271 bna_rx_dim_reconfig(&bnad->bna, bna_napi_dim_vector); in bnad_setup_rx()
2448 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_netdev_hwstats_fill()
2562 bna_ioceth_disable(&bnad->bna.ioceth, BNA_HARD_CLEANUP); in bnad_ioceth_disable()
2581 bna_ioceth_enable(&bnad->bna.ioceth); in bnad_ioceth_enable()
2734 bna_enet_mtu_set(&bnad->bna.enet, in bnad_open()
2736 bna_enet_pause_config(&bnad->bna.enet, &pause_config); in bnad_open()
2737 bna_enet_enable(&bnad->bna.enet); in bnad_open()
2780 bna_enet_disable(&bnad->bna.enet, BNA_HARD_CLEANUP, in bnad_stop()
3123 if (uc_count > bna_attr(&bnad->bna)->num_ucmac) in bnad_set_rx_ucast_fltr()
3164 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr()
3262 bna_enet_mtu_set(&bnad->bna.enet, frame_size, bnad_cb_enet_mtu_set); in bnad_mtu_set()
3376 bna_intx_disable(&bnad->bna, curr_mask); in bnad_netpoll()
3378 bna_intx_enable(&bnad->bna, curr_mask); in bnad_netpoll()
3577 struct bna *bna; in bnad_pci_probe() local
3637 bna = &bnad->bna; in bnad_pci_probe()
3646 bna_init(bna, bnad, &pcidev_info, &bnad->res_info[0]); in bnad_pci_probe()
3649 bnad->stats.bna_stats = &bna->stats; in bnad_pci_probe()
3657 timer_setup(&bnad->bna.ioceth.ioc.ioc_timer, bnad_ioc_timeout, 0); in bnad_pci_probe()
3658 timer_setup(&bnad->bna.ioceth.ioc.hb_timer, bnad_ioc_hb_check, 0); in bnad_pci_probe()
3659 timer_setup(&bnad->bna.ioceth.ioc.iocpf_timer, bnad_iocpf_timeout, 0); in bnad_pci_probe()
3660 timer_setup(&bnad->bna.ioceth.ioc.sem_timer, bnad_iocpf_sem_timeout, in bnad_pci_probe()
3675 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3676 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) { in bnad_pci_probe()
3677 bnad_q_num_adjust(bnad, bna_attr(bna)->num_txq - 1, in bnad_pci_probe()
3678 bna_attr(bna)->num_rxp - 1); in bnad_pci_probe()
3679 if (bna_num_txq_set(bna, BNAD_NUM_TXQ + 1) || in bnad_pci_probe()
3680 bna_num_rxp_set(bna, BNAD_NUM_RXP + 1)) in bnad_pci_probe()
3688 bna_mod_res_req(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3698 bna_mod_init(&bnad->bna, &bnad->mod_res_info[0]); in bnad_pci_probe()
3703 bna_enet_perm_mac_get(&bna->enet, bnad->perm_addr); in bnad_pci_probe()
3728 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_probe()
3729 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_probe()
3730 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_probe()
3732 bna_uninit(bna); in bnad_pci_probe()
3757 struct bna *bna; in bnad_pci_remove() local
3764 bna = &bnad->bna; in bnad_pci_remove()
3771 del_timer_sync(&bnad->bna.ioceth.ioc.ioc_timer); in bnad_pci_remove()
3772 del_timer_sync(&bnad->bna.ioceth.ioc.sem_timer); in bnad_pci_remove()
3773 del_timer_sync(&bnad->bna.ioceth.ioc.hb_timer); in bnad_pci_remove()
3775 bna_uninit(bna); in bnad_pci_remove()