Lines Matching refs:capture
132 } capture, playback; member
360 struct ua101_stream *stream = &ua->capture; in capture_urb_complete()
506 kill_stream_urbs(&ua->capture); in stop_usb_capture()
521 kill_stream_urbs(&ua->capture); in start_usb_capture()
528 ua->capture.urbs[0]->urb.complete = first_capture_urb_complete; in start_usb_capture()
533 err = submit_stream_urbs(ua, &ua->capture); in start_usb_capture()
617 snd_pcm_stop_xrun(ua->capture.substream); in abort_alsa_capture()
664 ua->capture.substream = substream; in capture_pcm_open()
665 err = set_stream_hw(ua, substream, ua->capture.channels); in capture_pcm_open()
798 ua->capture.period_pos = 0; in capture_pcm_prepare()
799 ua->capture.buffer_pos = 0; in capture_pcm_prepare()
883 return ua101_pcm_pointer(ua, &ua->capture); in capture_pcm_pointer()
1027 ua->capture.channels = fmt_capture->bNrChannels; in detect_usb_format()
1029 ua->capture.frame_bytes = in detect_usb_format()
1030 fmt_capture->bSubframeSize * ua->capture.channels; in detect_usb_format()
1039 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd)); in detect_usb_format()
1040 ua->capture.max_packet_bytes = le16_to_cpu(epd->wMaxPacketSize); in detect_usb_format()
1163 free_stream_urbs(&ua->capture); in free_usb_related_resources()
1166 free_stream_buffers(ua, &ua->capture); in free_usb_related_resources()
1290 err = alloc_stream_buffers(ua, &ua->capture); in ua101_probe()
1297 err = alloc_stream_urbs(ua, &ua->capture, capture_urb_complete); in ua101_probe()