Lines Matching full:hwlock
267 * @hwlock: reference to a hwspinlock
279 struct hwspinlock *hwlock; member
495 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_alloc()
511 hwspin_unlock_irqrestore(__smem->hwlock, &flags); in qcom_smem_alloc()
668 ret = hwspin_lock_timeout_irqsave(__smem->hwlock, in qcom_smem_get()
684 hwspin_unlock_irqrestore(__smem->hwlock, &flags); in qcom_smem_get()
1137 dev_err(&pdev->dev, "failed to retrieve hwlock\n"); in qcom_smem_probe()
1141 smem->hwlock = hwspin_lock_request_specific(hwlock_id); in qcom_smem_probe()
1142 if (!smem->hwlock) in qcom_smem_probe()
1145 ret = hwspin_lock_timeout_irqsave(smem->hwlock, HWSPINLOCK_TIMEOUT, &flags); in qcom_smem_probe()
1149 hwspin_unlock_irqrestore(smem->hwlock, &flags); in qcom_smem_probe()
1194 hwspin_lock_free(__smem->hwlock); in qcom_smem_remove()