Lines Matching refs:bnx2_napi
350 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_setup_cnic_irq_info()
403 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_unregister_cnic()
461 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_cnic_start()
595 struct bnx2_napi *bnapi; in bnx2_disable_int()
598 bnapi = &bp->bnx2_napi[i]; in bnx2_disable_int()
609 struct bnx2_napi *bnapi; in bnx2_enable_int()
612 bnapi = &bp->bnx2_napi[i]; in bnx2_enable_int()
646 napi_disable(&bp->bnx2_napi[i].napi); in bnx2_napi_disable()
655 napi_enable(&bp->bnx2_napi[i].napi); in bnx2_napi_enable()
695 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_tx_mem()
715 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_rx_mem()
747 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_alloc_tx_mem()
769 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_alloc_rx_mem()
856 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_free_mem()
878 struct bnx2_napi *bnapi; in bnx2_alloc_mem()
880 bnapi = &bp->bnx2_napi[0]; in bnx2_alloc_mem()
890 bnapi = &bp->bnx2_napi[i]; in bnx2_alloc_mem()
2795 bnx2_phy_event_is_set(struct bnx2 *bp, struct bnx2_napi *bnapi, u32 event) in bnx2_phy_event_is_set()
2815 bnx2_phy_int(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_phy_int()
2829 bnx2_get_hw_tx_cons(struct bnx2_napi *bnapi) in bnx2_get_hw_tx_cons()
2841 bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_tx_int()
2849 index = (bnapi - bp->bnx2_napi); in bnx2_tx_int()
3128 bnx2_get_hw_rx_cons(struct bnx2_napi *bnapi) in bnx2_get_hw_rx_cons()
3140 bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) in bnx2_rx_int()
3273 skb_record_rx_queue(skb, bnapi - &bp->bnx2_napi[0]); in bnx2_rx_int()
3310 struct bnx2_napi *bnapi = dev_instance; in bnx2_msi()
3330 struct bnx2_napi *bnapi = dev_instance; in bnx2_msi_1shot()
3347 struct bnx2_napi *bnapi = dev_instance; in bnx2_interrupt()
3384 bnx2_has_fast_work(struct bnx2_napi *bnapi) in bnx2_has_fast_work()
3399 bnx2_has_work(struct bnx2_napi *bnapi) in bnx2_has_work()
3421 struct bnx2_napi *bnapi = &bp->bnx2_napi[0]; in bnx2_chk_missed_msi()
3441 static void bnx2_poll_cnic(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_poll_cnic()
3457 static void bnx2_poll_link(struct bnx2 *bp, struct bnx2_napi *bnapi) in bnx2_poll_link()
3477 static int bnx2_poll_work(struct bnx2 *bp, struct bnx2_napi *bnapi, in bnx2_poll_work()
3494 struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); in bnx2_poll_msix()
3521 struct bnx2_napi *bnapi = container_of(napi, struct bnx2_napi, napi); in bnx2_poll()
4990 memset(bp->bnx2_napi[0].status_blk.msi, 0, bp->status_stats_size); in bnx2_init_chip()
4992 bp->bnx2_napi[i].last_status_idx = 0; in bnx2_init_chip()
5110 struct bnx2_napi *bnapi; in bnx2_clear_ring_states()
5116 bnapi = &bp->bnx2_napi[i]; in bnx2_clear_ring_states()
5165 struct bnx2_napi *bnapi; in bnx2_init_tx_ring()
5168 bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_tx_ring()
5222 struct bnx2_napi *bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_rx_ring()
5416 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_tx_skbs()
5461 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_free_rx_skbs()
5797 struct bnx2_napi *bnapi = &bp->bnx2_napi[0], *tx_napi; in bnx2_run_loopback()
6213 &bp->bnx2_napi[i]); in bnx2_request_irq()
6230 free_irq(irq->vector, &bp->bnx2_napi[i]); in __bnx2_free_irq()
6582 struct bnx2_napi *bnapi; in bnx2_start_xmit()
6588 bnapi = &bp->bnx2_napi[i]; in bnx2_start_xmit()
7930 irq->handler(irq->vector, &bp->bnx2_napi[i]); in poll_bnx2()
8480 netif_napi_del(&bp->bnx2_napi[i].napi); in bnx2_del_napi()
8489 struct bnx2_napi *bnapi = &bp->bnx2_napi[i]; in bnx2_init_napi()
8497 netif_napi_add(bp->dev, &bp->bnx2_napi[i].napi, poll); in bnx2_init_napi()