Searched refs:__smem (Results 1 – 1 of 1) sorted by relevance
361 static struct qcom_smem *__smem = INIT_ERR_PTR(-EPROBE_DEFER); variable388 return hwspin_lock_bust(__smem->hwlock, SMEM_HOST_ID_TO_HWSPINLOCK_ID(host)); in qcom_smem_bust_hwspin_lock_by_host()399 return !IS_ERR(__smem); in qcom_smem_is_available()515 if (IS_ERR(__smem)) in qcom_smem_alloc()516 return PTR_ERR(__smem); in qcom_smem_alloc()519 dev_err(__smem->dev, in qcom_smem_alloc()524 if (item >= __smem->item_count) in qcom_smem_alloc()527 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_alloc()533 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_alloc()534 part = &__smem->partitions[host]; in qcom_smem_alloc()[all …]