Searched refs:hwspinlock (Results 1 – 15 of 15) sorted by relevance
31 int (*trylock)(struct hwspinlock *lock);32 void (*unlock)(struct hwspinlock *lock);33 int (*bust)(struct hwspinlock *lock, unsigned int id);34 void (*relax)(struct hwspinlock *lock);43 struct hwspinlock { struct62 struct hwspinlock lock[];65 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id()
40 static int sprd_hwspinlock_trylock(struct hwspinlock *lock) in sprd_hwspinlock_trylock()60 static void sprd_hwspinlock_unlock(struct hwspinlock *lock) in sprd_hwspinlock_unlock()68 static void sprd_hwspinlock_relax(struct hwspinlock *lock) in sprd_hwspinlock_relax()89 struct hwspinlock *lock; in sprd_hwspinlock_probe()
28 static int stm32_hwspinlock_trylock(struct hwspinlock *lock) in stm32_hwspinlock_trylock()39 static void stm32_hwspinlock_unlock(struct hwspinlock *lock) in stm32_hwspinlock_unlock()46 static void stm32_hwspinlock_relax(struct hwspinlock *lock) in stm32_hwspinlock_relax()
63 static int sun6i_hwspinlock_trylock(struct hwspinlock *lock) in sun6i_hwspinlock_trylock()70 static void sun6i_hwspinlock_unlock(struct hwspinlock *lock) in sun6i_hwspinlock_unlock()94 struct hwspinlock *hwlock; in sun6i_hwspinlock_probe()
33 * hwspinlock
157 obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
170 source "drivers/hwspinlock/Kconfig"
74 struct hwspinlock *hwlock;372 struct hwspinlock *hwlock = chip_data->host_data->hwlock; in stm32mp_exti_set_type()
149 struct hwspinlock *hwlock;
804 hwspinlock: spinlock@2a000000 { label805 compatible = "ti,am64-hwspinlock";
861 hwspinlock: spinlock@2a000000 { label862 compatible = "ti,am64-hwspinlock";
1600 hwspinlock: spinlock@0 { label1601 compatible = "ti,omap4-hwspinlock";
1196 hwspinlock: spinlock@0 { label1197 compatible = "ti,omap4-hwspinlock";
176 struct hwspinlock *hwlock;
919 F: Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml920 F: drivers/hwspinlock/sun6i_hwspinlock.c11433 T: git git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git hwspinlock-next11435 F: Documentation/locking/hwspinlock.rst11436 F: drivers/hwspinlock/11437 F: include/linux/hwspinlock.h19755 F: drivers/hwspinlock/omap_hwspinlock.c