Searched refs:__smem (Results 1 – 1 of 1) sorted by relevance
356 static struct qcom_smem *__smem; variable471 if (!__smem) in qcom_smem_alloc()475 dev_err(__smem->dev, in qcom_smem_alloc()480 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_alloc()483 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_alloc()489 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_alloc()490 part = &__smem->partitions[host]; in qcom_smem_alloc()491 ret = qcom_smem_alloc_private(__smem, part, item, size); in qcom_smem_alloc()492 } else if (__smem->global_partition.virt_base) { in qcom_smem_alloc()493 part = &__smem->global_partition; in qcom_smem_alloc()[all …]