| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | local_storage_bench.c | 82 unsigned int map_idx = index % num_maps; in loop() local 84 do_lookup(map_idx, lctx); in loop() 85 if (interleave && map_idx % 3 == 0) in loop()
|
| /linux/drivers/irqchip/ |
| H A D | irq-bcm7120-l2.c | 184 unsigned int map_idx = gc_idx * 2; in bcm7120_l2_intc_iomap_3380() local 185 void __iomem *en = of_iomap(dn, map_idx + 0); in bcm7120_l2_intc_iomap_3380() 186 void __iomem *stat = of_iomap(dn, map_idx + 1); in bcm7120_l2_intc_iomap_3380() 189 data->map_base[map_idx + 0] = en; in bcm7120_l2_intc_iomap_3380() 190 data->map_base[map_idx + 1] = stat; in bcm7120_l2_intc_iomap_3380()
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_netdev.c | 277 ring->map_idx = ulp_msix + i; in bnge_alloc_nq_tree() 1021 return nqr->ring_struct.map_idx; in bnge_cp_num_to_irq_num() 1444 u32 ring_type, u32 map_idx, u32 xid) in bnge_set_db() argument 1475 u32 map_idx = bnapi->index; in bnge_hwrm_cp_ring_alloc() local 1480 rc = hwrm_ring_alloc_send_msg(bn, ring, type, map_idx); in bnge_hwrm_cp_ring_alloc() 1484 bnge_set_db(bn, &cpr->cp_db, type, map_idx, ring->fw_ring_id); in bnge_hwrm_cp_ring_alloc() 1513 u32 map_idx; in bnge_hwrm_rx_agg_ring_alloc() local 1516 map_idx = grp_idx + bd->rx_nr_rings; in bnge_hwrm_rx_agg_ring_alloc() 1517 rc = hwrm_ring_alloc_send_msg(bn, ring, type, map_idx); in bnge_hwrm_rx_agg_ring_alloc() 1521 bnge_set_db(bn, &rxr->rx_agg_db, type, map_idx, in bnge_hwrm_rx_agg_ring_alloc() [all …]
|
| /linux/sound/soc/atmel/ |
| H A D | mchp-pdmc.c | 271 int map_idx = map->channels == 1 ? map->map[i] - SNDRV_CHMAP_MONO : in mchp_pdmc_chmap_ctl_get() local 275 if (dd->channel_mic_map[map_idx].ds_pos) in mchp_pdmc_chmap_ctl_get() 277 if (dd->channel_mic_map[map_idx].clk_edge) in mchp_pdmc_chmap_ctl_get() 313 int map_idx; in mchp_pdmc_chmap_ctl_put() local 316 map_idx = map->channels == 1 ? map->map[i] - SNDRV_CHMAP_MONO : in mchp_pdmc_chmap_ctl_put() 320 if (dd->channel_mic_map[map_idx].ds_pos) in mchp_pdmc_chmap_ctl_put() 322 if (dd->channel_mic_map[map_idx].clk_edge) in mchp_pdmc_chmap_ctl_put()
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_asrc.c | 1238 u32 map_idx; in fsl_asrc_probe() 1329 ret = of_property_read_u32(np, "fsl,asrc-clk-map", &map_idx); in fsl_asrc_probe() 1335 if (map_idx > 1) { in fsl_asrc_probe() 1340 asrc_priv->clk_map[IN] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe() 1341 asrc_priv->clk_map[OUT] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe() 1343 asrc_priv->clk_map[IN] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe() 1344 asrc_priv->clk_map[OUT] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe() 1212 u32 map_idx; fsl_asrc_probe() local
|
| /linux/arch/s390/pci/ |
| H A D | pci.c | 304 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh() 501 idx = zdev->bars[bar].map_idx; in zpci_do_update_iomap_fh() 557 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources() 597 zpci_free_iomap(zdev, zdev->bars[i].map_idx); in zpci_cleanup_bus_resources()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | device.c | 2725 u32 map_idx = 0; in hl_capture_user_mappings() local 2764 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings() 2765 pgf_info->user_mappings[map_idx].size = userptr->size; in hl_capture_user_mappings() 2766 map_idx++; in hl_capture_user_mappings() 2769 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings() 2770 pgf_info->user_mappings[map_idx].size = phys_pg_pack->total_size; in hl_capture_user_mappings() 2771 map_idx++; in hl_capture_user_mappings()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 383 int map_idx; member 4570 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local 4668 reloc_desc->map_idx = obj->arena_map_idx; in bpf_program__record_reloc() 4682 reloc_desc->map_idx = -1; in bpf_program__record_reloc() 4695 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc() 4696 map = &obj->maps[map_idx]; in bpf_program__record_reloc() 4702 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc() 4706 if (map_idx >= nr_maps) { in bpf_program__record_reloc() 4713 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc() 4724 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc() [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | pci.h | 99 u16 map_idx; /* index into bar mapping array */ member
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | isp.c | 2291 unsigned int map_idx = i ? OMAP3_ISP_IOMEM_CSI2A_REGS1 : 0; in isp_probe() local 2293 isp->mmio_base[map_idx] = in isp_probe() 2295 if (IS_ERR(isp->mmio_base[map_idx])) { in isp_probe() 2296 ret = PTR_ERR(isp->mmio_base[map_idx]); in isp_probe()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 4214 ring->map_idx = ulp_msix + i; in bnxt_alloc_cp_rings() 5650 return cpr->cp_ring_struct.map_idx; in bnxt_cp_num_to_irq_num() 5664 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_disable_int_sync() local 5666 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync() 7270 u32 map_idx, u32 xid) in bnxt_set_db() argument 7295 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db() 7318 u32 map_idx = bnapi->index; in bnxt_hwrm_rx_ring_alloc() local 7321 rc = hwrm_ring_alloc_send_msg(bp, rxr, ring, type, map_idx); in bnxt_hwrm_rx_ring_alloc() 7325 bnxt_set_db(bp, &rxr->rx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_rx_ring_alloc() 7326 bp->grp_info[map_idx].rx_fw_ring_id = ring->fw_ring_id; in bnxt_hwrm_rx_ring_alloc() [all …]
|
| H A D | bnxt.h | 940 u16 map_idx; /* Used by cmpl rings */ member
|
| /linux/samples/bpf/ |
| H A D | map_perf_test_user.c | 62 enum map_idx { enum
|
| /linux/drivers/md/ |
| H A D | dm-zoned-metadata.c | 1833 int map_idx = chunk & DMZ_MAP_ENTRIES_MASK; in dmz_set_chunk_mapping() local 1835 dmap[map_idx].dzone_id = cpu_to_le32(dzone_id); in dmz_set_chunk_mapping() 1836 dmap[map_idx].bzone_id = cpu_to_le32(bzone_id); in dmz_set_chunk_mapping()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 21716 int map_idx; in resolve_pseudo_ldimm64() local 21779 map_idx = add_used_map(env, fd); in resolve_pseudo_ldimm64() 21780 if (map_idx < 0) in resolve_pseudo_ldimm64() 21781 return map_idx; in resolve_pseudo_ldimm64() 21782 map = env->used_maps[map_idx]; in resolve_pseudo_ldimm64() 21785 aux->map_index = map_idx; in resolve_pseudo_ldimm64()
|