Home
last modified time | relevance | path

Searched refs:map_idx (Results 1 – 7 of 7) sorted by relevance

/drivers/irqchip/
Dirq-bcm7120-l2.c190 unsigned int map_idx = gc_idx * 2; in bcm7120_l2_intc_iomap_3380() local
191 void __iomem *en = of_iomap(dn, map_idx + 0); in bcm7120_l2_intc_iomap_3380()
192 void __iomem *stat = of_iomap(dn, map_idx + 1); in bcm7120_l2_intc_iomap_3380()
195 data->map_base[map_idx + 0] = en; in bcm7120_l2_intc_iomap_3380()
196 data->map_base[map_idx + 1] = stat; in bcm7120_l2_intc_iomap_3380()
/drivers/accel/habanalabs/common/
Ddevice.c2571 u32 map_idx = 0; in hl_capture_user_mappings() local
2610 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings()
2611 pgf_info->user_mappings[map_idx].size = userptr->size; in hl_capture_user_mappings()
2612 map_idx++; in hl_capture_user_mappings()
2615 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings()
2616 pgf_info->user_mappings[map_idx].size = phys_pg_pack->total_size; in hl_capture_user_mappings()
2617 map_idx++; in hl_capture_user_mappings()
/drivers/staging/qlge/
Dqlge_main.c1235 int frag_idx, err, map_idx = 0; in qlge_map_send() local
1258 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in qlge_map_send()
1259 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); in qlge_map_send()
1260 map_idx++; in qlge_map_send()
1269 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in qlge_map_send()
1313 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, in qlge_map_send()
1315 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send()
1318 map_idx++; in qlge_map_send()
1334 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in qlge_map_send()
1335 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send()
[all …]
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3513 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()
[all …]
Dbnxt.h773 u16 map_idx; /* Used by cmpl rings */ member
/drivers/media/platform/ti/omap3isp/
Disp.c2325 unsigned int map_idx = i ? OMAP3_ISP_IOMEM_CSI2A_REGS1 : 0; in isp_probe() local
2327 isp->mmio_base[map_idx] = in isp_probe()
2329 if (IS_ERR(isp->mmio_base[map_idx])) { in isp_probe()
2330 ret = PTR_ERR(isp->mmio_base[map_idx]); in isp_probe()
/drivers/md/
Ddm-zoned-metadata.c1836 int map_idx = chunk & DMZ_MAP_ENTRIES_MASK; in dmz_set_chunk_mapping() local
1838 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); in dmz_set_chunk_mapping()
1839 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id); in dmz_set_chunk_mapping()