Lines Matching refs:buffer_bytes
634 subs->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in snd_usb_pcm_prepare()
1203 if (subs->hwptr_done >= subs->buffer_bytes) in retire_capture_urb()
1204 subs->hwptr_done -= subs->buffer_bytes; in retire_capture_urb()
1217 if (oldptr + bytes > subs->buffer_bytes) { in retire_capture_urb()
1218 unsigned int bytes1 = subs->buffer_bytes - oldptr; in retire_capture_urb()
1239 if (subs->hwptr_done >= subs->buffer_bytes) in urb_ctx_queue_advance()
1240 subs->hwptr_done -= subs->buffer_bytes; in urb_ctx_queue_advance()
1249 unsigned int wrap = subs->buffer_bytes; in fill_playback_urb_dsd_dop()
1310 if (++ofs >= subs->buffer_bytes) in fill_playback_urb_dsd_bitrev()
1322 if (subs->hwptr_done + bytes > subs->buffer_bytes) { in copy_to_urb()
1324 unsigned int bytes1 = subs->buffer_bytes - subs->hwptr_done; in copy_to_urb()