• Home
  • Raw
  • Download

Lines Matching refs:map_idx

3195 			ring->map_idx = i + ulp_msix;  in bnxt_alloc_cp_rings()
3197 ring->map_idx = i; in bnxt_alloc_cp_rings()
4369 return cpr->cp_ring_struct.map_idx; in bnxt_cp_num_to_irq_num()
4380 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_disable_int_sync() local
4382 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync()
5707 u32 map_idx, u32 xid) in bnxt_set_db() argument
5731 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db()
5761 u32 map_idx = ring->map_idx; in bnxt_hwrm_ring_alloc() local
5764 vector = bp->irq_tbl[map_idx].vector; in bnxt_hwrm_ring_alloc()
5766 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5771 bnxt_set_db(bp, &cpr->cp_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_ring_alloc()
5787 u32 map_idx; in bnxt_hwrm_ring_alloc() local
5798 map_idx = bnapi->index; in bnxt_hwrm_ring_alloc()
5799 rc = hwrm_ring_alloc_send_msg(bp, ring, type2, map_idx); in bnxt_hwrm_ring_alloc()
5802 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx, in bnxt_hwrm_ring_alloc()
5807 map_idx = i; in bnxt_hwrm_ring_alloc()
5808 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5811 bnxt_set_db(bp, &txr->tx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_ring_alloc()
5819 u32 map_idx = bnapi->index; in bnxt_hwrm_ring_alloc() local
5821 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5824 bnxt_set_db(bp, &rxr->rx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_ring_alloc()
5828 bp->grp_info[map_idx].rx_fw_ring_id = ring->fw_ring_id; in bnxt_hwrm_ring_alloc()
5837 rc = hwrm_ring_alloc_send_msg(bp, ring, type2, map_idx); in bnxt_hwrm_ring_alloc()
5840 bnxt_set_db(bp, &cpr2->cp_db, type2, map_idx, in bnxt_hwrm_ring_alloc()
5853 u32 map_idx = grp_idx + bp->rx_nr_rings; in bnxt_hwrm_ring_alloc() local
5855 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
5859 bnxt_set_db(bp, &rxr->rx_agg_db, type, map_idx, in bnxt_hwrm_ring_alloc()
8502 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_setup_msix() local
8512 snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, in bnxt_setup_msix()
8514 bp->irq_tbl[map_idx].handler = bnxt_msix; in bnxt_setup_msix()
8799 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_free_irq() local
8801 irq = &bp->irq_tbl[map_idx]; in bnxt_free_irq()
8836 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_request_irq() local
8837 struct bnxt_irq *irq = &bp->irq_tbl[map_idx]; in bnxt_request_irq()