Home
last modified time | relevance | path

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

/drivers/staging/gasket/
Dgasket_sysfs.c156 int map_idx = -1; in gasket_sysfs_create_mapping() local
178 for (map_idx = 0; map_idx < GASKET_SYSFS_NUM_MAPPINGS; ++map_idx) { in gasket_sysfs_create_mapping()
179 mutex_lock(&dev_mappings[map_idx].mutex); in gasket_sysfs_create_mapping()
180 if (!dev_mappings[map_idx].device) in gasket_sysfs_create_mapping()
183 mutex_unlock(&dev_mappings[map_idx].mutex); in gasket_sysfs_create_mapping()
186 if (map_idx == GASKET_SYSFS_NUM_MAPPINGS) { in gasket_sysfs_create_mapping()
195 mapping = &dev_mappings[map_idx]; in gasket_sysfs_create_mapping()
/drivers/irqchip/
Dirq-bcm7120-l2.c192 unsigned int map_idx = gc_idx * 2; in bcm7120_l2_intc_iomap_3380() local
193 void __iomem *en = of_iomap(dn, map_idx + 0); in bcm7120_l2_intc_iomap_3380()
194 void __iomem *stat = of_iomap(dn, map_idx + 1); in bcm7120_l2_intc_iomap_3380()
197 data->map_base[map_idx + 0] = en; in bcm7120_l2_intc_iomap_3380()
198 data->map_base[map_idx + 1] = stat; in bcm7120_l2_intc_iomap_3380()
/drivers/staging/qlge/
Dqlge_main.c1240 int frag_idx, err, map_idx = 0; in ql_map_send() local
1263 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in ql_map_send()
1264 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); in ql_map_send()
1265 map_idx++; in ql_map_send()
1274 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in ql_map_send()
1318 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, in ql_map_send()
1320 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in ql_map_send()
1323 map_idx++; in ql_map_send()
1339 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in ql_map_send()
1340 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in ql_map_send()
[all …]
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3195 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()
[all …]
Dbnxt.h748 u16 map_idx; /* Used by cmpl rings */ member
/drivers/media/platform/omap3isp/
Disp.c2322 unsigned int map_idx = i ? OMAP3_ISP_IOMEM_CSI2A_REGS1 : 0; in isp_probe() local
2325 isp->mmio_base[map_idx] = in isp_probe()
2327 if (IS_ERR(isp->mmio_base[map_idx])) { in isp_probe()
2328 ret = PTR_ERR(isp->mmio_base[map_idx]); in isp_probe()
/drivers/md/
Ddm-zoned-metadata.c1854 int map_idx = chunk & DMZ_MAP_ENTRIES_MASK; in dmz_set_chunk_mapping() local
1856 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); in dmz_set_chunk_mapping()
1857 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id); in dmz_set_chunk_mapping()