Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dhwspinlock.h24 struct hwspinlock;
61 struct hwspinlock *hwspin_lock_request(void);
63 int hwspin_lock_free(struct hwspinlock *hwlock);
65 int hwspin_lock_get_id(struct hwspinlock *hwlock);
68 int __hwspin_trylock(struct hwspinlock *, int, unsigned long *);
69 void __hwspin_unlock(struct hwspinlock *, int, unsigned long *);
72 struct hwspinlock *devm_hwspin_lock_request(struct device *dev);
97 static inline struct hwspinlock *hwspin_lock_request(void) in hwspin_lock_request()
107 static inline int hwspin_lock_free(struct hwspinlock *hwlock) in hwspin_lock_free()
258 static inline int hwspin_trylock(struct hwspinlock *hwlock) in hwspin_trylock()
[all …]
/linux/Documentation/locking/
A Dhwspinlock.rst276 Unlock a previously-locked hwspinlock.
288 Unlock a previously-locked hwspinlock.
298 Unlock a previously-locked hwspinlock.
320 #include <linux/hwspinlock.h>
325 struct hwspinlock *hwlock;
328 /* dynamically assign a hwspinlock */
358 struct hwspinlock *hwlock;
418 if the hwspinlock is still in use).
442 struct hwspinlock lock[0];
449 * struct hwspinlock - this struct represents a single hwspinlock instance
[all …]
A Dindex.rst23 hwspinlock
/linux/drivers/hwspinlock/
A Dhwspinlock_core.c342 struct hwspinlock *hwlock; in of_hwspin_lock_get_id()
423 struct hwspinlock *tmp; in hwspin_lock_register_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()
649 struct hwspinlock *tmp; in __hwspin_lock_request()
711 struct hwspinlock *hwlock; in hwspin_lock_request()
754 struct hwspinlock *hwlock; in hwspin_lock_request_specific()
803 struct hwspinlock *tmp; in hwspin_lock_free()
844 struct hwspinlock **hwlock = res; in devm_hwspin_lock_match()
[all …]
A 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()
A D.built-in.a.cmd1hwspinlock/built-in.a := echo >/dev/null; rm -f drivers/hwspinlock/built-in.a; /usr/bin/ccache /ho…
A 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()
A Dsprd_hwspinlock.c40 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()
A Domap_hwspinlock.c38 static int omap_hwspinlock_trylock(struct hwspinlock *lock) in omap_hwspinlock_trylock()
46 static void omap_hwspinlock_unlock(struct hwspinlock *lock) in omap_hwspinlock_unlock()
64 static void omap_hwspinlock_relax(struct hwspinlock *lock) in omap_hwspinlock_relax()
79 struct hwspinlock *hwlock; in omap_hwspinlock_probe()
A 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()
A 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()
A Dsun6i_hwspinlock.c63 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()
A D.hwspinlock_core.o.cmd1hwspinlock/hwspinlock_core.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../tool…
3 source_drivers/hwspinlock/hwspinlock_core.o := drivers/hwspinlock/hwspinlock_core.c
5 deps_drivers/hwspinlock/hwspinlock_core.o := \
880 include/linux/hwspinlock.h \
933 drivers/hwspinlock/hwspinlock_internal.h \
935 drivers/hwspinlock/hwspinlock_core.o: $(deps_drivers/hwspinlock/hwspinlock_core.o)
937 $(deps_drivers/hwspinlock/hwspinlock_core.o):
A D.qcom_hwspinlock.o.cmd1hwspinlock/qcom_hwspinlock.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../tool…
3 source_drivers/hwspinlock/qcom_hwspinlock.o := drivers/hwspinlock/qcom_hwspinlock.c
5 deps_drivers/hwspinlock/qcom_hwspinlock.o := \
22 include/linux/hwspinlock.h \
996 drivers/hwspinlock/hwspinlock_internal.h \
998 drivers/hwspinlock/qcom_hwspinlock.o: $(deps_drivers/hwspinlock/qcom_hwspinlock.o)
1000 $(deps_drivers/hwspinlock/qcom_hwspinlock.o):
/linux/Documentation/devicetree/bindings/hwlock/
A Dti,omap-hwspinlock.yaml4 $id: http://devicetree.org/schemas/hwlock/ti,omap-hwspinlock.yaml#
15 - ti,omap4-hwspinlock # for OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs
16 - ti,am64-hwspinlock # for K3 AM64x SoCs
17 - ti,am654-hwspinlock # for K3 AM65x, J721E and J7200 SoCs
25 The OMAP hwspinlock users will use a 0-indexed relative hwlock number as
26 the argument specifier value for requesting a specific hwspinlock within
27 a hwspinlock bank.
43 hwspinlock: spinlock@4a0f6000 {
44 compatible = "ti,omap4-hwspinlock";
71 compatible = "ti,am654-hwspinlock";
A Dst,stm32-hwspinlock.yaml4 $id: http://devicetree.org/schemas/hwlock/st,stm32-hwspinlock.yaml#
17 const: st,stm32-hwspinlock
41 hwspinlock@4c000000 {
42 compatible = "st,stm32-hwspinlock";
A Dsprd-hwspinlock.txt5 - compatible : should be "sprd,hwspinlock-r3p0".
6 - reg : the register address of hwspinlock.
17 hwspinlock@40500000 {
18 compatible = "sprd,hwspinlock-r3p0";
A Dallwinner,sun6i-a31-hwspinlock.yaml4 $id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-a31-hwspinlock.yaml#
18 const: allwinner,sun6i-a31-hwspinlock
43 compatible = "allwinner,sun6i-a31-hwspinlock";
A Dqcom-hwspinlock.yaml4 $id: http://devicetree.org/schemas/hwlock/qcom-hwspinlock.yaml#
/linux/arch/arm64/boot/dts/sprd/
A Dwhale2.dtsi191 hwlock: hwspinlock@40500000 {
192 compatible = "sprd,hwspinlock-r3p0";
/linux/drivers/irqchip/
A Dirq-stm32-exti.c68 struct hwspinlock *hwlock;
309 struct hwspinlock *hwlock = chip_data->host_data->hwlock; in stm32_irq_set_type()
511 struct hwspinlock *hwlock = chip_data->host_data->hwlock; in stm32_exti_h_set_type()
/linux/drivers/nvmem/
A Dsc27xx-efuse.c65 struct hwspinlock *hwlock;
/linux/drivers/base/regmap/
A Dinternal.h167 struct hwspinlock *hwlock;
/linux/drivers/
A DMakefile154 obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
A D.built-in.a.cmd1 …lt-in.a drivers/platform/built-in.a drivers/mailbox/built-in.a drivers/hwspinlock/built-in.a drive…

Completed in 52 milliseconds

12