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

Data Structures

struct  pbl_rproc_ops
 Remote processor operations, implemented by the providers, called with the lock held. More...
 
struct  pbl_rproc_state
 Remote processor state, kept by the class. More...
 
struct  pbl_rproc
 Remote processor. More...
 

Macros

#define PBL_RPROC_STATE_DEFINE(sym)
 Define the state of a remote processor, for providers.
 
#define PBL_RPROC_INIT(sym, _name, _init, _parent, _ops)
 Initializer of a struct pbl_rproc, for providers.
 

Functions

int pbl_rproc_auto_boot (const struct pbl_rproc *rproc)
 Boot a remote processor from its provider's init, for providers.