Home
last modified time | relevance | path

Searched refs:hwspinlock (Results 1 – 18 of 18) sorted by relevance

/drivers/hwspinlock/
Dhwspinlock_core.c91 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 …]
Dhwspinlock_internal.h29 int (*trylock)(struct hwspinlock *lock);
30 void (*unlock)(struct hwspinlock *lock);
31 void (*relax)(struct hwspinlock *lock);
40 struct hwspinlock { struct
59 struct hwspinlock lock[];
62 static inline int hwlock_to_id(struct hwspinlock *hwlock) in hwlock_to_id()
Du8500_hsem.c50 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()
Domap_hwspinlock.c37 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()
Dstm32_hwspinlock.c28 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()
Dsprd_hwspinlock.c42 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()
Dsirf_hwspinlock.c33 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()
Dqcom_hwspinlock.c22 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()
/drivers/irqchip/
Dirq-stm32-exti.c68 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()
/drivers/nvmem/
Dsc27xx-efuse.c65 struct hwspinlock *hwlock;
Dsprd-efuse.c66 struct hwspinlock *hwlock;
/drivers/base/regmap/
Dinternal.h163 struct hwspinlock *hwlock;
/drivers/
DMakefile156 obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
DKconfig157 source "drivers/hwspinlock/Kconfig"
/drivers/iio/adc/
Dsc27xx_adc.c77 struct hwspinlock *hwlock;
/drivers/spi/
Dspi-sprd-adi.c114 struct hwspinlock *hwlock;
/drivers/soc/qcom/
Dsmem.c264 struct hwspinlock *hwlock;
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c112 struct hwspinlock *hwlock;