Searched refs:__smem (Results 1 – 1 of 1) sorted by relevance
357 static struct qcom_smem *__smem; variable369 return !!__smem; in qcom_smem_is_available()483 if (!__smem) in qcom_smem_alloc()487 dev_err(__smem->dev, in qcom_smem_alloc()492 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_alloc()495 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_alloc()501 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_alloc()502 part = &__smem->partitions[host]; in qcom_smem_alloc()503 ret = qcom_smem_alloc_private(__smem, part, item, size); in qcom_smem_alloc()504 } else if (__smem->global_partition.virt_base) { in qcom_smem_alloc()[all …]