Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/samples/bpf/
Dbpf_load.c352 int j, map_idx; in parse_relo_and_apply() local
368 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in parse_relo_and_apply()
369 if (maps[map_idx].elf_offset == sym.st_value) { in parse_relo_and_apply()
375 insn[insn_idx].imm = maps[map_idx].fd; in parse_relo_and_apply()
Dmap_perf_test_user.c63 enum map_idx { enum
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_asrc.c1066 u32 map_idx; in fsl_asrc_probe() local
1153 ret = of_property_read_u32(np, "fsl,asrc-clk-map", &map_idx); in fsl_asrc_probe()
1159 if (map_idx > 1) { in fsl_asrc_probe()
1164 asrc_priv->clk_map[IN] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe()
1165 asrc_priv->clk_map[OUT] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe()
1167 asrc_priv->clk_map[IN] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe()
1168 asrc_priv->clk_map[OUT] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe()
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci.c296 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh()
518 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources()
553 zpci_free_iomap(zdev, zdev->bars[i].map_idx); in zpci_cleanup_bus_resources()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpci.h96 u16 map_idx; /* index into bar mapping array */ member
/kernel/linux/linux-5.10/tools/perf/util/
Dsession.c2161 int err = 0, mmap_prot, mmap_flags, map_idx = 0; in reader__process_events() local
2198 mmaps[map_idx] = buf; in reader__process_events()
2199 map_idx = (map_idx + 1) & (ARRAY_SIZE(mmaps) - 1); in reader__process_events()
2212 if (mmaps[map_idx]) { in reader__process_events()
2213 munmap(mmaps[map_idx], mmap_size); in reader__process_events()
2214 mmaps[map_idx] = NULL; in reader__process_events()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3185 ring->map_idx = i + ulp_msix; in bnxt_alloc_cp_rings()
3187 ring->map_idx = i; in bnxt_alloc_cp_rings()
4359 return cpr->cp_ring_struct.map_idx; in bnxt_cp_num_to_irq_num()
4370 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_disable_int_sync() local
4372 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync()
5697 u32 map_idx, u32 xid) in bnxt_set_db() argument
5721 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db()
5751 u32 map_idx = ring->map_idx; in bnxt_hwrm_ring_alloc() local
5754 vector = bp->irq_tbl[map_idx].vector; in bnxt_hwrm_ring_alloc()
5756 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_ring_alloc()
[all …]
Dbnxt.h747 u16 map_idx; /* Used by cmpl rings */ member
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf.c194 int map_idx; member
3341 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local
3419 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3420 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3426 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
3430 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
3437 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
3448 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3449 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3453 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Disp.c2313 unsigned int map_idx = i ? OMAP3_ISP_IOMEM_CSI2A_REGS1 : 0; in isp_probe() local
2316 isp->mmio_base[map_idx] = in isp_probe()
2318 if (IS_ERR(isp->mmio_base[map_idx])) { in isp_probe()
2319 ret = PTR_ERR(isp->mmio_base[map_idx]); in isp_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch720 ret = of_property_read_u32(np, "fsl,asrc-clk-map", &map_idx);
722 asrc_priv->clk_map[IN] = clk_map_imx8qxp[map_idx];
723 asrc_priv->clk_map[OUT] = clk_map_imx8qxp[map_idx];
726 + if (map_idx == 0) {