Searched refs:hwptr_done (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 63 int i, len, lens = 0, hwptr_done = subs->hwptr_done; in usx2y_urb_capt_retire() local 83 if ((hwptr_done + len) > runtime->buffer_size) { in usx2y_urb_capt_retire() 84 cnt = runtime->buffer_size - hwptr_done; in usx2y_urb_capt_retire() 86 memcpy(runtime->dma_area + hwptr_done * usx2y->stride, cp, blen); in usx2y_urb_capt_retire() 89 memcpy(runtime->dma_area + hwptr_done * usx2y->stride, cp, in usx2y_urb_capt_retire() 93 hwptr_done += len; in usx2y_urb_capt_retire() 94 if (hwptr_done >= runtime->buffer_size) in usx2y_urb_capt_retire() 95 hwptr_done -= runtime->buffer_size; in usx2y_urb_capt_retire() 98 subs->hwptr_done = hwptr_done; in usx2y_urb_capt_retire() 181 subs->hwptr_done += len; in usx2y_urb_play_retire() [all …]
|
D | usx2yhwdeppcm.c | 53 int i, lens = 0, hwptr_done = subs->hwptr_done; in usx2y_usbpcm_urb_capt_retire() local 73 hwptr_done += lens; in usx2y_usbpcm_urb_capt_retire() 74 if (hwptr_done >= runtime->buffer_size) in usx2y_usbpcm_urb_capt_retire() 75 hwptr_done -= runtime->buffer_size; in usx2y_usbpcm_urb_capt_retire() 76 subs->hwptr_done = hwptr_done; in usx2y_usbpcm_urb_capt_retire()
|
D | usbusx2y.h | 70 int hwptr_done; /* processed frame position in the buffer */ member
|
/linux-6.12.1/sound/usb/ |
D | pcm.c | 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() [all …]
|
D | card.h | 172 unsigned int hwptr_done; /* processed byte position in the buffer */ member
|
/linux-6.12.1/drivers/media/pci/cx18/ |
D | cx18-alsa-pcm.c | 222 snd_pcm_uframes_t hwptr_done; in snd_cx18_pcm_pointer() local 226 hwptr_done = cxsc->hwptr_done_capture; in snd_cx18_pcm_pointer() 229 return hwptr_done; in snd_cx18_pcm_pointer()
|
/linux-6.12.1/drivers/media/pci/ivtv/ |
D | ivtv-alsa-pcm.c | 226 snd_pcm_uframes_t hwptr_done; in snd_ivtv_pcm_pointer() local 230 hwptr_done = itvsc->hwptr_done_capture; in snd_ivtv_pcm_pointer() 233 return hwptr_done; in snd_ivtv_pcm_pointer()
|
/linux-6.12.1/drivers/media/pci/cobalt/ |
D | cobalt-alsa-pcm.c | 265 snd_pcm_uframes_t hwptr_done; in snd_cobalt_pcm_pointer() local 268 hwptr_done = cobsc->hwptr_done_capture; in snd_cobalt_pcm_pointer() 270 return hwptr_done; in snd_cobalt_pcm_pointer()
|
/linux-6.12.1/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 540 snd_pcm_uframes_t hwptr_done; in snd_cx231xx_capture_pointer() local 545 hwptr_done = dev->adev.hwptr_done_capture; in snd_cx231xx_capture_pointer() 548 return hwptr_done; in snd_cx231xx_capture_pointer()
|
/linux-6.12.1/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 377 snd_pcm_uframes_t hwptr_done; in snd_em28xx_capture_pointer() local 384 hwptr_done = dev->adev.hwptr_done_capture; in snd_em28xx_capture_pointer() 387 return hwptr_done; in snd_em28xx_capture_pointer()
|
/linux-6.12.1/sound/pci/ |
D | via82xx.c | 323 int hwptr_done; /* processed frame position in the buffer */ member 608 viadev->hwptr_done = 0; in snd_via82xx_channel_reset() 644 viadev->hwptr_done = 0; in snd_via686_interrupt() 646 viadev->hwptr_done += viadev->fragsize; in snd_via686_interrupt() 693 viadev->hwptr_done = 0; in snd_via8233_interrupt() 695 viadev->hwptr_done += viadev->fragsize; in snd_via8233_interrupt() 895 res = viadev->hwptr_done; in snd_via8233_pcm_pointer()
|