|
PebbleOS v4.47.0-1075-g013613c8a
|
Hardware spinlock controller driver operations, called with interrupts locked. More...
#include <hwspinlock.h>
Data Fields | |
| int(* | trylock )(const struct pbl_hwspinlock_controller *ctrl, uint32_t id) |
| Try to take a lock: 0 when taken, -EBUSY when another processor holds it. | |
| void(* | unlock )(const struct pbl_hwspinlock_controller *ctrl, uint32_t id) |
| Release a lock taken with trylock. | |
Hardware spinlock controller driver operations, called with interrupts locked.
| int(* pbl_hwspinlock_controller_ops::trylock) (const struct pbl_hwspinlock_controller *ctrl, uint32_t id) |
Try to take a lock: 0 when taken, -EBUSY when another processor holds it.
| void(* pbl_hwspinlock_controller_ops::unlock) (const struct pbl_hwspinlock_controller *ctrl, uint32_t id) |
Release a lock taken with trylock.