Home
last modified time | relevance | path

Searched refs:__smem (Results 1 – 1 of 1) sorted by relevance

/drivers/soc/qcom/
Dsmem.c343 static struct qcom_smem *__smem; variable
447 if (!__smem) in qcom_smem_alloc()
451 dev_err(__smem->dev, in qcom_smem_alloc()
456 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_alloc()
459 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_alloc()
465 if (host < SMEM_HOST_COUNT && __smem->partitions[host]) { in qcom_smem_alloc()
466 phdr = __smem->partitions[host]; in qcom_smem_alloc()
467 ret = qcom_smem_alloc_private(__smem, phdr, item, size); in qcom_smem_alloc()
468 } else if (__smem->global_partition) { in qcom_smem_alloc()
469 phdr = __smem->global_partition; in qcom_smem_alloc()
[all …]