Lines Matching refs:err_code
171 nrfx_err_t err_code; in z_nrf_grtc_timer_chan_alloc() local
177 err_code = nrfx_grtc_channel_alloc(&chan); in z_nrf_grtc_timer_chan_alloc()
178 if (err_code != NRFX_SUCCESS) { in z_nrf_grtc_timer_chan_alloc()
188 nrfx_err_t err_code = nrfx_grtc_channel_free(chan); in z_nrf_grtc_timer_chan_free() local
190 if (err_code == NRFX_SUCCESS) { in z_nrf_grtc_timer_chan_free()
375 nrfx_err_t err_code; in z_nrf_grtc_wakeup_prepare() local
397 err_code = nrfx_grtc_channel_alloc(&systemoff_channel); in z_nrf_grtc_wakeup_prepare()
398 if (err_code != NRFX_SUCCESS) { in z_nrf_grtc_wakeup_prepare()
472 nrfx_err_t err_code; in sys_clock_driver_init() local
477 err_code = nrfx_grtc_init(0); in sys_clock_driver_init()
478 if (err_code != NRFX_SUCCESS) { in sys_clock_driver_init()
483 err_code = nrfx_grtc_syscounter_start(true, &system_clock_channel_data.channel); in sys_clock_driver_init()
484 if (err_code != NRFX_SUCCESS) { in sys_clock_driver_init()
485 return err_code == NRFX_ERROR_NO_MEM ? -ENOMEM : -EPERM; in sys_clock_driver_init()
488 err_code = nrfx_grtc_channel_alloc(&system_clock_channel_data.channel); in sys_clock_driver_init()
489 if (err_code != NRFX_SUCCESS) { in sys_clock_driver_init()