Lines Matching refs:partitions
284 struct smem_partition partitions[SMEM_HOST_COUNT]; member
489 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_alloc()
490 part = &__smem->partitions[host]; in qcom_smem_alloc()
662 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_get()
663 part = &__smem->partitions[host]; in qcom_smem_get()
696 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_get_free_space()
697 part = &__smem->partitions[host]; in qcom_smem_get_free_space()
744 part = &__smem->partitions[i]; in qcom_smem_virt_to_phys()
958 if (smem->partitions[remote_host].virt_base) { in qcom_smem_enumerate_partitions()
967 smem->partitions[remote_host].virt_base = (void __iomem *)header; in qcom_smem_enumerate_partitions()
968 smem->partitions[remote_host].phys_base = smem->regions[0].aux_base + in qcom_smem_enumerate_partitions()
970 smem->partitions[remote_host].size = le32_to_cpu(entry->size); in qcom_smem_enumerate_partitions()
971 smem->partitions[remote_host].cacheline = le32_to_cpu(entry->cacheline); in qcom_smem_enumerate_partitions()