Searched refs:map_idx (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/gasket/ |
D | gasket_sysfs.c | 156 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/ |
D | irq-bcm7120-l2.c | 189 unsigned int map_idx = gc_idx * 2; in bcm7120_l2_intc_iomap_3380() local 190 void __iomem *en = of_iomap(dn, map_idx + 0); in bcm7120_l2_intc_iomap_3380() 191 void __iomem *stat = of_iomap(dn, map_idx + 1); in bcm7120_l2_intc_iomap_3380() 194 data->map_base[map_idx + 0] = en; in bcm7120_l2_intc_iomap_3380() 195 data->map_base[map_idx + 1] = stat; in bcm7120_l2_intc_iomap_3380()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 3048 ring->map_idx = i + ulp_msix; in bnxt_alloc_cp_rings() 3050 ring->map_idx = i; in bnxt_alloc_cp_rings() 4106 return cpr->cp_ring_struct.map_idx; in bnxt_cp_num_to_irq_num() 4117 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_disable_int_sync() local 4119 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync() 5356 u32 map_idx, u32 xid) in bnxt_set_db() argument 5380 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db() 5410 u32 map_idx = ring->map_idx; in bnxt_hwrm_ring_alloc() local 5413 vector = bp->irq_tbl[map_idx].vector; in bnxt_hwrm_ring_alloc() 5415 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc() [all …]
|
D | bnxt.h | 736 u16 map_idx; /* Used by cmpl rings */ member
|
/drivers/staging/qlge/ |
D | qlge_main.c | 1315 int frag_idx, err, map_idx = 0; in ql_map_send() local 1338 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in ql_map_send() 1339 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); in ql_map_send() 1340 map_idx++; in ql_map_send() 1349 for (frag_idx = 0; frag_idx < frag_cnt; frag_idx++, map_idx++) { in ql_map_send() 1392 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, in ql_map_send() 1394 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in ql_map_send() 1397 map_idx++; in ql_map_send() 1413 dma_unmap_addr_set(&tx_ring_desc->map[map_idx], mapaddr, map); in ql_map_send() 1414 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in ql_map_send() [all …]
|
/drivers/media/platform/omap3isp/ |
D | isp.c | 2328 unsigned int map_idx = i ? OMAP3_ISP_IOMEM_CSI2A_REGS1 : 0; in isp_probe() local 2331 isp->mmio_base[map_idx] = in isp_probe() 2333 if (IS_ERR(isp->mmio_base[map_idx])) in isp_probe() 2334 return PTR_ERR(isp->mmio_base[map_idx]); in isp_probe()
|
/drivers/md/ |
D | dm-zoned-metadata.c | 1440 int map_idx = chunk & DMZ_MAP_ENTRIES_MASK; in dmz_set_chunk_mapping() local 1442 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); in dmz_set_chunk_mapping() 1443 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id); in dmz_set_chunk_mapping()
|