| /linux/include/linux/ |
| A D | hwspinlock.h | 24 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 D | hwspinlock.rst | 276 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 D | index.rst | 23 hwspinlock
|
| /linux/drivers/hwspinlock/ |
| A D | hwspinlock_core.c | 342 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 D | hwspinlock_internal.h | 29 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.cmd | 1 …hwspinlock/built-in.a := echo >/dev/null; rm -f drivers/hwspinlock/built-in.a; /usr/bin/ccache /ho…
|
| A D | u8500_hsem.c | 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()
|
| A D | sprd_hwspinlock.c | 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()
|
| A D | omap_hwspinlock.c | 38 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 D | stm32_hwspinlock.c | 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()
|
| A D | qcom_hwspinlock.c | 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()
|
| A D | sun6i_hwspinlock.c | 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()
|
| A D | .hwspinlock_core.o.cmd | 1 …hwspinlock/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.cmd | 1 …hwspinlock/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 D | ti,omap-hwspinlock.yaml | 4 $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 D | st,stm32-hwspinlock.yaml | 4 $id: http://devicetree.org/schemas/hwlock/st,stm32-hwspinlock.yaml# 17 const: st,stm32-hwspinlock 41 hwspinlock@4c000000 { 42 compatible = "st,stm32-hwspinlock";
|
| A D | sprd-hwspinlock.txt | 5 - compatible : should be "sprd,hwspinlock-r3p0". 6 - reg : the register address of hwspinlock. 17 hwspinlock@40500000 { 18 compatible = "sprd,hwspinlock-r3p0";
|
| A D | allwinner,sun6i-a31-hwspinlock.yaml | 4 $id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-a31-hwspinlock.yaml# 18 const: allwinner,sun6i-a31-hwspinlock 43 compatible = "allwinner,sun6i-a31-hwspinlock";
|
| A D | qcom-hwspinlock.yaml | 4 $id: http://devicetree.org/schemas/hwlock/qcom-hwspinlock.yaml#
|
| /linux/arch/arm64/boot/dts/sprd/ |
| A D | whale2.dtsi | 191 hwlock: hwspinlock@40500000 { 192 compatible = "sprd,hwspinlock-r3p0";
|
| /linux/drivers/irqchip/ |
| A D | irq-stm32-exti.c | 68 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 D | sc27xx-efuse.c | 65 struct hwspinlock *hwlock;
|
| /linux/drivers/base/regmap/ |
| A D | internal.h | 167 struct hwspinlock *hwlock;
|
| /linux/drivers/ |
| A D | Makefile | 154 obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
|
| A D | .built-in.a.cmd | 1 …lt-in.a drivers/platform/built-in.a drivers/mailbox/built-in.a drivers/hwspinlock/built-in.a drive…
|