Searched refs:hwspinlock (Results 1 – 18 of 18) 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 qcom_hwspinlock_trylock(struct hwspinlock *lock) in qcom_hwspinlock_trylock()45 static void qcom_hwspinlock_unlock(struct hwspinlock *lock) in qcom_hwspinlock_unlock()67 static int qcom_hwspinlock_bust(struct hwspinlock *lock, unsigned int id) in qcom_hwspinlock_bust()219 array_size = QCOM_MUTEX_NUM_LOCKS * sizeof(struct hwspinlock); in qcom_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
74 struct hwspinlock *hwlock;372 struct hwspinlock *hwlock = chip_data->host_data->hwlock; in stm32mp_exti_set_type()
157 obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
170 source "drivers/hwspinlock/Kconfig"
149 struct hwspinlock *hwlock;
804 hwspinlock: spinlock@2a000000 { label805 compatible = "ti,am64-hwspinlock";
861 hwspinlock: spinlock@2a000000 { label862 compatible = "ti,am64-hwspinlock";
279 struct hwspinlock *hwlock;
1600 hwspinlock: spinlock@0 { label1601 compatible = "ti,omap4-hwspinlock";
1196 hwspinlock: spinlock@0 { label1197 compatible = "ti,omap4-hwspinlock";
176 struct hwspinlock *hwlock;
340 D: Hardware spinlock (hwspinlock) subsystem341 D: OMAP hwspinlock driver
910 F: Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml911 F: drivers/hwspinlock/sun6i_hwspinlock.c11312 T: git git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git hwspinlock-next11314 F: Documentation/locking/hwspinlock.rst11315 F: drivers/hwspinlock/11316 F: include/linux/hwspinlock.h19518 F: drivers/hwspinlock/omap_hwspinlock.c