Lines Matching refs:playback
121 } capture, playback; member
191 ua->playback.substream->runtime->delay -= in playback_urb_complete()
193 ua->playback.frame_bytes; in playback_urb_complete()
245 if (*value >= ua->playback.queue_length) in add_with_wraparound()
246 *value -= ua->playback.queue_length; in add_with_wraparound()
287 frames * ua->playback.frame_bytes; in playback_work()
289 do_period_elapsed |= copy_playback_data(&ua->playback, in playback_work()
306 ua->playback.substream->runtime->delay += frames; in playback_work()
310 snd_pcm_period_elapsed(ua->playback.substream); in playback_work()
387 if (ua->rate_feedback_count < ua->playback.queue_length) { in capture_urb_complete()
390 ua->playback.queue_length) in capture_urb_complete()
532 kill_stream_urbs(&ua->playback); in stop_usb_playback()
551 kill_stream_urbs(&ua->playback); in start_usb_playback()
559 ua->playback.urbs[0]->urb.complete = in start_usb_playback()
570 ua->rate_feedback_count >= ua->playback.queue_length || in start_usb_playback()
582 for (i = 0; i < ua->playback.queue_length; ++i) { in start_usb_playback()
589 urb = &ua->playback.urbs[i]->urb; in start_usb_playback()
591 frames * ua->playback.frame_bytes; in start_usb_playback()
597 err = submit_stream_urbs(ua, &ua->playback); in start_usb_playback()
612 snd_pcm_stop_xrun(ua->playback.substream); in abort_alsa_playback()
674 ua->playback.substream = substream; in playback_pcm_open()
675 err = set_stream_hw(ua, substream, ua->playback.channels); in playback_pcm_open()
679 DIV_ROUND_CLOSEST(ua->rate * ua->playback.queue_length, in playback_pcm_open()
802 ua->playback.period_pos = 0; in playback_pcm_prepare()
803 ua->playback.buffer_pos = 0; in playback_pcm_prepare()
866 return ua101_pcm_pointer(ua, &ua->playback); in playback_pcm_pointer()
996 ua->playback.channels = fmt_playback->bNrChannels; in detect_usb_format()
999 ua->playback.frame_bytes = in detect_usb_format()
1000 fmt_playback->bSubframeSize * ua->playback.channels; in detect_usb_format()
1015 ua->playback.usb_pipe = usb_sndisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1016 ua->playback.max_packet_bytes = usb_endpoint_maxp(epd); in detect_usb_format()
1132 free_stream_urbs(&ua->playback); in free_usb_related_resources()
1135 free_stream_buffers(ua, &ua->playback); in free_usb_related_resources()
1260 err = alloc_stream_buffers(ua, &ua->playback); in ua101_probe()
1267 err = alloc_stream_urbs(ua, &ua->playback, playback_urb_complete); in ua101_probe()