Lines Matching refs:regions
276 struct smem_region regions[]; member
408 header = smem->regions[0].virt_base; in qcom_smem_alloc_global()
493 header = smem->regions[0].virt_base; in qcom_smem_get_global()
501 region = &smem->regions[i]; in qcom_smem_get_global()
641 header = __smem->regions[0].virt_base; in qcom_smem_get_free_space()
661 struct smem_region *region = &__smem->regions[i]; in qcom_smem_virt_to_phys()
681 header = smem->regions[0].virt_base; in qcom_smem_get_sbl_version()
692 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_get_ptable()
733 header = smem->regions[0].virt_base + le32_to_cpu(entry->offset); in qcom_smem_partition_header()
918 smem->regions[0].aux_base = rmem->base; in qcom_smem_probe()
919 smem->regions[0].size = rmem->size; in qcom_smem_probe()
925 ret = qcom_smem_resolve_mem(smem, "memory-region", &smem->regions[0]); in qcom_smem_probe()
931 ret = qcom_smem_resolve_mem(smem, "qcom,rpm-msg-ram", &smem->regions[1]); in qcom_smem_probe()
937 smem->regions[i].virt_base = devm_ioremap_wc(&pdev->dev, in qcom_smem_probe()
938 smem->regions[i].aux_base, in qcom_smem_probe()
939 smem->regions[i].size); in qcom_smem_probe()
940 if (!smem->regions[i].virt_base) { in qcom_smem_probe()
941 dev_err(&pdev->dev, "failed to remap %pa\n", &smem->regions[i].aux_base); in qcom_smem_probe()
946 header = smem->regions[0].virt_base; in qcom_smem_probe()