hw_ptr 42 drivers/media/usb/go7007/snd-go7007.c int hw_ptr; hw_ptr 73 drivers/media/usb/go7007/snd-go7007.c gosnd->hw_ptr += frames; hw_ptr 74 drivers/media/usb/go7007/snd-go7007.c if (gosnd->hw_ptr >= runtime->buffer_size) hw_ptr 75 drivers/media/usb/go7007/snd-go7007.c gosnd->hw_ptr -= runtime->buffer_size; hw_ptr 172 drivers/media/usb/go7007/snd-go7007.c gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; hw_ptr 185 drivers/media/usb/go7007/snd-go7007.c return gosnd->hw_ptr; hw_ptr 235 drivers/media/usb/go7007/snd-go7007.c gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; hw_ptr 39 drivers/usb/gadget/function/u_audio.c ssize_t hw_ptr; hw_ptr 83 drivers/usb/gadget/function/u_audio.c unsigned int hw_ptr; hw_ptr 143 drivers/usb/gadget/function/u_audio.c hw_ptr = prm->hw_ptr; hw_ptr 148 drivers/usb/gadget/function/u_audio.c pending = runtime->dma_bytes - hw_ptr; hw_ptr 152 drivers/usb/gadget/function/u_audio.c memcpy(req->buf, runtime->dma_area + hw_ptr, pending); hw_ptr 156 drivers/usb/gadget/function/u_audio.c memcpy(req->buf, runtime->dma_area + hw_ptr, hw_ptr 161 drivers/usb/gadget/function/u_audio.c memcpy(runtime->dma_area + hw_ptr, req->buf, pending); hw_ptr 165 drivers/usb/gadget/function/u_audio.c memcpy(runtime->dma_area + hw_ptr, req->buf, hw_ptr 172 drivers/usb/gadget/function/u_audio.c prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; hw_ptr 173 drivers/usb/gadget/function/u_audio.c hw_ptr = prm->hw_ptr; hw_ptr 177 drivers/usb/gadget/function/u_audio.c if ((hw_ptr % snd_pcm_lib_period_bytes(substream)) < req->actual) hw_ptr 205 drivers/usb/gadget/function/u_audio.c prm->hw_ptr = 0; hw_ptr 239 drivers/usb/gadget/function/u_audio.c return bytes_to_frames(substream->runtime, prm->hw_ptr); hw_ptr 734 include/sound/pcm.h snd_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_ptr; hw_ptr 750 include/sound/pcm.h snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; hw_ptr 60 include/sound/rawmidi.h size_t hw_ptr; /* hardware pointer */ hw_ptr 62 include/sound/vx_core.h int hw_ptr; /* the current hardware pointer in bytes */ hw_ptr 464 include/uapi/sound/asound.h snd_pcm_uframes_t hw_ptr; /* hw ptr */ hw_ptr 480 include/uapi/sound/asound.h snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */ hw_ptr 2019 sound/core/oss/pcm_oss.c snd_pcm_uframes_t hw_ptr) hw_ptr 2023 sound/core/oss/pcm_oss.c appl_ptr = hw_ptr + runtime->buffer_size; hw_ptr 2184 sound/core/oss/pcm_oss.c info.ptr = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr % runtime->buffer_size); hw_ptr 2195 sound/core/oss/pcm_oss.c info.bytes = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr) & INT_MAX; hw_ptr 471 sound/core/pcm.c snd_iprintf(buffer, "hw_ptr : %ld\n", runtime->status->hw_ptr); hw_ptr 176 sound/core/pcm_compat.c u32 hw_ptr; hw_ptr 216 sound/core/pcm_compat.c put_user(status.hw_ptr, &src->hw_ptr) || hw_ptr 239 sound/core/pcm_compat.c u32 hw_ptr; hw_ptr 280 sound/core/pcm_compat.c put_user(status.hw_ptr, &src->hw_ptr) || hw_ptr 443 sound/core/pcm_compat.c u32 hw_ptr; hw_ptr 506 sound/core/pcm_compat.c sstatus.hw_ptr = status->hw_ptr % boundary; hw_ptr 512 sound/core/pcm_compat.c put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || hw_ptr 529 sound/core/pcm_compat.c u32 hw_ptr; hw_ptr 595 sound/core/pcm_compat.c sstatus.hw_ptr = status->hw_ptr % boundary; hw_ptr 601 sound/core/pcm_compat.c put_user(sstatus.hw_ptr, &src->s.status.hw_ptr) || hw_ptr 78 sound/core/pcm_lib.c runtime->silence_start = (runtime->status->hw_ptr + hw_ptr 82 sound/core/pcm_lib.c ofs = runtime->status->hw_ptr; hw_ptr 222 sound/core/pcm_lib.c audio_frames = runtime->hw_ptr_wrap + runtime->status->hw_ptr; hw_ptr 260 sound/core/pcm_lib.c old_hw_ptr = runtime->status->hw_ptr; hw_ptr 425 sound/core/pcm_lib.c if (runtime->status->hw_ptr == new_hw_ptr) { hw_ptr 445 sound/core/pcm_lib.c runtime->status->hw_ptr = new_hw_ptr; hw_ptr 1681 sound/core/pcm_lib.c runtime->status->hw_ptr %= runtime->buffer_size; hw_ptr 1683 sound/core/pcm_lib.c runtime->status->hw_ptr = 0; hw_ptr 920 sound/core/pcm_native.c status->hw_ptr = runtime->status->hw_ptr; hw_ptr 1655 sound/core/pcm_native.c runtime->hw_ptr_interrupt = runtime->status->hw_ptr - hw_ptr 1656 sound/core/pcm_native.c runtime->status->hw_ptr % runtime->period_size; hw_ptr 1657 sound/core/pcm_native.c runtime->silence_start = runtime->status->hw_ptr; hw_ptr 1665 sound/core/pcm_native.c runtime->control->appl_ptr = runtime->status->hw_ptr; hw_ptr 1711 sound/core/pcm_native.c runtime->control->appl_ptr = runtime->status->hw_ptr; hw_ptr 2798 sound/core/pcm_native.c sync_ptr.s.status.hw_ptr = status->hw_ptr; hw_ptr 35 sound/core/pcm_trace.h __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr; hw_ptr 70 sound/core/pcm_trace.h __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr; hw_ptr 134 sound/core/rawmidi.c runtime->appl_ptr = runtime->hw_ptr = 0; hw_ptr 169 sound/core/rawmidi.c runtime->appl_ptr = runtime->hw_ptr = 0; hw_ptr 910 sound/core/rawmidi.c runtime->buffer[runtime->hw_ptr++] = buffer[0]; hw_ptr 911 sound/core/rawmidi.c runtime->hw_ptr %= runtime->buffer_size; hw_ptr 919 sound/core/rawmidi.c count1 = runtime->buffer_size - runtime->hw_ptr; hw_ptr 924 sound/core/rawmidi.c memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); hw_ptr 925 sound/core/rawmidi.c runtime->hw_ptr += count1; hw_ptr 926 sound/core/rawmidi.c runtime->hw_ptr %= runtime->buffer_size; hw_ptr 939 sound/core/rawmidi.c runtime->hw_ptr = count1; hw_ptr 1111 sound/core/rawmidi.c *buffer = runtime->buffer[runtime->hw_ptr]; hw_ptr 1114 sound/core/rawmidi.c count1 = runtime->buffer_size - runtime->hw_ptr; hw_ptr 1119 sound/core/rawmidi.c memcpy(buffer, runtime->buffer + runtime->hw_ptr, count1); hw_ptr 1179 sound/core/rawmidi.c runtime->hw_ptr += count; hw_ptr 1180 sound/core/rawmidi.c runtime->hw_ptr %= runtime->buffer_size; hw_ptr 48 sound/drivers/vx/vx_pcm.c int offset = pipe->hw_ptr; hw_ptr 65 sound/drivers/vx/vx_pcm.c pipe->hw_ptr = offset; hw_ptr 844 sound/drivers/vx/vx_pcm.c pipe->hw_ptr = 0; hw_ptr 1024 sound/drivers/vx/vx_pcm.c if ((pipe->hw_ptr % pipe->align) == 0) hw_ptr 1076 sound/drivers/vx/vx_pcm.c return bytes_to_frames(runtime, pipe->hw_ptr); hw_ptr 827 sound/pci/asihpi/asihpi.c runtime->status->hw_ptr), hw_ptr 740 sound/pci/emu10k1/emupcm.c period_pos = runtime->status->hw_ptr - runtime->hw_ptr_interrupt; hw_ptr 839 sound/pci/nm256/nm256.c struct snd_pcm_hardware *hw_ptr) hw_ptr 844 sound/pci/nm256/nm256.c runtime->hw = *hw_ptr; hw_ptr 3984 sound/pci/rme9652/hdsp.c runtime->status->hw_ptr = hdsp_hw_pointer(hdsp); hw_ptr 3986 sound/pci/rme9652/hdsp.c runtime->status->hw_ptr = 0; hw_ptr 3992 sound/pci/rme9652/hdsp.c oruntime->status->hw_ptr = runtime->status->hw_ptr; hw_ptr 5479 sound/pci/rme9652/hdspm.c runtime->status->hw_ptr = hdspm_hw_pointer(hdspm); hw_ptr 5481 sound/pci/rme9652/hdspm.c runtime->status->hw_ptr = 0; hw_ptr 5487 sound/pci/rme9652/hdspm.c oruntime->status->hw_ptr = hw_ptr 5488 sound/pci/rme9652/hdspm.c runtime->status->hw_ptr; hw_ptr 1969 sound/pci/rme9652/rme9652.c runtime->status->hw_ptr = rme9652_hw_pointer(rme9652); hw_ptr 1971 sound/pci/rme9652/rme9652.c runtime->status->hw_ptr = 0; hw_ptr 1977 sound/pci/rme9652/rme9652.c oruntime->status->hw_ptr = runtime->status->hw_ptr; hw_ptr 249 sound/pci/vx222/vx222_ops.c int offset = pipe->hw_ptr; hw_ptr 269 sound/pci/vx222/vx222_ops.c pipe->hw_ptr = 0; hw_ptr 271 sound/pci/vx222/vx222_ops.c pipe->hw_ptr += count; hw_ptr 287 sound/pci/vx222/vx222_ops.c int offset = pipe->hw_ptr; hw_ptr 305 sound/pci/vx222/vx222_ops.c pipe->hw_ptr = 0; hw_ptr 307 sound/pci/vx222/vx222_ops.c pipe->hw_ptr += count; hw_ptr 355 sound/pcmcia/vx/vxp_ops.c int offset = pipe->hw_ptr; hw_ptr 369 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr = 0; hw_ptr 371 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr += count; hw_ptr 395 sound/pcmcia/vx/vxp_ops.c int offset = pipe->hw_ptr; hw_ptr 409 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr = 0; hw_ptr 411 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr += count; hw_ptr 43 sound/soc/intel/baytrail/sst-baytrail-pcm.c u32 hw_ptr; hw_ptr 150 sound/soc/intel/baytrail/sst-baytrail-pcm.c sst_byt_stream_start(byt, pcm_data->stream, pcm_data->hw_ptr); hw_ptr 153 sound/soc/intel/baytrail/sst-baytrail-pcm.c pcm_data->hw_ptr); hw_ptr 179 sound/soc/intel/baytrail/sst-baytrail-pcm.c pcm_data->hw_ptr = 0; hw_ptr 220 sound/soc/intel/baytrail/sst-baytrail-pcm.c pcm_data->hw_ptr = hw_pos; hw_ptr 239 sound/soc/intel/baytrail/sst-baytrail-pcm.c dev_dbg(rtd->dev, "PCM: DMA pointer %u bytes\n", pcm_data->hw_ptr); hw_ptr 241 sound/soc/intel/baytrail/sst-baytrail-pcm.c return bytes_to_frames(runtime, pcm_data->hw_ptr); hw_ptr 92 sound/soc/mediatek/common/mtk-afe-platform-driver.c unsigned int hw_ptr = 0, hw_base = 0; hw_ptr 95 sound/soc/mediatek/common/mtk-afe-platform-driver.c ret = regmap_read(regmap, reg_ofs_cur, &hw_ptr); hw_ptr 96 sound/soc/mediatek/common/mtk-afe-platform-driver.c if (ret || hw_ptr == 0) { hw_ptr 109 sound/soc/mediatek/common/mtk-afe-platform-driver.c pcm_ptr_bytes = hw_ptr - hw_base; hw_ptr 44 sound/xen/xen_snd_front_alsa.c atomic_t hw_ptr; hw_ptr 222 sound/xen/xen_snd_front_alsa.c atomic_set(&stream->hw_ptr, 0); hw_ptr 587 sound/xen/xen_snd_front_alsa.c new_hw_ptr = (snd_pcm_uframes_t)atomic_read(&stream->hw_ptr); hw_ptr 589 sound/xen/xen_snd_front_alsa.c atomic_set(&stream->hw_ptr, (int)new_hw_ptr); hw_ptr 602 sound/xen/xen_snd_front_alsa.c return (snd_pcm_uframes_t)atomic_read(&stream->hw_ptr); hw_ptr 464 tools/include/uapi/sound/asound.h snd_pcm_uframes_t hw_ptr; /* hw ptr */ hw_ptr 480 tools/include/uapi/sound/asound.h snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */