• Home
  • Raw
  • Download

Lines Matching refs:timer

31 static int snd_timer_query_open_conf(snd_timer_query_t **timer,  in snd_timer_query_open_conf()  argument
127 err = open_func(timer, name, timer_root, timer_conf, mode); in snd_timer_query_open_conf()
131 (*timer)->dl_handle = h; in snd_timer_query_open_conf()
136 static int snd_timer_query_open_noupdate(snd_timer_query_t **timer, snd_config_t *root, const char … in snd_timer_query_open_noupdate() argument
145 err = snd_timer_query_open_conf(timer, name, root, timer_conf, mode); in snd_timer_query_open_noupdate()
160 int snd_timer_query_open(snd_timer_query_t **timer, const char *name, int mode) in snd_timer_query_open() argument
165 assert(timer && name); in snd_timer_query_open()
169 err = snd_timer_query_open_noupdate(timer, top, name, mode); in snd_timer_query_open()
185 int snd_timer_query_open_lconf(snd_timer_query_t **timer, const char *name, in snd_timer_query_open_lconf() argument
188 assert(timer && name && lconf); in snd_timer_query_open_lconf()
189 return snd_timer_query_open_noupdate(timer, lconf, name, mode); in snd_timer_query_open_lconf()
200 int snd_timer_query_close(snd_timer_query_t *timer) in snd_timer_query_close() argument
203 assert(timer); in snd_timer_query_close()
204 err = timer->ops->close(timer); in snd_timer_query_close()
205 if (timer->dl_handle) in snd_timer_query_close()
206 snd_dlclose(timer->dl_handle); in snd_timer_query_close()
207 free(timer->name); in snd_timer_query_close()
208 free(timer); in snd_timer_query_close()
221 int snd_timer_query_next_device(snd_timer_query_t *timer, snd_timer_id_t *tid) in snd_timer_query_next_device() argument
223 assert(timer); in snd_timer_query_next_device()
225 return timer->ops->next_device(timer, tid); in snd_timer_query_next_device()
387 EXPORT_SYMBOL int INTERNAL(snd_timer_query_info)(snd_timer_query_t *timer, snd_timer_ginfo_t *info) in INTERNAL()
389 int snd_timer_query_info(snd_timer_query_t *timer, snd_timer_ginfo_t *info) in INTERNAL()
392 assert(timer); in INTERNAL()
394 return timer->ops->info(timer, info); in INTERNAL()
405 EXPORT_SYMBOL int INTERNAL(snd_timer_query_params)(snd_timer_query_t *timer, snd_timer_gparams_t *p… in INTERNAL()
407 int snd_timer_query_params(snd_timer_query_t *timer, snd_timer_gparams_t *params) in INTERNAL()
410 assert(timer); in INTERNAL()
412 return timer->ops->params(timer, params); in INTERNAL()
423 EXPORT_SYMBOL int INTERNAL(snd_timer_query_status)(snd_timer_query_t *timer, snd_timer_gstatus_t *s… in INTERNAL()
425 int snd_timer_query_status(snd_timer_query_t *timer, snd_timer_gstatus_t *status) in INTERNAL()
428 assert(timer); in INTERNAL()
430 return timer->ops->status(timer, status); in INTERNAL()