Home
last modified time | relevance | path

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

/u-boot/include/
A Dhwspinlock.h24 struct hwspinlock { struct
45 int index, struct hwspinlock *hws); argument
55 int hwspinlock_lock_timeout(struct hwspinlock *hws, unsigned int timeout);
64 int hwspinlock_unlock(struct hwspinlock *hws);
70 struct hwspinlock *hws) in hwspinlock_get_by_index()
75 static inline int hwspinlock_lock_timeout(struct hwspinlock *hws, in hwspinlock_lock_timeout()
81 static inline int hwspinlock_unlock(struct hwspinlock *hws) in hwspinlock_unlock()
108 int (*of_xlate)(struct hwspinlock *hws,
/u-boot/drivers/hwspinlock/
A Dsandbox_hwspinlock.c18 if (state->hwspinlock) in sandbox_lock()
21 state->hwspinlock = true; in sandbox_lock()
33 if (!state->hwspinlock) in sandbox_unlock()
36 state->hwspinlock = false; in sandbox_unlock()
A Dhwspinlock-uclass.c22 static int hwspinlock_of_xlate_default(struct hwspinlock *hws, in hwspinlock_of_xlate_default()
39 struct hwspinlock *hws) in hwspinlock_get_by_index()
80 int hwspinlock_lock_timeout(struct hwspinlock *hws, unsigned int timeout) in hwspinlock_lock_timeout()
108 int hwspinlock_unlock(struct hwspinlock *hws) in hwspinlock_unlock()
144 UCLASS_DRIVER(hwspinlock) = {
A DMakefile5 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock-uclass.o
/u-boot/test/dm/
A Dhwspinlock.c19 struct hwspinlock hws; in dm_test_hwspinlock_base()
23 ut_asserteq(false, state->hwspinlock); in dm_test_hwspinlock_base()
27 ut_asserteq(true, state->hwspinlock); in dm_test_hwspinlock_base()
30 ut_asserteq(false, state->hwspinlock); in dm_test_hwspinlock_base()
A DMakefile35 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock.o
/u-boot/arch/sandbox/include/asm/
A Dstate.h106 bool hwspinlock; /* Hardware Spinlock status */ member
/u-boot/drivers/
A DKconfig47 source "drivers/hwspinlock/Kconfig"
A DMakefile123 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
/u-boot/arch/arm/dts/
A Dstm32mp151.dtsi1099 hwspinlock: hwspinlock@4c000000 { label
1100 compatible = "st,stm32-hwspinlock";
1104 clock-names = "hwspinlock";
1627 hwlocks = <&hwspinlock 0>;
1760 hwlocks = <&hwspinlock 0>;
A Dk3-j7200-main.dtsi118 hwspinlock: spinlock@30e00000 { label
119 compatible = "ti,am654-hwspinlock";
A Dam4372.dtsi401 hwspinlock: spinlock@480ca000 { label
402 compatible = "ti,omap4-hwspinlock";
A Ddm816x.dtsi242 compatible = "ti,omap4-hwspinlock";
A Dk3-am65-main.dtsi499 hwspinlock: spinlock@30e00000 { label
500 compatible = "ti,am654-hwspinlock";
A Dk3-j721e-main.dtsi178 hwspinlock: spinlock@30e00000 { label
179 compatible = "ti,am654-hwspinlock";
A Ddra7.dtsi994 hwspinlock: spinlock@4a0f6000 { label
995 compatible = "ti,omap4-hwspinlock";
A Dam33xx-l4.dtsi1359 hwspinlock: spinlock@0 { label
1360 compatible = "ti,omap4-hwspinlock";
A Domap4-l4.dtsi634 hwspinlock: spinlock@0 { label
635 compatible = "ti,omap4-hwspinlock";
A Domap5-l4.dtsi651 hwspinlock: spinlock@0 { label
652 compatible = "ti,omap4-hwspinlock";
/u-boot/drivers/pinctrl/
A Dpinctrl_stm32.c31 struct hwspinlock hws;
/u-boot/arch/sandbox/dts/
A Dtest.dts1328 hwspinlock@0 {
1329 compatible = "sandbox,hwspinlock";
/u-boot/
A DMAINTAINERS433 F: drivers/hwspinlock/stm32_hwspinlock.c

Completed in 29 milliseconds