Lines Matching refs:timer
409 static inline int os_timer_change(os_timer_t timer, int internal_ms) in os_timer_change() argument
411 return aos_timer_change(timer, internal_ms); in os_timer_change()
414 static inline int os_timer_start(os_timer_t timer) in os_timer_start() argument
416 return aos_timer_start(timer); in os_timer_start()
419 static inline int os_timer_stop(os_timer_t timer) in os_timer_stop() argument
421 return aos_timer_stop(timer); in os_timer_stop()
427 aos_timer_t *timer = snd_zalloc(sizeof(aos_timer_t), AFM_MAIN); in os_timer_new() local
428 if (!timer) in os_timer_new()
430 if (aos_timer_new_ext(timer, func, arg, internal_ms, repeat, auto_run)) { in os_timer_new()
431 snd_free(timer); in os_timer_new()
435 return timer; in os_timer_new()
438 static inline void os_timer_free(os_timer_t timer) in os_timer_free() argument
440 aos_timer_free(timer); in os_timer_free()