Lines Matching refs:hwspinlock
10 #include <linux/hwspinlock.h>
20 /* hwspinlock registers definition */
30 /* hwspinlock number */
40 static int sprd_hwspinlock_trylock(struct hwspinlock *lock)
54 "hwspinlock [%d] lock failed and master/user id = %d!\n",
60 static void sprd_hwspinlock_unlock(struct hwspinlock *lock)
68 static void sprd_hwspinlock_relax(struct hwspinlock *lock)
89 struct hwspinlock *lock;
107 dev_err(&pdev->dev, "get hwspinlock clock failed!\n");
119 "Failed to add hwspinlock disable action\n");
123 /* set the hwspinlock to record user id to identify subsystems */
139 { .compatible = "sprd,hwspinlock-r3p0", },