Searched refs:hwspinlock (Results 1 – 18 of 18) sorted by relevance
91 int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_trylock()206 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout()265 void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags) in __hwspin_unlock()342 struct hwspinlock *hwlock; in of_hwspin_lock_get_id()421 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single()423 struct hwspinlock *tmp; in hwspin_lock_register_single()446 static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id) in hwspin_lock_unregister_single()448 struct hwspinlock *hwlock = NULL; in hwspin_lock_unregister_single()489 struct hwspinlock *hwlock; in hwspin_lock_register()536 struct hwspinlock *hwlock, *tmp; in hwspin_lock_unregister()[all …]
29 int (*trylock)(struct hwspinlock *lock);30 void (*unlock)(struct hwspinlock *lock);31 void (*relax)(struct hwspinlock *lock);40 struct hwspinlock { struct59 struct hwspinlock lock[];62 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id()
50 static int u8500_hsem_trylock(struct hwspinlock *lock) in u8500_hsem_trylock()63 static void u8500_hsem_unlock(struct hwspinlock *lock) in u8500_hsem_unlock()74 static void u8500_hsem_relax(struct hwspinlock *lock) in u8500_hsem_relax()89 struct hwspinlock *hwlock; in u8500_hsem_probe()
37 static int omap_hwspinlock_trylock(struct hwspinlock *lock) in omap_hwspinlock_trylock()45 static void omap_hwspinlock_unlock(struct hwspinlock *lock) in omap_hwspinlock_unlock()63 static void omap_hwspinlock_relax(struct hwspinlock *lock) in omap_hwspinlock_relax()78 struct hwspinlock *hwlock; in omap_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()68 array_size = STM32_MUTEX_NUM_LOCKS * sizeof(struct hwspinlock); in stm32_hwspinlock_probe()
42 static int sprd_hwspinlock_trylock(struct hwspinlock *lock) in sprd_hwspinlock_trylock()62 static void sprd_hwspinlock_unlock(struct hwspinlock *lock) in sprd_hwspinlock_unlock()70 static void sprd_hwspinlock_relax(struct hwspinlock *lock) in sprd_hwspinlock_relax()91 struct hwspinlock *lock; in sprd_hwspinlock_probe()
33 static int sirf_hwspinlock_trylock(struct hwspinlock *lock) in sirf_hwspinlock_trylock()41 static void sirf_hwspinlock_unlock(struct hwspinlock *lock) in sirf_hwspinlock_unlock()57 struct hwspinlock *hwlock; in sirf_hwspinlock_probe()
22 static int qcom_hwspinlock_trylock(struct hwspinlock *lock) in qcom_hwspinlock_trylock()39 static void qcom_hwspinlock_unlock(struct hwspinlock *lock) in qcom_hwspinlock_unlock()146 array_size = QCOM_MUTEX_NUM_LOCKS * sizeof(struct hwspinlock); in qcom_hwspinlock_probe()
68 struct hwspinlock *hwlock;304 struct hwspinlock *hwlock = chip_data->host_data->hwlock; in stm32_irq_set_type()507 struct hwspinlock *hwlock = chip_data->host_data->hwlock; in stm32_exti_h_set_type()
65 struct hwspinlock *hwlock;
66 struct hwspinlock *hwlock;
163 struct hwspinlock *hwlock;
156 obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
157 source "drivers/hwspinlock/Kconfig"
77 struct hwspinlock *hwlock;
114 struct hwspinlock *hwlock;
264 struct hwspinlock *hwlock;
112 struct hwspinlock *hwlock;