Lines Matching refs:irq_re_init

4324 static int bnxt_init_ring_grps(struct bnxt *bp, bool irq_re_init)  in bnxt_init_ring_grps()  argument
4328 if (irq_re_init) { in bnxt_init_ring_grps()
4336 if (irq_re_init) in bnxt_init_ring_grps()
5128 static void bnxt_free_mem(struct bnxt *bp, bool irq_re_init) in bnxt_free_mem() argument
5137 if (irq_re_init) { in bnxt_free_mem()
5157 static int bnxt_alloc_mem(struct bnxt *bp, bool irq_re_init) in bnxt_alloc_mem() argument
5162 if (irq_re_init) { in bnxt_alloc_mem()
10031 bool irq_re_init) in bnxt_hwrm_resource_free() argument
10036 if (irq_re_init) { in bnxt_hwrm_resource_free()
10366 static int bnxt_init_chip(struct bnxt *bp, bool irq_re_init) in bnxt_init_chip() argument
10372 if (irq_re_init) { in bnxt_init_chip()
10488 static int bnxt_shutdown_nic(struct bnxt *bp, bool irq_re_init) in bnxt_shutdown_nic() argument
10490 bnxt_hwrm_resource_free(bp, 1, irq_re_init); in bnxt_shutdown_nic()
10494 static int bnxt_init_nic(struct bnxt *bp, bool irq_re_init) in bnxt_init_nic() argument
10499 bnxt_init_ring_grps(bp, irq_re_init); in bnxt_init_nic()
10502 return bnxt_init_chip(bp, irq_re_init); in bnxt_init_nic()
10814 int bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init) in bnxt_reserve_rings() argument
10835 if (irq_re_init && BNXT_NEW_RM(bp) && irqs_required != bp->total_irqs) { in bnxt_reserve_rings()
12083 static int __bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) in __bnxt_open_nic() argument
12088 if (irq_re_init) { in __bnxt_open_nic()
12096 rc = bnxt_reserve_rings(bp, irq_re_init); in __bnxt_open_nic()
12100 rc = bnxt_alloc_mem(bp, irq_re_init); in __bnxt_open_nic()
12106 if (irq_re_init) { in __bnxt_open_nic()
12115 rc = bnxt_init_nic(bp, irq_re_init); in __bnxt_open_nic()
12138 if (irq_re_init) { in __bnxt_open_nic()
12184 int bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) in bnxt_open_nic() argument
12191 rc = __bnxt_open_nic(bp, irq_re_init, link_re_init); in bnxt_open_nic()
12302 static void __bnxt_close_nic(struct bnxt *bp, bool irq_re_init, in __bnxt_close_nic() argument
12320 bnxt_shutdown_nic(bp, irq_re_init); in __bnxt_close_nic()
12330 if (bp->bnapi && irq_re_init) { in __bnxt_close_nic()
12334 if (irq_re_init) { in __bnxt_close_nic()
12338 bnxt_free_mem(bp, irq_re_init); in __bnxt_close_nic()
12341 void bnxt_close_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) in bnxt_close_nic() argument
12368 __bnxt_close_nic(bp, irq_re_init, link_re_init); in bnxt_close_nic()
12902 static int bnxt_reinit_features(struct bnxt *bp, bool irq_re_init, in bnxt_reinit_features() argument
12905 bnxt_close_nic(bp, irq_re_init, link_re_init); in bnxt_reinit_features()
12909 return bnxt_open_nic(bp, irq_re_init, link_re_init); in bnxt_reinit_features()