Functions | |
| void | bsp_hwspinlock_init (void) |
| Initialize SOC spinlock, enable clocks and init spinlock instance 0 through 7 to unlocked state. More... | |
| uint32_t | bsp_hwspinlock_lock (int num) |
| Acquire selected spinlock instance. More... | |
| void | bsp_hwspinlock_unlock (int num) |
| Release selected spinlock instance. More... | |
| void bsp_hwspinlock_init | ( | void | ) |
Initialize SOC spinlock, enable clocks and init spinlock instance 0 through 7 to unlocked state.
| uint32_t bsp_hwspinlock_lock | ( | int | num | ) |
Acquire selected spinlock instance.
| num | Spinlock instance(0: DC latch) |
| 0 | success 1: already locked |
| void bsp_hwspinlock_unlock | ( | int | num | ) |
Release selected spinlock instance.
| num | Spinlock instance |