/Zephyr-latest/include/zephyr/sys/ |
D | onoff.h | 84 struct onoff_manager; 101 typedef void (*onoff_notify_fn)(struct onoff_manager *mgr, 129 typedef void (*onoff_transition_fn)(struct onoff_manager *mgr, 154 struct onoff_manager { struct 221 int onoff_manager_init(struct onoff_manager *mgr, 252 typedef void (*onoff_client_callback)(struct onoff_manager *mgr, 315 static inline bool onoff_has_error(const struct onoff_manager *mgr) in onoff_has_error() 347 int onoff_request(struct onoff_manager *mgr, 368 int onoff_release(struct onoff_manager *mgr); 401 int onoff_cancel(struct onoff_manager *mgr, [all …]
|
/Zephyr-latest/tests/drivers/clock_control/onoff/src/ |
D | test_clock_control_onoff.c | 13 static struct onoff_manager *get_mgr(void) in get_mgr() 30 struct onoff_manager *mgr = get_mgr(); in clock_off() 41 struct onoff_manager *mgr = get_mgr(); in ZTEST() 64 struct onoff_manager *mgr = get_mgr(); in ZTEST() 83 static void request_cb(struct onoff_manager *mgr, struct onoff_client *cli, in request_cb() 99 struct onoff_manager *mgr = get_mgr(); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_clock.c | 29 static void clock_ready(struct onoff_manager *mgr, struct onoff_client *cli, in clock_ready() 38 static int blocking_on(struct onoff_manager *mgr, uint32_t timeout) in blocking_on() 56 struct onoff_manager *mgr = in lll_clock_init() 66 struct onoff_manager *mgr = in lll_clock_deinit() 77 struct onoff_manager *mgr; in lll_clock_wait() 114 struct onoff_manager *mgr = in lll_hfclock_on_wait()
|
/Zephyr-latest/drivers/clock_control/ |
D | nrf_clock_calibration.c | 40 static void cal_hf_callback(struct onoff_manager *mgr, 43 static void cal_lf_callback(struct onoff_manager *mgr, 48 static struct onoff_manager *mgrs; 70 static void clk_request(struct onoff_manager *mgr, struct onoff_client *cli, in clk_request() 80 static void clk_release(struct onoff_manager *mgr) in clk_release() 108 static void cal_lf_callback(struct onoff_manager *mgr, in cal_lf_callback() 164 static void cal_hf_callback(struct onoff_manager *mgr, in cal_hf_callback() 238 void z_nrf_clock_calibration_init(struct onoff_manager *onoff_mgrs) in z_nrf_clock_calibration_init()
|
D | clock_control_nrf2_fll16m.c | 85 static void hfxo_cb(struct onoff_manager *mgr, in hfxo_cb() 136 static struct onoff_manager *fll16m_find_mgr(const struct device *dev, in fll16m_find_mgr() 178 struct onoff_manager *mgr = fll16m_find_mgr(dev, spec); in api_request_fll16m() 190 struct onoff_manager *mgr = fll16m_find_mgr(dev, spec); in api_release_fll16m() 203 struct onoff_manager *mgr = fll16m_find_mgr(dev, spec); in api_cancel_or_release_fll16m()
|
D | clock_control_nrf2_hsfll.c | 103 static struct onoff_manager *hsfll_find_mgr(const struct device *dev, in hsfll_find_mgr() 140 struct onoff_manager *mgr = hsfll_find_mgr(dev, spec); in api_request_hsfll() 156 struct onoff_manager *mgr = hsfll_find_mgr(dev, spec); in api_release_hsfll() 173 struct onoff_manager *mgr = hsfll_find_mgr(dev, spec); in api_cancel_or_release_hsfll()
|
D | nrf_clock_calibration.h | 20 void z_nrf_clock_calibration_init(struct onoff_manager *mgrs);
|
D | clock_control_nrf.c | 70 struct onoff_manager mgr[CLOCK_CONTROL_NRF_TYPE_COUNT]; 100 static struct onoff_manager *get_onoff_manager(const struct device *dev, in get_onoff_manager() 111 struct onoff_manager *z_nrf_clock_control_get_onoff(clock_control_subsys_t sys) in z_nrf_clock_control_get_onoff() 419 static clock_control_subsys_t get_subsys(struct onoff_manager *mgr) in get_subsys() 427 static void onoff_stop(struct onoff_manager *mgr, in onoff_stop() 441 struct onoff_manager *mgr = get_onoff_manager(dev, type); in onoff_started_callback() 447 static void onoff_start(struct onoff_manager *mgr, in onoff_start() 554 struct onoff_manager *mgr = in z_nrf_clock_control_lf_on() 745 struct onoff_manager *hf_mgr = in cmd_status() 748 struct onoff_manager *lf_mgr = in cmd_status()
|
D | clock_control_nrf2_global_hsfll.c | 65 static struct onoff_manager *global_hsfll_find_mgr(const struct device *dev, in global_hsfll_find_mgr() 101 struct onoff_manager *mgr = global_hsfll_find_mgr(dev, spec); in api_request_global_hsfll() 113 struct onoff_manager *mgr = global_hsfll_find_mgr(dev, spec); in api_release_global_hsfll() 126 struct onoff_manager *mgr = global_hsfll_find_mgr(dev, spec); in api_cancel_or_release_global_hsfll()
|
D | clock_control_nrf2_lfclk.c | 108 static struct onoff_manager *lfclk_find_mgr(const struct device *dev, in lfclk_find_mgr() 146 struct onoff_manager *mgr = lfclk_find_mgr(dev, spec); in api_request_lfclk() 158 struct onoff_manager *mgr = lfclk_find_mgr(dev, spec); in api_release_lfclk() 171 struct onoff_manager *mgr = lfclk_find_mgr(dev, spec); in api_cancel_or_release_lfclk()
|
D | clock_control_nrf2_common.h | 18 struct onoff_manager mgr;
|
D | clock_control_nrf2_common.c | 54 static void onoff_start_option(struct onoff_manager *mgr, in onoff_start_option() 69 static void onoff_stop_option(struct onoff_manager *mgr, in onoff_stop_option() 208 static void sync_cb(struct onoff_manager *mgr, struct onoff_client *cli, uint32_t state, int res) in sync_cb()
|
D | clock_control_nrf2_hfxo.c | 21 struct onoff_manager mgr; 108 static void onoff_start_hfxo(struct onoff_manager *mgr, onoff_notify_fn notify) in onoff_start_hfxo() 164 static void onoff_stop_hfxo(struct onoff_manager *mgr, onoff_notify_fn notify) in onoff_stop_hfxo()
|
/Zephyr-latest/lib/utils/ |
D | onoff.c | 115 static void set_state(struct onoff_manager *mgr, in set_state() 122 static int validate_args(const struct onoff_manager *mgr, in validate_args() 140 int onoff_manager_init(struct onoff_manager *mgr, in onoff_manager_init() 150 *mgr = (struct onoff_manager)ONOFF_MANAGER_INITIALIZER(transitions); in onoff_manager_init() 155 static void notify_monitors(struct onoff_manager *mgr, in notify_monitors() 168 static void notify_one(struct onoff_manager *mgr, in notify_one() 181 static void notify_all(struct onoff_manager *mgr, in notify_all() 197 static void process_event(struct onoff_manager *mgr, 201 static void transition_complete(struct onoff_manager *mgr, in transition_complete() 211 static int process_recheck(struct onoff_manager *mgr) in process_recheck() [all …]
|
/Zephyr-latest/soc/nordic/nrf53/ |
D | nrf53_cpunet_mgmt.c | 22 static struct onoff_manager cpunet_mgr; 24 static void onoff_start(struct onoff_manager *mgr, onoff_notify_fn notify) in onoff_start() 31 static void onoff_stop(struct onoff_manager *mgr, onoff_notify_fn notify) in onoff_stop()
|
/Zephyr-latest/modules/hal_nordic/nrf_802154/sl_opensource/platform/ |
D | nrf_802154_clock_zephyr.c | 42 static void hfclk_on_callback(struct onoff_manager *mgr, in hfclk_on_callback() 54 struct onoff_manager *mgr = in nrf_802154_clock_hfclk_start() 68 struct onoff_manager *mgr = in nrf_802154_clock_hfclk_stop()
|
/Zephyr-latest/soc/nordic/common/ |
D | mram_latency.c | 24 struct onoff_manager mram_latency_mgr; 66 static void no_latency_start(struct onoff_manager *mgr, onoff_notify_fn notify) in no_latency_start() 72 static void no_latency_stop(struct onoff_manager *mgr, onoff_notify_fn notify) in no_latency_stop() 100 static void sync_req_cb(struct onoff_manager *mgr, struct onoff_client *cli, uint32_t state, in sync_req_cb()
|
D | mram_latency.h | 22 extern struct onoff_manager mram_latency_mgr;
|
/Zephyr-latest/soc/nordic/nrf54h/gpd/ |
D | gpd.c | 30 struct onoff_manager mgr; 38 static void start(struct onoff_manager *mgr, onoff_notify_fn notify); 39 static void stop(struct onoff_manager *mgr, onoff_notify_fn notify); 96 static void request_cb(struct onoff_manager *mgr_, struct onoff_client *cli, uint32_t state, in request_cb() 176 static void start(struct onoff_manager *mgr, onoff_notify_fn notify) in start() 195 static void stop(struct onoff_manager *mgr, onoff_notify_fn notify) in stop()
|
/Zephyr-latest/drivers/sensor/nordic/temp/ |
D | temp_nrf5.c | 30 struct onoff_manager *clk_mgr; 33 static void hfclk_on_callback(struct onoff_manager *mgr, in hfclk_on_callback()
|
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_calibration/src/ |
D | test_nrf_clock_calibration.c | 28 struct onoff_manager *mgr = z_nrf_clock_control_get_onoff(subsys); in turn_on_clock() 43 struct onoff_manager *mgr = z_nrf_clock_control_get_onoff(subsys); in turn_off_clock()
|
/Zephyr-latest/tests/lib/onoff/src/ |
D | main.c | 13 static struct onoff_manager onoff_srv; 23 static void trans_callback(struct onoff_manager *mgr, in trans_callback() 54 static struct onoff_manager *callback_srv; 60 static void callback(struct onoff_manager *srv, in callback() 114 struct onoff_manager *srv; 125 static void run_transit(struct onoff_manager *srv, in run_transit() 150 static void start(struct onoff_manager *srv, in start() 159 static void stop(struct onoff_manager *srv, in stop() 168 static void reset(struct onoff_manager *srv, in reset() 187 struct onoff_manager *srv; [all …]
|
/Zephyr-latest/tests/boards/nrf/mram_latency/src/ |
D | main.c | 32 static void basic_cb(struct onoff_manager *mgr, struct onoff_client *cli, uint32_t state, int res) in basic_cb() 41 static void monitor_cb(struct onoff_manager *mgr, struct onoff_monitor *mon, uint32_t state, in monitor_cb()
|
/Zephyr-latest/samples/boards/nordic/clock_control/src/ |
D | main.c | 28 static void sample_notify_cb(struct onoff_manager *mgr, in sample_notify_cb()
|
/Zephyr-latest/include/zephyr/drivers/clock_control/ |
D | nrf_clock_control.h | 133 struct onoff_manager *z_nrf_clock_control_get_onoff(clock_control_subsys_t sys);
|