Searched refs:map_idx (Results 1 – 11 of 11) sorted by relevance
/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 | 190 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()
|
/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 | 1078 u32 map_idx; in fsl_asrc_probe() local 1158 ret = of_property_read_u32(np, "fsl,asrc-clk-map", &map_idx); in fsl_asrc_probe() 1164 if (map_idx > 1) { in fsl_asrc_probe() 1169 asrc_priv->clk_map[IN] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe() 1170 asrc_priv->clk_map[OUT] = clk_map_imx8qm[map_idx]; in fsl_asrc_probe() 1172 asrc_priv->clk_map[IN] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe() 1173 asrc_priv->clk_map[OUT] = clk_map_imx8qxp[map_idx]; in fsl_asrc_probe()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | device.c | 2734 u32 map_idx = 0; in hl_capture_user_mappings() local 2773 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings() 2774 pgf_info->user_mappings[map_idx].size = userptr->size; in hl_capture_user_mappings() 2775 map_idx++; in hl_capture_user_mappings() 2778 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings() 2779 pgf_info->user_mappings[map_idx].size = phys_pg_pack->total_size; in hl_capture_user_mappings() 2780 map_idx++; in hl_capture_user_mappings()
|
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 381 int map_idx; member 4480 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local 4573 reloc_desc->map_idx = obj->arena_map - obj->maps; in bpf_program__record_reloc() 4585 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc() 4586 map = &obj->maps[map_idx]; in bpf_program__record_reloc() 4592 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc() 4596 if (map_idx >= nr_maps) { in bpf_program__record_reloc() 4603 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc() 4614 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc() 4615 map = &obj->maps[map_idx]; in bpf_program__record_reloc() [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 4086 ring->map_idx = ulp_msix + i; in bnxt_alloc_cp_rings() 5482 return cpr->cp_ring_struct.map_idx; in bnxt_cp_num_to_irq_num() 5496 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_disable_int_sync() local 5498 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync() 7089 u32 map_idx, u32 xid) in bnxt_set_db() argument 7114 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db() 7137 u32 map_idx = bnapi->index; in bnxt_hwrm_rx_ring_alloc() local 7140 rc = hwrm_ring_alloc_send_msg(bp, ring, type, map_idx); in bnxt_hwrm_rx_ring_alloc() 7144 bnxt_set_db(bp, &rxr->rx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_rx_ring_alloc() 7145 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 | 929 u16 map_idx; /* Used by cmpl rings */ member
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isp.c | 2325 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()
|
/linux/samples/bpf/ |
H A D | map_perf_test_user.c | 62 enum map_idx { enum
|
/linux/kernel/bpf/ |
H A D | verifier.c | 19225 int map_idx; in resolve_pseudo_ldimm64() local 19289 map_idx = add_used_map_from_fd(env, fd, &reused); in resolve_pseudo_ldimm64() 19290 if (map_idx < 0) in resolve_pseudo_ldimm64() 19291 return map_idx; in resolve_pseudo_ldimm64() 19292 map = env->used_maps[map_idx]; in resolve_pseudo_ldimm64() 19295 aux->map_index = map_idx; in resolve_pseudo_ldimm64()
|