Lines Matching refs:hwptr_done
76 unsigned int hwptr_done; in snd_usb_pcm_pointer() local
81 hwptr_done = subs->hwptr_done; in snd_usb_pcm_pointer()
84 return bytes_to_frames(runtime, hwptr_done); in snd_usb_pcm_pointer()
674 subs->hwptr_done = 0; in snd_usb_pcm_prepare()
1307 oldptr = subs->hwptr_done; in retire_capture_urb()
1308 subs->hwptr_done += bytes; in retire_capture_urb()
1309 if (subs->hwptr_done >= subs->buffer_bytes) in retire_capture_urb()
1310 subs->hwptr_done -= subs->buffer_bytes; in retire_capture_urb()
1344 subs->hwptr_done += bytes; in urb_ctx_queue_advance()
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()
1354 unsigned int src_idx = subs->hwptr_done; in fill_playback_urb_dsd_dop()
1412 int i, ofs = subs->hwptr_done; 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()
1433 runtime->dma_area + subs->hwptr_done, bytes1); in copy_to_urb()
1438 runtime->dma_area + subs->hwptr_done, bytes); in copy_to_urb()
1496 unsigned int hwptr = subs->hwptr_done / stride; in prepare_playback_urb()