|
PebbleOS
|
Clock controller driver operations, called with interrupts locked. More...
#include <clk.h>
Data Fields | |
| int(* | enable )(const struct pbl_clk_controller *ctrl, uint32_t id) |
| Ungate a clock. | |
| int(* | disable )(const struct pbl_clk_controller *ctrl, uint32_t id) |
| Gate a clock. | |
Clock controller driver operations, called with interrupts locked.
| int(* pbl_clk_controller_ops::disable) (const struct pbl_clk_controller *ctrl, uint32_t id) |
Gate a clock.
Returns 0 or a negative errno.
| int(* pbl_clk_controller_ops::enable) (const struct pbl_clk_controller *ctrl, uint32_t id) |
Ungate a clock.
Returns 0 or a negative errno.