Lines Matching refs:snd_timer

115 	} snd_timer;  member
237 err = snd_timer_start(cable->snd_timer.instance, 1); in loopback_snd_timer_start()
248 cable->snd_timer.id.card, in loopback_snd_timer_start()
249 cable->snd_timer.id.device, in loopback_snd_timer_start()
250 cable->snd_timer.id.subdevice, in loopback_snd_timer_start()
276 err = snd_timer_stop(cable->snd_timer.instance); in loopback_snd_timer_stop()
280 cable->snd_timer.id.card, in loopback_snd_timer_stop()
281 cable->snd_timer.id.device, in loopback_snd_timer_stop()
282 cable->snd_timer.id.subdevice, in loopback_snd_timer_stop()
302 if (!cable->snd_timer.instance) in loopback_snd_timer_close_cable()
310 snd_timer_close(cable->snd_timer.instance); in loopback_snd_timer_close_cable()
313 cancel_work_sync(&cable->snd_timer.event_work); in loopback_snd_timer_close_cable()
315 snd_timer_instance_free(cable->snd_timer.instance); in loopback_snd_timer_close_cable()
316 memset(&cable->snd_timer, 0, sizeof(cable->snd_timer)); in loopback_snd_timer_close_cable()
447 if (cable->snd_timer.instance) { in params_change()
701 cable->snd_timer.id.card, in loopback_snd_timer_check_resolution()
702 cable->snd_timer.id.device, in loopback_snd_timer_check_resolution()
703 cable->snd_timer.id.subdevice, in loopback_snd_timer_check_resolution()
801 cable = container_of(work, struct loopback_cable, snd_timer.event_work); in loopback_snd_timer_work()
833 schedule_work(&cable->snd_timer.event_work); in loopback_snd_timer_event()
855 cable->snd_timer.id.card, in loopback_snd_timer_dpcm_info()
856 cable->snd_timer.id.device, in loopback_snd_timer_dpcm_info()
857 cable->snd_timer.id.subdevice); in loopback_snd_timer_dpcm_info()
859 (cable->snd_timer.stream == SNDRV_PCM_STREAM_CAPTURE) ? in loopback_snd_timer_dpcm_info()
1108 if (cable->snd_timer.instance) in loopback_snd_timer_open()
1119 cable->snd_timer.stream = dpcm->substream->stream; in loopback_snd_timer_open()
1120 cable->snd_timer.id = tid; in loopback_snd_timer_open()
1141 INIT_WORK(&cable->snd_timer.event_work, loopback_snd_timer_work); in loopback_snd_timer_open()
1154 err = snd_timer_open(timeri, &cable->snd_timer.id, current->pid); in loopback_snd_timer_open()
1158 cable->snd_timer.id.card, in loopback_snd_timer_open()
1159 cable->snd_timer.id.device, in loopback_snd_timer_open()
1160 cable->snd_timer.id.subdevice, in loopback_snd_timer_open()
1166 cable->snd_timer.instance = timeri; in loopback_snd_timer_open()
1253 if (cable->snd_timer.instance) { in loopback_open()