| /linux-6.15/drivers/remoteproc/ |
| H A D | keystone_remoteproc.c | 59 int num_mems; member 261 for (i = 0; i < ksproc->num_mems; i++) { in keystone_rproc_da_to_va() 301 int num_mems = 0; in keystone_rproc_of_get_memories() local 304 num_mems = ARRAY_SIZE(mem_names); in keystone_rproc_of_get_memories() 305 ksproc->mem = devm_kcalloc(ksproc->dev, num_mems, in keystone_rproc_of_get_memories() 310 for (i = 0; i < num_mems; i++) { in keystone_rproc_of_get_memories() 328 ksproc->num_mems = num_mems; in keystone_rproc_of_get_memories()
|
| H A D | ti_k3_dsp_remoteproc.c | 59 u32 num_mems; member 84 int num_mems; member 429 for (i = 0; i < kproc->num_mems; i++) { in k3_dsp_rproc_da_to_va() 481 int num_mems = 0; in k3_dsp_rproc_of_get_memories() local 484 num_mems = kproc->data->num_mems; in k3_dsp_rproc_of_get_memories() 485 kproc->mem = devm_kcalloc(kproc->dev, num_mems, in k3_dsp_rproc_of_get_memories() 490 for (i = 0; i < num_mems; i++) { in k3_dsp_rproc_of_get_memories() 522 kproc->num_mems = num_mems; in k3_dsp_rproc_of_get_memories() 764 .num_mems = ARRAY_SIZE(c66_mems), 771 .num_mems = ARRAY_SIZE(c71_mems), [all …]
|
| H A D | da8xx_remoteproc.c | 69 int num_mems; member 202 int num_mems = ARRAY_SIZE(mem_names); in da8xx_rproc_get_internal_memories() local 207 drproc->mem = devm_kcalloc(dev, num_mems, sizeof(*drproc->mem), in da8xx_rproc_get_internal_memories() 212 for (i = 0; i < num_mems; i++) { in da8xx_rproc_get_internal_memories() 231 drproc->num_mems = num_mems; in da8xx_rproc_get_internal_memories()
|
| H A D | ti_k3_m4_remoteproc.c | 67 int num_mems; member 297 for (i = 0; i < kproc->num_mems; i++) { in k3_m4_rproc_da_to_va() 339 int num_mems; in k3_m4_rproc_of_get_memories() local 342 num_mems = ARRAY_SIZE(mem_names); in k3_m4_rproc_of_get_memories() 343 kproc->mem = devm_kcalloc(kproc->dev, num_mems, in k3_m4_rproc_of_get_memories() 348 for (i = 0; i < num_mems; i++) { in k3_m4_rproc_of_get_memories() 380 kproc->num_mems = num_mems; in k3_m4_rproc_of_get_memories()
|
| H A D | omap_remoteproc.c | 112 int num_mems; member 746 if (!oproc->num_mems) in omap_rproc_da_to_va() 749 for (i = 0; i < oproc->num_mems; i++) { in omap_rproc_da_to_va() 1178 int num_mems; in omap_rproc_of_get_internal_memories() local 1188 num_mems = of_property_count_elems_of_size(dev->of_node, "reg", in omap_rproc_of_get_internal_memories() 1191 oproc->mem = devm_kcalloc(dev, num_mems, sizeof(*oproc->mem), in omap_rproc_of_get_internal_memories() 1219 oproc->num_mems = num_mems; in omap_rproc_of_get_internal_memories()
|
| H A D | ti_k3_r5_remoteproc.c | 141 int num_mems; member 745 for (i = 0; i < core->num_mems; i++) { in k3_r5_rproc_da_to_va() 1367 int num_mems; in k3_r5_core_of_get_internal_memories() local 1370 num_mems = ARRAY_SIZE(mem_names); in k3_r5_core_of_get_internal_memories() 1371 core->mem = devm_kcalloc(dev, num_mems, sizeof(*core->mem), GFP_KERNEL); in k3_r5_core_of_get_internal_memories() 1375 for (i = 0; i < num_mems; i++) { in k3_r5_core_of_get_internal_memories() 1428 core->num_mems = num_mems; in k3_r5_core_of_get_internal_memories()
|
| /linux-6.15/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | main.c | 750 u64 version, features, ctx_count, num_mems; in nfp_flower_init() local 776 num_mems = nfp_rtsym_read_le(app->pf->rtbl, "CONFIG_FC_HOST_CTX_SPLIT", in nfp_flower_init() 783 num_mems = 1; in nfp_flower_init() 786 if (!FIELD_FIT(NFP_FL_STAT_ID_MU_NUM, num_mems) || !num_mems) { in nfp_flower_init() 789 num_mems); in nfp_flower_init() 813 app_priv->total_mem_units = num_mems; in nfp_flower_init() 826 err = nfp_flower_metadata_init(app, ctx_count, num_mems); in nfp_flower_init()
|
| /linux-6.15/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_mock_mem_maps.c | 106 for (i = 0; i < dsp->num_mems; ++i) { in cs_dsp_mock_size_of_region() 125 int num_mems = priv->dsp->num_mems; in cs_dsp_mock_base_addr_for_mem() local 129 for (i = 0; i < num_mems; ++i) { in cs_dsp_mock_base_addr_for_mem()
|
| H A D | cs_dsp_test_bin_error.c | 492 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_bin_err_test_halo_init() 512 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_bin_err_test_adsp2_32bit_init() 531 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_bin_err_test_adsp2_16bit_init()
|
| H A D | cs_dsp_test_callbacks.c | 531 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_callbacks_test_halo_init() 551 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_callbacks_test_adsp2_32bit_init() 580 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_callbacks_test_adsp2_16bit_init()
|
| H A D | cs_dsp_test_wmfw_error.c | 1090 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_wmfw_err_test_halo_init() 1110 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_wmfw_err_test_adsp2_32bit_init() 1144 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_wmfw_err_test_adsp2_16bit_init()
|
| H A D | cs_dsp_test_wmfw.c | 1871 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_wmfw_test_halo_init() 1891 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_wmfw_test_adsp2_32bit_init() 1925 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_wmfw_test_adsp2_16bit_init()
|
| H A D | cs_dsp_test_control_parse.c | 1457 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_ctl_parse_test_halo_init() 1477 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_ctl_parse_test_adsp2_32bit_init() 1506 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_ctl_parse_test_adsp2_16bit_init()
|
| H A D | cs_dsp_test_bin.c | 2242 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_bin_test_halo_init() 2262 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_bin_test_adsp2_32bit_init() 2281 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_bin_test_adsp2_16bit_init()
|
| H A D | cs_dsp_test_control_rw.c | 2138 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_ctl_rw_test_halo_init() 2158 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_ctl_rw_test_adsp2_32bit_init() 2187 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_ctl_rw_test_adsp2_16bit_init()
|
| H A D | cs_dsp_test_control_cache.c | 2771 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_halo_dsp1_region_sizes); in cs_dsp_ctl_cache_test_halo_init() 2791 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_32bit_dsp1_region_sizes); in cs_dsp_ctl_cache_test_adsp2_32bit_init() 2820 dsp->num_mems = cs_dsp_mock_count_regions(cs_dsp_mock_adsp2_16bit_dsp1_region_sizes); in cs_dsp_ctl_cache_test_adsp2_16bit_init()
|
| /linux-6.15/include/linux/firmware/cirrus/ |
| H A D | cs_dsp.h | 178 int num_mems; member
|
| /linux-6.15/drivers/mfd/ |
| H A D | cs40l50-core.c | 215 cs40l50->dsp.num_mems = ARRAY_SIZE(cs40l50_dsp_regions); in cs40l50_dsp_init()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | wm2200.c | 2218 wm2200->dsp[0].cs_dsp.num_mems = ARRAY_SIZE(wm2200_dsp1_regions); in wm2200_i2c_probe() 2222 wm2200->dsp[1].cs_dsp.num_mems = ARRAY_SIZE(wm2200_dsp2_regions); in wm2200_i2c_probe()
|
| H A D | cs35l56-shared.c | 668 cs_dsp->num_mems = ARRAY_SIZE(cs35l56_dsp1_regions); in cs35l56_init_cs_dsp()
|
| H A D | cs35l41-lib.c | 1427 dsp->num_mems = ARRAY_SIZE(cs35l41_dsp1_regions); in cs35l41_configure_cs_dsp()
|
| H A D | cs47l24.c | 1248 cs47l24->core.adsp[i].cs_dsp.num_mems = in cs47l24_probe()
|
| H A D | cs35l45.c | 1364 dsp->cs_dsp.num_mems = ARRAY_SIZE(cs35l45_dsp1_regions); in cs35l45_dsp_init()
|
| H A D | cs47l15.c | 1419 cs47l15->core.adsp[0].cs_dsp.num_mems = ARRAY_SIZE(cs47l15_dsp1_regions); in cs47l15_probe()
|
| H A D | wm5102.c | 2071 wm5102->core.adsp[0].cs_dsp.num_mems = ARRAY_SIZE(wm5102_dsp1_regions); in wm5102_probe()
|