Lines Matching full:partitions
37 * These partitions are referenced from an optional partition table
160 * struct smem_ptable - partition table for the private partitions
163 * @num_entries: number of partitions in the table
165 * @entry: list of @smem_ptable_entry for the @num_entries partitions
178 * struct smem_partition_header - header of the partitions
270 * @partitions: list of partitions of current processor/host
285 struct smem_partition partitions[SMEM_HOST_COUNT]; member
533 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_alloc()
534 part = &__smem->partitions[host]; in qcom_smem_alloc()
700 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_get()
701 part = &__smem->partitions[host]; in qcom_smem_get()
733 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_get_free_space()
734 part = &__smem->partitions[host]; in qcom_smem_get_free_space()
781 part = &__smem->partitions[i]; in qcom_smem_virt_to_phys()
1050 if (smem->partitions[remote_host].virt_base) { in qcom_smem_enumerate_partitions()
1059 smem->partitions[remote_host].virt_base = (void __iomem *)header; in qcom_smem_enumerate_partitions()
1060 smem->partitions[remote_host].phys_base = smem->regions[0].aux_base + in qcom_smem_enumerate_partitions()
1062 smem->partitions[remote_host].size = le32_to_cpu(entry->size); in qcom_smem_enumerate_partitions()
1063 smem->partitions[remote_host].cacheline = le32_to_cpu(entry->cacheline); in qcom_smem_enumerate_partitions()