/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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 | 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()
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/include/zephyr/drivers/clock_control/ |
D | nrf_clock_control.h | 122 struct onoff_manager *z_nrf_clock_control_get_onoff(clock_control_subsys_t sys);
|
/Zephyr-Core-3.7.0/tests/drivers/clock_control/clock_control_api/src/ |
D | test_clock_control.c | 34 struct onoff_manager *mgr = in setup_instance() 56 struct onoff_manager *mgr = z_nrf_clock_control_get_onoff(CLOCK_CONTROL_NRF_SUBSYS_LF); in tear_down_instance()
|
/Zephyr-Core-3.7.0/drivers/led_strip/ |
D | ws2812_gpio.c | 96 struct onoff_manager *mgr = in send_buf()
|
/Zephyr-Core-3.7.0/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 23 static struct onoff_manager *hf_mgr;
|
/Zephyr-Core-3.7.0/drivers/audio/ |
D | dmic_nrfx_pdm.c | 18 struct onoff_manager *clk_mgr; 404 static void clock_started_callback(struct onoff_manager *mgr, in clock_started_callback()
|
/Zephyr-Core-3.7.0/doc/services/resource_management/ |
D | index.rst | 84 :c:struct:`onoff_manager`, with only a small reduction in functionality
|
/Zephyr-Core-3.7.0/drivers/i2s/ |
D | i2s_nrfx.c | 29 struct onoff_manager *clk_mgr; 720 static void clock_started_callback(struct onoff_manager *mgr, in clock_started_callback()
|
/Zephyr-Core-3.7.0/drivers/usb/udc/ |
D | udc_nrf.c | 81 static struct onoff_manager *hfxo_mgr;
|
/Zephyr-Core-3.7.0/drivers/usb/device/ |
D | usb_dc_nrfx.c | 241 struct onoff_manager *hfxo_mgr;
|