Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/soc/qcom/
Dsmem.c287 static struct qcom_smem *__smem; variable
395 if (!__smem) in qcom_smem_alloc()
399 dev_err(__smem->dev, in qcom_smem_alloc()
404 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_alloc()
410 if (host < SMEM_HOST_COUNT && __smem->partitions[host]) in qcom_smem_alloc()
411 ret = qcom_smem_alloc_private(__smem, host, item, size); in qcom_smem_alloc()
413 ret = qcom_smem_alloc_global(__smem, item, size); in qcom_smem_alloc()
415 hwspin_unlock_irqrestore(__smem->hwlock, &flags); in qcom_smem_alloc()
503 if (!__smem) in qcom_smem_get()
506 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_get()
[all …]