Lines Matching refs:buffer_bytes
672 subs->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in snd_usb_pcm_prepare()
1309 if (subs->hwptr_done >= subs->buffer_bytes) in retire_capture_urb()
1310 subs->hwptr_done -= subs->buffer_bytes; in retire_capture_urb()
1323 if (oldptr + bytes > subs->buffer_bytes) { in retire_capture_urb()
1324 unsigned int bytes1 = subs->buffer_bytes - oldptr; in retire_capture_urb()
1345 if (subs->hwptr_done >= subs->buffer_bytes) in urb_ctx_queue_advance()
1346 subs->hwptr_done -= subs->buffer_bytes; in urb_ctx_queue_advance()
1355 unsigned int wrap = subs->buffer_bytes; in fill_playback_urb_dsd_dop()
1416 if (++ofs >= subs->buffer_bytes) in fill_playback_urb_dsd_bitrev()
1428 if (subs->hwptr_done + bytes > subs->buffer_bytes) { in copy_to_urb()
1430 unsigned int bytes1 = subs->buffer_bytes - subs->hwptr_done; in copy_to_urb()