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

Data Structures

struct  pbl_clk_controller_ops
 Clock controller driver operations, called with interrupts locked. More...
 
struct  pbl_clk_controller
 A clock controller. More...
 

Macros

#define PBL_CLK_CONTROLLER_STATE_DEFINE(sym, _num_clks)
 Define the class state of clock controller sym, for the driver's define macro.
 
#define PBL_CLK_CONTROLLER_INIT(sym, _name, _init, _parent, _ops)
 Initializer for the struct pbl_clk_controller of controller sym.
 

Functions

void pbl_clk_rate_changed (const struct pbl_clk *clk)
 Report a new rate to the notifiers of a clock and of the clocks below it.