Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/soc/qcom/
Dsmem.c357 static struct qcom_smem *__smem; variable
369 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 …]