| /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 | 620 ring->map_idx = ulp_msix + i; in bnge_alloc_rx_agg_bmap() 1366 return nqr->ring_struct.map_idx; in bnge_init_tx_rings() 1789 u32 ring_type, u32 map_idx, u32 xid) in bnge_hwrm_set_vnic_filter() 1820 u32 map_idx = bnapi->index; in bnge_mc_list_updated() 1825 rc = hwrm_ring_alloc_send_msg(bn, ring, type, map_idx); in bnge_mc_list_updated() 1829 bnge_set_db(bn, &cpr->cp_db, type, map_idx, ring->fw_ring_id); in bnge_mc_list_updated() 1858 u32 map_idx; in bnge_promisc_ok() 1861 map_idx = grp_idx + bd->rx_nr_rings; in bnge_cfg_def_vnic() 1862 rc = hwrm_ring_alloc_send_msg(bn, ring, type, map_idx); in bnge_cfg_def_vnic() 1866 bnge_set_db(bn, &rxr->rx_agg_db, type, map_idx, in bnge_cfg_def_vnic() 1444 bnge_set_db(struct bnge_net * bn,struct bnge_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnge_set_db() argument 1475 u32 map_idx = bnapi->index; bnge_hwrm_cp_ring_alloc() local 1513 u32 map_idx; bnge_hwrm_rx_agg_ring_alloc() local 1536 u32 map_idx = bnapi->index; bnge_hwrm_rx_ring_alloc() local 1561 u32 map_idx = ring->map_idx; bnge_hwrm_ring_alloc() local 1599 u32 map_idx, type; bnge_hwrm_ring_alloc() local 1955 int map_idx = bnge_cp_num_to_irq_num(bn, i); bnge_disable_int_sync() local 2172 int map_idx = bnge_cp_num_to_irq_num(bn, i); bnge_setup_msix() local 2212 int map_idx = bnge_cp_num_to_irq_num(bn, i); bnge_free_irq() local 2239 int map_idx = bnge_cp_num_to_irq_num(bn, i); bnge_request_irq() 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/arch/s390/pci/ |
| H A D | pci.c | 305 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh() 502 idx = zdev->bars[bar].map_idx; in zpci_do_update_iomap_fh() 558 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources() 598 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 4616 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() 4714 reloc_desc->map_idx = obj->arena_map_idx; in bpf_program__record_reloc() 4728 reloc_desc->map_idx = -1; in bpf_program__record_reloc() 4741 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc() 4742 map = &obj->maps[map_idx]; in bpf_program__record_reloc() 4748 prog->name, map_idx, map->name, map->sec_idx, in prog_contains_insn() 4752 if (map_idx > 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/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 | 4302 ring->map_idx = ulp_msix + i; in bnxt_reset_rx_ring_struct() 5741 return cpr->cp_ring_struct.map_idx; in bnxt_hwrm_func_drv_rgtr() 5755 int map_idx = bnxt_cp_num_to_irq_num(bp, i); in bnxt_hwrm_func_drv_rgtr() 5757 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_hwrm_func_drv_rgtr() 7365 u32 map_idx, u32 xid) in bnxt_hwrm_cp_ring_alloc_p5() local 7390 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_hwrm_tx_ring_alloc() 7413 u32 map_idx = bnapi->index; in bnxt_hwrm_ring_alloc() 7416 rc = hwrm_ring_alloc_send_msg(bp, rxr, ring, type, map_idx); in bnxt_hwrm_ring_alloc() 7420 bnxt_set_db(bp, &rxr->rx_db, type, map_idx, ring->fw_ring_id); in bnxt_hwrm_ring_alloc() 7421 bp->grp_info[map_idx] in bnxt_hwrm_ring_alloc() 5666 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_disable_int_sync() local 7275 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument 7323 u32 map_idx = bnapi->index; bnxt_hwrm_rx_ring_alloc() local 7342 u32 map_idx; bnxt_hwrm_rx_agg_ring_alloc() local 7406 u32 map_idx = ring->map_idx; bnxt_hwrm_ring_alloc() local 11292 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_setup_msix() local 11715 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_free_irq() local 11760 int map_idx = bnxt_cp_num_to_irq_num(bp, i); bnxt_request_irq() local 12949 unsigned int q_idx, map_idx, cpu, i; bnxt_set_xps_mapping() local [all...] |
| H A D | bnxt.h | 949 u16 map_idx; /* Used by cmpl rings */ 940 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 | 18438 int map_idx; 18506 map_idx = add_used_map(env, fd); in mark_fastcall_pattern_for_call() 18507 if (map_idx < 0) in mark_fastcall_pattern_for_call() 18508 return map_idx; in mark_fastcall_pattern_for_call() 18509 map = env->used_maps[map_idx]; in mark_fastcall_pattern_for_call() 18512 aux->map_index = map_idx; in mark_fastcall_pattern_for_call() 21821 int map_idx; resolve_pseudo_ldimm64() local
|