| /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/tools/lib/bpf/ |
| H A D | gen_loader.c | 515 struct bpf_map_create_opts *map_attr, int map_idx) in bpf_gen__map_create() 538 map_name, map_idx, map_type, map_attr->btf_value_type_id, in bpf_gen__map_create() 564 if (map_idx >= 0 && !OPTS_GET(gen->opts, gen_hash, false)) in bpf_gen__map_create() 567 sizeof(struct bpf_map_desc) * map_idx + in bpf_gen__map_create() 574 map_name, map_idx, map_type, value_size, in bpf_gen__map_create() 578 if (map_idx < 0) { in bpf_gen__map_create() 579 /* This bpf_gen__map_create() function is called with map_idx >= 0 in bpf_gen__map_create() 585 } else if (map_idx != gen->nr_maps) { in emit_signature_match() 1192 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *pvalue, in bpf_gen__map_update_elem() 1206 * if (map_desc[map_idx] in bpf_gen__map_update_elem() 508 bpf_gen__map_create(struct bpf_gen * gen,enum bpf_map_type map_type,const char * map_name,__u32 key_size,__u32 value_size,__u32 max_entries,struct bpf_map_create_opts * map_attr,int map_idx) bpf_gen__map_create() argument 1159 bpf_gen__map_update_elem(struct bpf_gen * gen,int map_idx,void * pvalue,__u32 value_size) bpf_gen__map_update_elem() argument 1236 bpf_gen__map_freeze(struct bpf_gen * gen,int map_idx) bpf_gen__map_freeze() argument [all...] |
| H A D | libbpf.c | 388 int map_idx; 4621 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() 4719 reloc_desc->map_idx = obj->arena_map_idx; in bpf_program__record_reloc() 4733 reloc_desc->map_idx = -1; in bpf_program__record_reloc() 4746 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in prog_contains_insn() 4747 map = &obj->maps[map_idx]; in prog_contains_insn() 4753 prog->name, map_idx, map->name, map->sec_idx, in find_prog_by_sec_insn() 4757 if (map_idx > in find_prog_by_sec_insn() 383 int map_idx; global() member 4570 size_t map_idx, nr_maps = prog->obj->nr_maps; bpf_program__record_reloc() local 6151 poison_map_ldimm64(struct bpf_program * prog,int relo_idx,int insn_idx,struct bpf_insn * insn,int map_idx,const struct bpf_map * map) poison_map_ldimm64() argument 8066 int insn_idx, map_idx; fixup_log_missing_map_load() local [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/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/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 | 4311 ring->map_idx = ulp_msix + i; in bnxt_alloc_cp_rings() 5750 return cpr->cp_ring_struct.map_idx; in bnxt_disable_int_sync() 5764 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_enable_int() 5766 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_enable_int() 7374 u32 map_idx, u32 xid) in bnxt_set_db() 7399 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db() 7422 u32 map_idx = bnapi->index; in bnxt_hwrm_rx_ring_alloc() 7425 rc = hwrm_ring_alloc_send_msg(bp, rxr, ring, type, map_idx); in bnxt_hwrm_rx_ring_alloc() 7429 bnxt_set_db(bp, &rxr->rx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_rx_agg_ring_alloc() 7430 bp->grp_info[map_idx] in bnxt_hwrm_rx_agg_ring_alloc() 5758 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_disable_int_sync() local 7368 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument 7416 u32 map_idx = bnapi->index; bnxt_hwrm_rx_ring_alloc() local 7435 u32 map_idx; bnxt_hwrm_rx_agg_ring_alloc() local 7458 u32 map_idx = bnapi->index; bnxt_hwrm_cp_ring_alloc_p5() local 7499 u32 map_idx = ring->map_idx; bnxt_hwrm_ring_alloc() local 11385 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_setup_msix() local 11809 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_free_irq() local 11854 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_request_irq() local 13043 unsigned int q_idx, map_idx, cpu, i; bnxt_set_xps_mapping() local [all...] |
| H A D | bnxt.h | 950 u16 map_idx; /* Used by cmpl rings */ 949 u16 map_idx; /* Used by cmpl rings */ global() 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 | 18092 int map_idx; in check_map_prog_compatibility() 18160 map_idx = add_used_map(env, fd); in check_map_prog_compatibility() 18161 if (map_idx < 0) in check_map_prog_compatibility() 18162 return map_idx; in check_map_prog_compatibility() 18163 map = env->used_maps[map_idx]; in check_map_prog_compatibility() 18166 aux->map_index = map_idx; in check_map_prog_compatibility() 18453 int map_idx; check_and_resolve_insns() local
|