Lines Matching refs:mgr
70 struct onoff_manager mgr[CLOCK_CONTROL_NRF_TYPE_COUNT]; member
105 return &data->mgr[type]; in get_onoff_manager()
419 static clock_control_subsys_t get_subsys(struct onoff_manager *mgr) in get_subsys() argument
422 size_t offset = (size_t)(mgr - data->mgr); in get_subsys()
427 static void onoff_stop(struct onoff_manager *mgr, in onoff_stop() argument
432 res = stop(CLOCK_DEVICE, get_subsys(mgr), CTX_ONOFF); in onoff_stop()
433 notify(mgr, res); in onoff_stop()
441 struct onoff_manager *mgr = get_onoff_manager(dev, type); in onoff_started_callback() local
444 notify(mgr, 0); in onoff_started_callback()
447 static void onoff_start(struct onoff_manager *mgr, in onoff_start() argument
452 err = async_start(CLOCK_DEVICE, get_subsys(mgr), in onoff_start()
455 notify(mgr, err); in onoff_start()
554 struct onoff_manager *mgr = in z_nrf_clock_control_lf_on() local
559 err = onoff_request(mgr, &cli); in z_nrf_clock_control_lf_on()
673 z_nrf_clock_calibration_init(data->mgr); in clk_init()