Lines Matching refs:ok_to_sleep
240 bool ok_to_sleep = true; in z_arm_on_enter_cpu_idle_prepare() local
316 ok_to_sleep = rtc_pretick_cc_set_on_time; in z_arm_on_enter_cpu_idle_prepare()
321 if (ok_to_sleep) { in z_arm_on_enter_cpu_idle_prepare()
338 cpu_idle_prepare_allows_sleep = ok_to_sleep; in z_arm_on_enter_cpu_idle_prepare()
346 bool ok_to_sleep = true; in z_arm_on_enter_cpu_idle() local
353 ok_to_sleep = cpu_idle_prepare_allows_sleep; in z_arm_on_enter_cpu_idle()
360 ok_to_sleep = false; in z_arm_on_enter_cpu_idle()
365 if (ok_to_sleep) { in z_arm_on_enter_cpu_idle()
366 ok_to_sleep = nrf53_anomaly_160_check(); in z_arm_on_enter_cpu_idle()
371 if (ok_to_sleep) { in z_arm_on_enter_cpu_idle()
382 if (!ok_to_sleep) { in z_arm_on_enter_cpu_idle()
389 return ok_to_sleep; in z_arm_on_enter_cpu_idle()