Lines Matching refs:OSNOISE_TIME_INIT_VAL
172 if (context->runtime_us != OSNOISE_TIME_INIT_VAL) in osnoise_get_runtime()
175 if (context->orig_runtime_us != OSNOISE_TIME_INIT_VAL) in osnoise_get_runtime()
186 return OSNOISE_TIME_INIT_VAL; in osnoise_get_runtime()
198 if (context->period_us != OSNOISE_TIME_INIT_VAL) in osnoise_get_period()
201 if (context->orig_period_us != OSNOISE_TIME_INIT_VAL) in osnoise_get_period()
212 return OSNOISE_TIME_INIT_VAL; in osnoise_get_period()
220 if (context->orig_runtime_us == OSNOISE_TIME_INIT_VAL) in __osnoise_write_runtime()
236 if (context->orig_period_us == OSNOISE_TIME_INIT_VAL) in __osnoise_write_period()
269 if (curr_period_us == OSNOISE_TIME_INIT_VAL || curr_runtime_us == OSNOISE_TIME_INIT_VAL) in osnoise_set_runtime_period()
312 if ((orig_runtime == OSNOISE_TIME_INIT_VAL) && (orig_period == OSNOISE_TIME_INIT_VAL)) in osnoise_restore_runtime_period()
323 context->runtime_us = OSNOISE_TIME_INIT_VAL; in osnoise_restore_runtime_period()
324 context->period_us = OSNOISE_TIME_INIT_VAL; in osnoise_restore_runtime_period()
334 if (context->orig_runtime_us != OSNOISE_TIME_INIT_VAL) in osnoise_put_runtime_period()
335 context->orig_runtime_us = OSNOISE_TIME_INIT_VAL; in osnoise_put_runtime_period()
337 if (context->orig_period_us != OSNOISE_TIME_INIT_VAL) in osnoise_put_runtime_period()
338 context->orig_period_us = OSNOISE_TIME_INIT_VAL; in osnoise_put_runtime_period()
349 if (context->timerlat_period_us != OSNOISE_TIME_INIT_VAL) in osnoise_get_timerlat_period_us()
352 if (context->orig_timerlat_period_us != OSNOISE_TIME_INIT_VAL) in osnoise_get_timerlat_period_us()
363 return OSNOISE_TIME_INIT_VAL; in osnoise_get_timerlat_period_us()
374 if (curr_timerlat_period_us == OSNOISE_TIME_INIT_VAL) in osnoise_set_timerlat_period_us()
393 if (context->orig_timerlat_period_us == OSNOISE_TIME_INIT_VAL) in osnoise_restore_timerlat_period_us()
404 context->timerlat_period_us = OSNOISE_TIME_INIT_VAL; in osnoise_restore_timerlat_period_us()
414 if (context->orig_timerlat_period_us == OSNOISE_TIME_INIT_VAL) in osnoise_put_timerlat_period_us()
417 context->orig_timerlat_period_us = OSNOISE_TIME_INIT_VAL; in osnoise_put_timerlat_period_us()