Lines Matching refs:hwspinlock
11 #include <linux/hwspinlock.h>
22 /* hwspinlock registers definition */
32 /* hwspinlock number */
42 static int sprd_hwspinlock_trylock(struct hwspinlock *lock)
56 "hwspinlock [%d] lock failed and master/user id = %d!\n",
62 static void sprd_hwspinlock_unlock(struct hwspinlock *lock)
70 static void sprd_hwspinlock_relax(struct hwspinlock *lock)
91 struct hwspinlock *lock;
110 dev_err(&pdev->dev, "get hwspinlock clock failed!\n");
122 "Failed to add hwspinlock disable action\n");
126 /* set the hwspinlock to record user id to identify subsystems */
142 { .compatible = "sprd,hwspinlock-r3p0", },