Home
last modified time | relevance | path

Searched refs:num_rmems (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/remoteproc/
Dti_k3_dsp_remoteproc.c86 int num_rmems; member
394 for (i = 0; i < kproc->num_rmems; i++) { in k3_dsp_rproc_da_to_va()
473 int num_rmems; in k3_dsp_reserved_mem_init() local
476 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_dsp_reserved_mem_init()
478 if (num_rmems <= 0) { in k3_dsp_reserved_mem_init()
480 num_rmems); in k3_dsp_reserved_mem_init()
483 if (num_rmems < 2) { in k3_dsp_reserved_mem_init()
485 num_rmems); in k3_dsp_reserved_mem_init()
497 num_rmems--; in k3_dsp_reserved_mem_init()
498 kproc->rmem = kcalloc(num_rmems, sizeof(*kproc->rmem), GFP_KERNEL); in k3_dsp_reserved_mem_init()
[all …]
Dti_k3_r5_remoteproc.c135 int num_rmems; member
607 for (i = 0; i < kproc->num_rmems; i++) { in k3_r5_rproc_da_to_va()
761 int num_rmems; in k3_r5_reserved_mem_init() local
764 num_rmems = of_property_count_elems_of_size(np, "memory-region", in k3_r5_reserved_mem_init()
766 if (num_rmems <= 0) { in k3_r5_reserved_mem_init()
768 num_rmems); in k3_r5_reserved_mem_init()
771 if (num_rmems < 2) { in k3_r5_reserved_mem_init()
773 num_rmems); in k3_r5_reserved_mem_init()
785 num_rmems--; in k3_r5_reserved_mem_init()
786 kproc->rmem = kcalloc(num_rmems, sizeof(*kproc->rmem), GFP_KERNEL); in k3_r5_reserved_mem_init()
[all …]