Lines Matching refs:bnx2_napi
351 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_setup_cnic_irq_info()
404 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_unregister_cnic()
462 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_cnic_start()
596 struct bnx2_napi *bnapi; in bnx2_disable_int()
599 bnapi = &bp->bnx2_napi[i]; in bnx2_disable_int()
610 struct bnx2_napi *bnapi; in bnx2_enable_int()
613 bnapi = &bp->bnx2_napi[i]; in bnx2_enable_int()
647 napi_disable(&bp->bnx2_napi[i].napi); in bnx2_napi_disable()
656 napi_enable(&bp->bnx2_napi[i].napi); in bnx2_napi_enable()
696 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_tx_mem()
716 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_rx_mem()
748 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_alloc_tx_mem()
770 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_alloc_rx_mem()
857 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_free_mem()
879 struct bnx2_napi *bnapi; in bnx2_alloc_mem()
881 bnapi = &bp->bnx2_napi[0]; in bnx2_alloc_mem()
891 bnapi = &bp->bnx2_napi[i]; in bnx2_alloc_mem()
2796 bnx2_phy_event_is_set(struct bnx2 *bp, struct bnx2_napi *bnapi, u32 event) in bnx2_phy_event_is_set()
2816 bnx2_phy_int(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_phy_int()
2830 bnx2_get_hw_tx_cons(struct bnx2_napi *bnapi) in bnx2_get_hw_tx_cons()
2842 bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_tx_int()
2850 index = (bnapi - bp->bnx2_napi); in bnx2_tx_int()
3130 bnx2_get_hw_rx_cons(struct bnx2_napi *bnapi) in bnx2_get_hw_rx_cons()
3142 bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_rx_int()
3275 skb_record_rx_queue(skb, bnapi - &bp->bnx2_napi[0]); in bnx2_rx_int()
3312 struct bnx2_napi *bnapi = dev_instance; in bnx2_msi()
3332 struct bnx2_napi *bnapi = dev_instance; in bnx2_msi_1shot()
3349 struct bnx2_napi *bnapi = dev_instance; in bnx2_interrupt()
3386 bnx2_has_fast_work(struct bnx2_napi *bnapi) in bnx2_has_fast_work()
3401 bnx2_has_work(struct bnx2_napi *bnapi) in bnx2_has_work()
3423 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_chk_missed_msi()
3443 static void bnx2_poll_cnic(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_poll_cnic()
3459 static void bnx2_poll_link(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_poll_link()
3479 static int bnx2_poll_work(struct bnx2 *bp, struct bnx2_napi *bnapi, in bnx2_poll_work()
3496 struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); in bnx2_poll_msix()
3523 struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); in bnx2_poll()
5007 memset(bp->bnx2_napi[0].status_blk.msi, 0, bp->status_stats_size); in bnx2_init_chip()
5009 bp->bnx2_napi[i].last_status_idx = 0; in bnx2_init_chip()
5127 struct bnx2_napi *bnapi; in bnx2_clear_ring_states()
5133 bnapi = &bp->bnx2_napi[i]; in bnx2_clear_ring_states()
5182 struct bnx2_napi *bnapi; in bnx2_init_tx_ring()
5185 bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_tx_ring()
5239 struct bnx2_napi *bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_rx_ring()
5433 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_tx_skbs()
5478 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_rx_skbs()
5814 struct bnx2_napi *bnapi = &bp->bnx2_napi[0], *tx_napi; in bnx2_run_loopback()
6230 &bp->bnx2_napi[i]); in bnx2_request_irq()
6247 free_irq(irq->vector, &bp->bnx2_napi[i]); in __bnx2_free_irq()
6599 struct bnx2_napi *bnapi; in bnx2_start_xmit()
6605 bnapi = &bp->bnx2_napi[i]; in bnx2_start_xmit()
7947 irq->handler(irq->vector, &bp->bnx2_napi[i]); in poll_bnx2()
8509 netif_napi_del(&bp->bnx2_napi[i].napi); in bnx2_del_napi()
8518 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_init_napi()
8526 netif_napi_add(bp->dev, &bp->bnx2_napi[i].napi, poll); in bnx2_init_napi()