Lines Matching refs:map_idx
3513 ring->map_idx = i + ulp_msix; in bnxt_alloc_cp_rings()
3515 ring->map_idx = i; in bnxt_alloc_cp_rings()
4664 return cpr->cp_ring_struct.map_idx; in bnxt_cp_num_to_irq_num()
4678 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_disable_int_sync() local
4680 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync()
5842 u32 map_idx, u32 xid) in bnxt_set_db() argument
5866 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db()
5896 u32 map_idx = ring->map_idx; in bnxt_hwrm_ring_alloc() local
5899 vector = bp->irq_tbl[map_idx].vector; in bnxt_hwrm_ring_alloc()
5901 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5906 bnxt_set_db(bp, &cpr->cp_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_ring_alloc()
5922 u32 map_idx; in bnxt_hwrm_ring_alloc() local
5933 map_idx = bnapi->index; in bnxt_hwrm_ring_alloc()
5934 rc = hwrm_ring_alloc_send_msg(bp, ring, type2, map_idx); in bnxt_hwrm_ring_alloc()
5937 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx, in bnxt_hwrm_ring_alloc()
5942 map_idx = i; in bnxt_hwrm_ring_alloc()
5943 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5946 bnxt_set_db(bp, &txr->tx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_ring_alloc()
5954 u32 map_idx = bnapi->index; in bnxt_hwrm_ring_alloc() local
5956 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5959 bnxt_set_db(bp, &rxr->rx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_ring_alloc()
5963 bp->grp_info[map_idx].rx_fw_ring_id = ring->fw_ring_id; in bnxt_hwrm_ring_alloc()
5972 rc = hwrm_ring_alloc_send_msg(bp, ring, type2, map_idx); in bnxt_hwrm_ring_alloc()
5975 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx, in bnxt_hwrm_ring_alloc()
5988 u32 map_idx = grp_idx + bp->rx_nr_rings; in bnxt_hwrm_ring_alloc() local
5990 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5994 bnxt_set_db(bp, &rxr->rx_agg_db, type, map_idx, in bnxt_hwrm_ring_alloc()
8981 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_setup_msix() local
8991 snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, in bnxt_setup_msix()
8993 bp->irq_tbl[map_idx].handler = bnxt_msix; in bnxt_setup_msix()
9278 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_free_irq() local
9280 irq = &bp->irq_tbl[map_idx]; in bnxt_free_irq()
9315 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_request_irq() local
9316 struct bnxt_irq *irq = &bp->irq_tbl[map_idx]; in bnxt_request_irq()