Searched refs:__smem (Results 1 – 1 of 1) sorted by relevance
349 static struct qcom_smem *__smem; variable453 if (!__smem) in qcom_smem_alloc()457 dev_err(__smem->dev, in qcom_smem_alloc()462 if (WARN_ON(item >= __smem->item_count)) in qcom_smem_alloc()465 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_alloc()471 if (host < SMEM_HOST_COUNT && __smem->partitions[host]) { in qcom_smem_alloc()472 phdr = __smem->partitions[host]; in qcom_smem_alloc()473 ret = qcom_smem_alloc_private(__smem, phdr, item, size); in qcom_smem_alloc()474 } else if (__smem->global_partition) { in qcom_smem_alloc()475 phdr = __smem->global_partition; in qcom_smem_alloc()[all …]