PebbleOS v4.47.0-1362-gd278268fe
Loading...
Searching...
No Matches
driver.h File Reference
#include <stdint.h>
#include <pbl/device.h>
#include <pbl/drivers/hwspinlock.h>

Data Structures

struct  pbl_hwspinlock_controller_ops
 Hardware spinlock controller driver operations, called with interrupts locked. More...
 
struct  pbl_hwspinlock_controller
 A hardware spinlock controller. More...
 

Macros

#define PBL_HWSPINLOCK_CONTROLLER_STATE_DEFINE(sym)   PBL_DEVICE_STATE_DEFINE(sym)
 Define the class state of hardware spinlock controller sym, for the driver's define macro.
 
#define PBL_HWSPINLOCK_CONTROLLER_INIT(sym, _name, _init, _parent, _ops, _num_locks)
 Initializer for the struct pbl_hwspinlock_controller of controller sym.