/openbmc/linux/sound/core/ |
H A D | pcm_dmaengine.c | 236 return bytes_to_frames(substream->runtime, prtd->pos); in snd_dmaengine_pcm_pointer_no_residue() 264 runtime->delay = bytes_to_frames(runtime, in snd_dmaengine_pcm_pointer() 268 return bytes_to_frames(runtime, pos); in snd_dmaengine_pcm_pointer()
|
/openbmc/linux/include/sound/ |
H A D | pcm-indirect.h | 100 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer() 177 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_capture_pointer()
|
/openbmc/linux/sound/isa/sb/ |
H A D | emu8000_pcm.c | 498 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_copy() 499 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_copy() 510 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_silence() 511 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_silence()
|
H A D | sb8_main.c | 398 return bytes_to_frames(substream->runtime, ptr); in snd_sb8_playback_pointer() 414 return bytes_to_frames(substream->runtime, ptr); in snd_sb8_capture_pointer()
|
/openbmc/linux/sound/soc/kirkwood/ |
H A D | kirkwood-dma.c | 231 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer() 234 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
|
/openbmc/linux/sound/soc/uniphier/ |
H A D | aio-dma.c | 186 pos = bytes_to_frames(runtime, sub->rd_offs); in uniphier_aiodma_pointer() 188 pos = bytes_to_frames(runtime, sub->wr_offs); in uniphier_aiodma_pointer()
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-pcm.c | 116 pos = bytes_to_frames(substream->runtime, pos); in acp_pcm_pointer()
|
/openbmc/linux/sound/pci/ctxfi/ |
H A D | ctpcm.c | 254 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer() 360 position = bytes_to_frames(runtime, position); in ct_pcm_capture_pointer()
|
/openbmc/linux/sound/soc/mediatek/common/ |
H A D | mtk-afe-platform-driver.c | 111 return bytes_to_frames(substream->runtime, pcm_ptr_bytes); in mtk_afe_pcm_pointer()
|
/openbmc/linux/sound/pci/aw2/ |
H A D | aw2-alsa.c | 469 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback() 488 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
|
/openbmc/linux/sound/soc/meson/ |
H A D | aiu-fifo.c | 43 return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr); in aiu_fifo_pointer()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt5677-spi.c | 183 return bytes_to_frames(runtime, rt5677_dsp->dma_offset); in rt5677_spi_pcm_pointer() 368 delay = bytes_to_frames(runtime, period_bytes) / (runtime->rate / 1000); in rt5677_spi_copy_work()
|
/openbmc/linux/sound/soc/sh/ |
H A D | siu_pcm.c | 387 xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); in siu_pcm_prepare() 480 return bytes_to_frames(ss->runtime, ptr); in siu_pcm_pointer_dma()
|
H A D | dma-sh7760.c | 287 return bytes_to_frames(runtime, pos); in camelot_pos()
|
/openbmc/linux/sound/pci/korg1212/ |
H A D | korg1212.c | 1295 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_to() 1296 count = bytes_to_frames(runtime, count); in snd_korg1212_copy_to() 1328 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_from() 1329 count = bytes_to_frames(runtime, count); in snd_korg1212_copy_from() 1650 return snd_korg1212_silence(korg1212, bytes_to_frames(runtime, pos), in snd_korg1212_playback_silence() 1651 bytes_to_frames(runtime, count), in snd_korg1212_playback_silence()
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 202 pos = bytes_to_frames(substream->runtime, pos); in hda_dsp_pcm_pointer()
|
/openbmc/linux/sound/soc/sof/ |
H A D | pcm.c | 406 host = bytes_to_frames(substream->runtime, in sof_pcm_pointer() 408 dai = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
|
/openbmc/linux/sound/soc/au1x/ |
H A D | dbdma2.c | 273 return bytes_to_frames(substream->runtime, in au1xpsc_pcm_pointer()
|
/openbmc/linux/sound/soc/fsl/ |
H A D | imx-pcm-fiq.c | 153 return bytes_to_frames(substream->runtime, iprtd->offset); in snd_imx_pcm_pointer()
|
/openbmc/linux/drivers/media/usb/go7007/ |
H A D | snd-go7007.c | 68 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_uac1_legacy.c | 172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
|
/openbmc/linux/sound/drivers/pcsp/ |
H A D | pcsp_lib.c | 279 return bytes_to_frames(substream->runtime, pos); in snd_pcsp_playback_pointer()
|
/openbmc/linux/sound/virtio/ |
H A D | virtio_pcm_msg.c | 319 bytes_to_frames(runtime, in virtsnd_pcm_msg_complete()
|
/openbmc/linux/sound/isa/msnd/ |
H A D | msnd.c | 559 return bytes_to_frames(substream->runtime, chip->playDMAPos); in snd_msnd_playback_pointer() 637 return bytes_to_frames(runtime, chip->captureDMAPos); in snd_msnd_capture_pointer()
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | p16v.c | 492 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback() 514 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
|