/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | u_audio.c | 39 ssize_t hw_ptr; member 83 unsigned int hw_ptr; in u_audio_iso_complete() local 148 hw_ptr = prm->hw_ptr; in u_audio_iso_complete() 153 pending = runtime->dma_bytes - hw_ptr; in u_audio_iso_complete() 157 memcpy(req->buf, runtime->dma_area + hw_ptr, pending); in u_audio_iso_complete() 161 memcpy(req->buf, runtime->dma_area + hw_ptr, in u_audio_iso_complete() 166 memcpy(runtime->dma_area + hw_ptr, req->buf, pending); in u_audio_iso_complete() 170 memcpy(runtime->dma_area + hw_ptr, req->buf, in u_audio_iso_complete() 177 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; in u_audio_iso_complete() 178 hw_ptr = prm->hw_ptr; in u_audio_iso_complete() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
D | snd-go7007.c | 41 int hw_ptr; member 72 gosnd->hw_ptr += frames; in parse_audio_stream_data() 73 if (gosnd->hw_ptr >= runtime->buffer_size) in parse_audio_stream_data() 74 gosnd->hw_ptr -= runtime->buffer_size; in parse_audio_stream_data() 159 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_pcm_trigger() 172 return gosnd->hw_ptr; in go7007_snd_pcm_pointer() 214 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_init()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
D | mtk-afe-platform-driver.c | 91 unsigned int hw_ptr = 0, hw_base = 0; in mtk_afe_pcm_pointer() local 94 ret = regmap_read(regmap, reg_ofs_cur, &hw_ptr); in mtk_afe_pcm_pointer() 95 if (ret || hw_ptr == 0) { in mtk_afe_pcm_pointer() 108 pcm_ptr_bytes = hw_ptr - hw_base; in mtk_afe_pcm_pointer()
|
/kernel/linux/linux-5.10/sound/core/ |
D | pcm_compat.c | 166 u32 hw_ptr; member 213 .hw_ptr = status.hw_ptr, in snd_pcm_status_user_compat64() 381 u32 hw_ptr; member 449 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32() 455 put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || in snd_pcm_ioctl_sync_ptr_x32() 529 sync_ptr.s.status.hw_ptr = status->hw_ptr; in snd_pcm_ioctl_sync_ptr_buggy()
|
D | rawmidi.c | 167 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_runtime_create() 202 runtime->appl_ptr = runtime->hw_ptr = 0; in __reset_runtime_ptrs() 994 runtime->buffer[runtime->hw_ptr++] = buffer[0]; in snd_rawmidi_receive() 995 runtime->hw_ptr %= runtime->buffer_size; in snd_rawmidi_receive() 1003 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive() 1008 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive() 1009 runtime->hw_ptr += count1; in snd_rawmidi_receive() 1010 runtime->hw_ptr %= runtime->buffer_size; in snd_rawmidi_receive() 1023 runtime->hw_ptr = count1; in snd_rawmidi_receive() 1197 *buffer = runtime->buffer[runtime->hw_ptr]; in __snd_rawmidi_transmit_peek() [all …]
|
D | pcm_trace.h | 35 __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr; 70 __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr;
|
D | pcm_native.c | 1037 status->hw_ptr = runtime->status->hw_ptr; in snd_pcm_status64() 1103 .hw_ptr = status64.hw_ptr, in snd_pcm_status_user32() 1882 runtime->hw_ptr_interrupt = runtime->status->hw_ptr - in snd_pcm_do_reset() 1883 runtime->status->hw_ptr % runtime->period_size; in snd_pcm_do_reset() 1884 runtime->silence_start = runtime->status->hw_ptr; in snd_pcm_do_reset() 1895 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_reset() 1948 runtime->control->appl_ptr = runtime->status->hw_ptr; in snd_pcm_post_prepare() 3044 sync_ptr.s.status.hw_ptr = status->hw_ptr; in snd_pcm_sync_ptr() 3057 u32 hw_ptr; member 3140 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat() [all …]
|
D | pcm_lib.c | 78 runtime->silence_start = (runtime->status->hw_ptr + in snd_pcm_playback_silence() 82 ofs = runtime->status->hw_ptr; in snd_pcm_playback_silence() 227 audio_frames = runtime->hw_ptr_wrap + runtime->status->hw_ptr; in update_audio_tstamp() 270 old_hw_ptr = runtime->status->hw_ptr; in snd_pcm_update_hw_ptr0() 435 if (runtime->status->hw_ptr == new_hw_ptr) { in snd_pcm_update_hw_ptr0() 455 runtime->status->hw_ptr = new_hw_ptr; in snd_pcm_update_hw_ptr0() 1691 runtime->status->hw_ptr %= runtime->buffer_size; in snd_pcm_lib_ioctl_reset() 1693 runtime->status->hw_ptr = 0; in snd_pcm_lib_ioctl_reset()
|
/kernel/linux/linux-5.10/sound/pcmcia/vx/ |
D | vxp_ops.c | 355 int offset = pipe->hw_ptr; in vxp_dma_write() 369 pipe->hw_ptr = 0; in vxp_dma_write() 371 pipe->hw_ptr += count; in vxp_dma_write() 395 int offset = pipe->hw_ptr; in vxp_dma_read() 409 pipe->hw_ptr = 0; in vxp_dma_read() 411 pipe->hw_ptr += count; in vxp_dma_read()
|
/kernel/linux/linux-5.10/sound/pci/vx222/ |
D | vx222_ops.c | 249 int offset = pipe->hw_ptr; in vx2_dma_write() 269 pipe->hw_ptr = 0; in vx2_dma_write() 271 pipe->hw_ptr += count; in vx2_dma_write() 287 int offset = pipe->hw_ptr; in vx2_dma_read() 305 pipe->hw_ptr = 0; in vx2_dma_read() 307 pipe->hw_ptr += count; in vx2_dma_read()
|
/kernel/linux/linux-5.10/sound/xen/ |
D | xen_snd_front_alsa.c | 44 atomic_t hw_ptr; member 222 atomic_set(&stream->hw_ptr, 0); in stream_clear() 587 new_hw_ptr = (snd_pcm_uframes_t)atomic_read(&stream->hw_ptr); in xen_snd_front_alsa_handle_cur_pos() 589 atomic_set(&stream->hw_ptr, (int)new_hw_ptr); in xen_snd_front_alsa_handle_cur_pos() 602 return (snd_pcm_uframes_t)atomic_read(&stream->hw_ptr); in alsa_pointer()
|
/kernel/linux/linux-5.10/sound/drivers/vx/ |
D | vx_pcm.c | 48 int offset = pipe->hw_ptr; in vx_pcm_read_per_bytes() 64 pipe->hw_ptr = offset; in vx_pcm_read_per_bytes() 824 pipe->hw_ptr = 0; in vx_pcm_prepare() 1000 if ((pipe->hw_ptr % pipe->align) == 0) in vx_pcm_capture_update() 1052 return bytes_to_frames(runtime, pipe->hw_ptr); in vx_pcm_capture_pointer()
|
/kernel/linux/linux-5.10/include/sound/ |
D | rawmidi.h | 60 size_t hw_ptr; /* hardware pointer */ member
|
D | pcm.h | 746 …snd_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_… in snd_pcm_playback_avail() 762 snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; in snd_pcm_capture_avail() 1457 snd_pcm_uframes_t hw_ptr; /* hw ptr */ member 1482 u32 hw_ptr; /* hw ptr */ member
|
D | vx_core.h | 62 int hw_ptr; /* the current hardware pointer in bytes */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/ |
D | asound.h | 377 snd_pcm_uframes_t hw_ptr; member 411 snd_pcm_uframes_t hw_ptr; member 446 snd_pcm_uframes_t hw_ptr; member
|
/kernel/linux/linux-5.10/include/uapi/sound/ |
D | asound.h | 482 snd_pcm_uframes_t hw_ptr; /* hw ptr */ member 529 snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */ member 570 snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */ member
|
/kernel/linux/linux-5.10/tools/include/uapi/sound/ |
D | asound.h | 482 snd_pcm_uframes_t hw_ptr; /* hw ptr */ member 529 snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */ member 570 snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/ |
D | asound.h | 360 snd_pcm_uframes_t hw_ptr; member 375 snd_pcm_uframes_t hw_ptr; member
|
/kernel/linux/linux-5.10/sound/pci/rme9652/ |
D | rme9652.c | 1965 runtime->status->hw_ptr = rme9652_hw_pointer(rme9652); in snd_rme9652_reset() 1967 runtime->status->hw_ptr = 0; in snd_rme9652_reset() 1973 oruntime->status->hw_ptr = runtime->status->hw_ptr; in snd_rme9652_reset()
|
D | hdsp.c | 3979 runtime->status->hw_ptr = hdsp_hw_pointer(hdsp); in snd_hdsp_reset() 3981 runtime->status->hw_ptr = 0; in snd_hdsp_reset() 3987 oruntime->status->hw_ptr = runtime->status->hw_ptr; in snd_hdsp_reset()
|
D | hdspm.c | 5483 runtime->status->hw_ptr = hdspm_hw_pointer(hdspm); in snd_hdspm_reset() 5485 runtime->status->hw_ptr = 0; in snd_hdspm_reset() 5491 oruntime->status->hw_ptr = in snd_hdspm_reset() 5492 runtime->status->hw_ptr; in snd_hdspm_reset()
|
/kernel/linux/linux-5.10/sound/pci/nm256/ |
D | nm256.c | 841 const struct snd_pcm_hardware *hw_ptr) in snd_nm256_setup_stream() argument 846 runtime->hw = *hw_ptr; in snd_nm256_setup_stream()
|
/kernel/linux/linux-5.10/sound/core/oss/ |
D | pcm_oss.c | 2048 snd_pcm_uframes_t hw_ptr) in snd_pcm_oss_simulate_fill() argument 2052 appl_ptr = hw_ptr + runtime->buffer_size; in snd_pcm_oss_simulate_fill() 2213 info.ptr = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr % runtime->buffer_size); in snd_pcm_oss_get_ptr() 2224 info.bytes = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr) & INT_MAX; in snd_pcm_oss_get_ptr()
|
/kernel/linux/linux-5.10/Documentation/sound/designs/ |
D | timestamping.rst | 90 streams and to the DMA time (hw_ptr) in all other cases.
|