Lines Matching refs:irq_re_init
3789 static int bnxt_init_ring_grps(struct bnxt *bp, bool irq_re_init) in bnxt_init_ring_grps() argument
3793 if (irq_re_init) { in bnxt_init_ring_grps()
3801 if (irq_re_init) in bnxt_init_ring_grps()
4493 static void bnxt_free_mem(struct bnxt *bp, bool irq_re_init) in bnxt_free_mem() argument
4500 bnxt_free_ntp_fltrs(bp, irq_re_init); in bnxt_free_mem()
4501 if (irq_re_init) { in bnxt_free_mem()
4521 static int bnxt_alloc_mem(struct bnxt *bp, bool irq_re_init) in bnxt_alloc_mem() argument
4526 if (irq_re_init) { in bnxt_alloc_mem()
8560 bool irq_re_init) in bnxt_hwrm_resource_free() argument
8565 if (irq_re_init) { in bnxt_hwrm_resource_free()
8787 static int bnxt_init_chip(struct bnxt *bp, bool irq_re_init) in bnxt_init_chip() argument
8793 if (irq_re_init) { in bnxt_init_chip()
8909 static int bnxt_shutdown_nic(struct bnxt *bp, bool irq_re_init) in bnxt_shutdown_nic() argument
8911 bnxt_hwrm_resource_free(bp, 1, irq_re_init); in bnxt_shutdown_nic()
8915 static int bnxt_init_nic(struct bnxt *bp, bool irq_re_init) in bnxt_init_nic() argument
8920 bnxt_init_ring_grps(bp, irq_re_init); in bnxt_init_nic()
8923 return bnxt_init_chip(bp, irq_re_init); in bnxt_init_nic()
9236 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init) in bnxt_reserve_rings() argument
9245 if (irq_re_init && BNXT_NEW_RM(bp) && in bnxt_reserve_rings()
10468 static int __bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) in __bnxt_open_nic() argument
10474 if (irq_re_init) { in __bnxt_open_nic()
10482 rc = bnxt_reserve_rings(bp, irq_re_init); in __bnxt_open_nic()
10492 rc = bnxt_alloc_mem(bp, irq_re_init); in __bnxt_open_nic()
10498 if (irq_re_init) { in __bnxt_open_nic()
10507 rc = bnxt_init_nic(bp, irq_re_init); in __bnxt_open_nic()
10530 if (irq_re_init) in __bnxt_open_nic()
10567 int bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) in bnxt_open_nic() argument
10574 rc = __bnxt_open_nic(bp, irq_re_init, link_re_init); in bnxt_open_nic()
10687 static void __bnxt_close_nic(struct bnxt *bp, bool irq_re_init, in __bnxt_close_nic() argument
10703 bnxt_shutdown_nic(bp, irq_re_init); in __bnxt_close_nic()
10713 if (bp->bnapi && irq_re_init) { in __bnxt_close_nic()
10717 if (irq_re_init) { in __bnxt_close_nic()
10721 bnxt_free_mem(bp, irq_re_init); in __bnxt_close_nic()
10724 void bnxt_close_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) in bnxt_close_nic() argument
10751 __bnxt_close_nic(bp, irq_re_init, link_re_init); in bnxt_close_nic()