Symbol: bytes_to_frames
drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c
528
return bytes_to_frames(runtime, dw->buf_offset);
drivers/media/pci/cobalt/cobalt-alsa-pcm.c
440
return bytes_to_frames(substream->runtime, ptr) %
drivers/media/pci/saa7134/saa7134-alsa.c
604
return bytes_to_frames(runtime, dev->dmasound.read_offset);
drivers/media/pci/tw686x/tw686x-audio.c
255
return bytes_to_frames(ss->runtime, ac->ptr);
drivers/media/usb/go7007/snd-go7007.c
68
int frames = bytes_to_frames(runtime, length);
drivers/usb/gadget/function/u_audio.c
363
return bytes_to_frames(substream->runtime, prm->hw_ptr);
drivers/usb/gadget/function/u_uac1_legacy.c
172
frames = bytes_to_frames(runtime, count);
include/sound/pcm-indirect.h
100
return bytes_to_frames(substream->runtime, rec->sw_io);
include/sound/pcm-indirect.h
177
return bytes_to_frames(substream->runtime, rec->sw_io);
sound/arm/aaci.c
541
return bytes_to_frames(runtime, bytes);
sound/atmel/ac97c.c
418
frames = bytes_to_frames(runtime, bytes);
sound/atmel/ac97c.c
435
frames = bytes_to_frames(runtime, bytes);
sound/core/oss/pcm_oss.c
1384
frames = bytes_to_frames(runtime, bytes);
sound/core/oss/pcm_oss.c
1494
frames = bytes_to_frames(runtime, bytes);
sound/core/oss/pcm_oss.c
601
return bytes_to_frames(runtime, bytes);
sound/core/oss/pcm_oss.c
602
return bytes_to_frames(runtime, (buffer_size * bytes) / runtime->oss.buffer_bytes);
sound/core/pcm_dmaengine.c
238
return bytes_to_frames(substream->runtime, prtd->pos);
sound/core/pcm_dmaengine.c
266
runtime->delay = bytes_to_frames(runtime,
sound/core/pcm_dmaengine.c
270
return bytes_to_frames(runtime, pos);
sound/core/pcm_native.c
3554
count = bytes_to_frames(runtime, count);
sound/core/pcm_native.c
3579
count = bytes_to_frames(runtime, count);
sound/drivers/aloop.c
550
bytes_to_frames(runtime, size) *
sound/drivers/aloop.c
927
return bytes_to_frames(runtime, pos);
sound/drivers/pcmtest.c
449
return bytes_to_frames(substream->runtime, v_iter->buf_pos);
sound/drivers/pcsp/pcsp_lib.c
279
return bytes_to_frames(substream->runtime, pos);
sound/drivers/vx/vx_pcm.c
1064
return bytes_to_frames(runtime, pipe->hw_ptr);
sound/hda/common/controller.c
324
return bytes_to_frames(substream->runtime,
sound/hda/controllers/intel.c
607
return bytes_to_frames(substream->runtime, delay);
sound/hda/controllers/intel.c
703
pos = bytes_to_frames(runtime, pos);
sound/hda/controllers/intel.c
872
runtime->delay = bytes_to_frames(runtime, pos);
sound/isa/ad1816a/ad1816a_lib.c
267
return bytes_to_frames(substream->runtime, ptr);
sound/isa/ad1816a/ad1816a_lib.c
277
return bytes_to_frames(substream->runtime, ptr);
sound/isa/es1688/es1688_lib.c
469
return bytes_to_frames(substream->runtime, ptr);
sound/isa/es1688/es1688_lib.c
480
return bytes_to_frames(substream->runtime, ptr);
sound/isa/gus/gus_pcm.c
506
pos = bytes_to_frames(runtime, pos);
sound/isa/gus/gus_pcm.c
577
pos = bytes_to_frames(substream->runtime, (gus->c_pos + pos) % gus->c_dma_size);
sound/isa/msnd/msnd.c
536
return bytes_to_frames(substream->runtime, chip->playDMAPos);
sound/isa/msnd/msnd.c
614
return bytes_to_frames(runtime, chip->captureDMAPos);
sound/isa/sb/emu8000_pcm.c
496
pos = bytes_to_frames(subs->runtime, pos);
sound/isa/sb/emu8000_pcm.c
497
count = bytes_to_frames(subs->runtime, count);
sound/isa/sb/emu8000_pcm.c
508
pos = bytes_to_frames(subs->runtime, pos);
sound/isa/sb/emu8000_pcm.c
509
count = bytes_to_frames(subs->runtime, count);
sound/isa/sb/sb16_main.c
422
return bytes_to_frames(substream->runtime, ptr);
sound/isa/sb/sb16_main.c
433
return bytes_to_frames(substream->runtime, ptr);
sound/isa/sb/sb8_main.c
391
return bytes_to_frames(substream->runtime, ptr);
sound/isa/sb/sb8_main.c
407
return bytes_to_frames(substream->runtime, ptr);
sound/isa/wss/wss_lib.c
1100
return bytes_to_frames(substream->runtime, ptr);
sound/isa/wss/wss_lib.c
1111
return bytes_to_frames(substream->runtime, ptr);
sound/mips/sgio2audio.c
634
return bytes_to_frames(substream->runtime,
sound/mips/snd-n64.c
255
return bytes_to_frames(substream->runtime,
sound/parisc/harmony.c
467
return bytes_to_frames(rt, played);
sound/parisc/harmony.c
496
return bytes_to_frames(rt, caught);
sound/pci/ad1889.c
521
return bytes_to_frames(ss->runtime, ptr);
sound/pci/ad1889.c
540
return bytes_to_frames(ss->runtime, ptr);
sound/pci/als300.c
516
return bytes_to_frames(substream->runtime, current_ptr);
sound/pci/als4000.c
485
return bytes_to_frames( substream->runtime, result );
sound/pci/als4000.c
497
return bytes_to_frames( substream->runtime, result );
sound/pci/asihpi/asihpi.c
1091
return bytes_to_frames(runtime, dpcm->pcm_buf_dma_ofs % dpcm->buffer_bytes);
sound/pci/asihpi/asihpi.c
932
ptr = bytes_to_frames(runtime, dpcm->pcm_buf_dma_ofs % dpcm->buffer_bytes);
sound/pci/atiixp.c
658
return bytes_to_frames(runtime, curptr);
sound/pci/atiixp_modem.c
607
return bytes_to_frames(runtime, curptr);
sound/pci/au88x0/au88x0_pcm.c
415
current_ptr = bytes_to_frames(substream->runtime, current_ptr);
sound/pci/aw2/aw2-alsa.c
462
return bytes_to_frames(substream->runtime, current_ptr);
sound/pci/aw2/aw2-alsa.c
481
return bytes_to_frames(substream->runtime, current_ptr);
sound/pci/azt3328.c
1606
frmres = bytes_to_frames( substream->runtime, result);
sound/pci/bt87x.c
521
return (snd_pcm_uframes_t)bytes_to_frames(runtime, chip->current_line * chip->line_bytes);
sound/pci/ca0106/ca0106_main.c
1022
ptr += bytes_to_frames(runtime,
sound/pci/ca0106/ca0106_main.c
1048
ptr2 = bytes_to_frames(runtime, ptr1);
sound/pci/cmipci.c
923
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/cs5535audio/cs5535audio_pcm.c
326
return bytes_to_frames(substream->runtime, curdma);
sound/pci/ctxfi/ctpcm.c
254
position = bytes_to_frames(runtime, position);
sound/pci/ctxfi/ctpcm.c
360
position = bytes_to_frames(runtime, position);
sound/pci/echoaudio/echoaudio.c
820
return bytes_to_frames(runtime, pipe->position);
sound/pci/emu10k1/emu10k1x.c
514
ptr2 = bytes_to_frames(runtime, ptr1);
sound/pci/emu10k1/emu10k1x.c
664
ptr = bytes_to_frames(runtime, snd_emu10k1x_ptr_read(emu, CAPTURE_POINTER, 0));
sound/pci/emu10k1/emupcm.c
989
return bytes_to_frames(runtime, ptr);
sound/pci/emu10k1/p16v.c
494
ptr2 = bytes_to_frames(runtime, ptr1);
sound/pci/emu10k1/p16v.c
516
ptr2 = bytes_to_frames(runtime, ptr1);
sound/pci/ens1370.c
1012
return bytes_to_frames(substream->runtime, ptr);
sound/pci/ens1370.c
982
return bytes_to_frames(substream->runtime, ptr);
sound/pci/ens1370.c
997
return bytes_to_frames(substream->runtime, ptr);
sound/pci/es1968.c
1228
return bytes_to_frames(substream->runtime, ptr % es->dma_size);
sound/pci/fm801.c
526
return bytes_to_frames(substream->runtime, ptr);
sound/pci/fm801.c
542
return bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1712.c
1051
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1712.c
1065
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1712.c
646
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1712.c
666
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1712.c
680
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1724.c
789
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1724.c
798
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1724.c
837
return bytes_to_frames(substream->runtime, ptr);
sound/pci/ice1712/ice1724.c
841
ptr = bytes_to_frames(substream->runtime, ptr);
sound/pci/intel8x0.c
1036
return bytes_to_frames(substream->runtime, ptr);
sound/pci/intel8x0m.c
549
return bytes_to_frames(substream->runtime, ptr);
sound/pci/korg1212/korg1212.c
1244
pos = bytes_to_frames(runtime, pos);
sound/pci/korg1212/korg1212.c
1245
count = bytes_to_frames(runtime, count);
sound/pci/korg1212/korg1212.c
1278
pos = bytes_to_frames(runtime, pos);
sound/pci/korg1212/korg1212.c
1279
count = bytes_to_frames(runtime, count);
sound/pci/korg1212/korg1212.c
1575
return snd_korg1212_silence(korg1212, bytes_to_frames(runtime, pos),
sound/pci/korg1212/korg1212.c
1576
bytes_to_frames(runtime, count),
sound/pci/lola/lola_pcm.c
550
return bytes_to_frames(substream->runtime, pos);
sound/pci/maestro3.c
1468
return bytes_to_frames(subs->runtime, ptr);
sound/pci/nm256/nm256.c
647
return bytes_to_frames(substream->runtime, curp);
sound/pci/nm256/nm256.c
661
return bytes_to_frames(substream->runtime, curp);
sound/pci/oxygen/oxygen_pcm.c
602
return bytes_to_frames(runtime, curr_addr - (u32)runtime->dma_addr);
sound/pci/riptide/riptide.c
1127
bytes_to_frames(runtime, pos),
sound/pci/riptide/riptide.c
1358
bytes_to_frames(runtime, rptr.retlongs[1]),
sound/pci/riptide/riptide.c
1359
bytes_to_frames(runtime,
sound/pci/riptide/riptide.c
1363
bytes_to_frames(runtime,
sound/pci/riptide/riptide.c
1367
bytes_to_frames(runtime,
sound/pci/riptide/riptide.c
1373
ret = bytes_to_frames(runtime, 0);
sound/pci/sonicvibes.c
721
return bytes_to_frames(substream->runtime, ptr);
sound/pci/sonicvibes.c
731
return bytes_to_frames(substream->runtime, ptr);
sound/pci/via82xx.c
845
return bytes_to_frames(substream->runtime, res);
sound/pci/via82xx.c
903
return bytes_to_frames(substream->runtime, res);
sound/pci/via82xx_modem.c
629
return bytes_to_frames(substream->runtime, res);
sound/ppc/pmac.c
306
return bytes_to_frames(subs->runtime, count);
sound/ppc/snd_ps3.c
660
ret = bytes_to_frames(substream->runtime, bytes * 2);
sound/soc/amd/acp-pcm-dma.c
1062
adata->delay += bytes_to_frames(runtime, delay);
sound/soc/amd/acp-pcm-dma.c
1071
return bytes_to_frames(runtime, pos);
sound/soc/amd/acp/acp-platform.c
289
return bytes_to_frames(substream->runtime, pos);
sound/soc/amd/ps/ps-pdm-dma.c
264
return bytes_to_frames(stream->runtime, pos);
sound/soc/amd/ps/ps-sdw-dma.c
497
return bytes_to_frames(substream->runtime, pos);
sound/soc/amd/raven/acp3x-pcm-dma.c
311
return bytes_to_frames(substream->runtime, pos);
sound/soc/amd/renoir/acp3x-pdm-dma.c
287
return bytes_to_frames(stream->runtime, pos);
sound/soc/amd/vangogh/acp5x-pcm-dma.c
305
return bytes_to_frames(substream->runtime, pos);
sound/soc/amd/yc/acp6x-pdm-dma.c
261
return bytes_to_frames(stream->runtime, pos);
sound/soc/atmel/atmel-pcm-pdc.c
268
x = bytes_to_frames(runtime, ptr - prtd->dma_buffer);
sound/soc/au1x/dbdma2.c
273
return bytes_to_frames(substream->runtime,
sound/soc/au1x/dma.c
277
return bytes_to_frames(ss->runtime, location);
sound/soc/bcm/bcm63xx-pcm-whistler.c
183
x = bytes_to_frames(substream->runtime,
sound/soc/bcm/cygnus-pcm.c
690
return bytes_to_frames(substream->runtime, res);
sound/soc/codecs/cros_ec_codec.c
931
return bytes_to_frames(runtime, priv->wov_dma_offset);
sound/soc/codecs/rt5514-spi.c
256
return bytes_to_frames(runtime, rt5514_dsp->dma_offset);
sound/soc/codecs/rt5677-spi.c
183
return bytes_to_frames(runtime, rt5677_dsp->dma_offset);
sound/soc/codecs/rt5677-spi.c
368
delay = bytes_to_frames(runtime, period_bytes) / runtime->rate;
sound/soc/fsl/fsl_asrc_dma.c
446
return bytes_to_frames(substream->runtime, pair->pos);
sound/soc/fsl/fsl_dma.c
716
frames = bytes_to_frames(runtime, position - dma_private->dma_buf_phys);
sound/soc/fsl/imx-pcm-fiq.c
153
return bytes_to_frames(substream->runtime, iprtd->offset);
sound/soc/fsl/imx-pcm-rpmsg.c
206
return bytes_to_frames(substream->runtime, pos);
sound/soc/fsl/mpc5200_dma.c
281
return bytes_to_frames(substream->runtime, count);
sound/soc/generic/test-component.c
473
return bytes_to_frames(runtime, pointer);
sound/soc/google/chv3-i2s.c
248
return bytes_to_frames(substream->runtime, idx_bytes);
sound/soc/intel/atom/sst/sst_drv_interface.c
473
delay_frames = bytes_to_frames(substream->runtime, delay_bytes);
sound/soc/intel/avs/pcm.c
1340
return bytes_to_frames(substream->runtime, pos);
sound/soc/intel/catpt/pcm.c
526
dsppos = bytes_to_frames(r, pos->stream_position);
sound/soc/intel/catpt/pcm.c
616
return bytes_to_frames(substream->runtime, pos);
sound/soc/kirkwood/kirkwood-dma.c
231
count = bytes_to_frames(substream->runtime,
sound/soc/kirkwood/kirkwood-dma.c
234
count = bytes_to_frames(substream->runtime,
sound/soc/loongson/loongson_dma.c
210
x = bytes_to_frames(runtime, addr - runtime->dma_addr);
sound/soc/mediatek/common/mtk-afe-platform-driver.c
112
return bytes_to_frames(substream->runtime, pcm_ptr_bytes);
sound/soc/meson/aiu-fifo.c
43
return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr);
sound/soc/meson/axg-fifo.c
107
return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr);
sound/soc/qcom/lpass-platform.c
892
return bytes_to_frames(substream->runtime, curr_addr - base_addr);
sound/soc/renesas/dma-sh7760.c
287
return bytes_to_frames(runtime, pos);
sound/soc/renesas/rcar/ssi.c
942
*pointer = bytes_to_frames(runtime, READ_ONCE(ssi->byte_pos));
sound/soc/renesas/siu_pcm.c
387
xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes);
sound/soc/renesas/siu_pcm.c
480
return bytes_to_frames(ss->runtime, ptr);
sound/soc/samsung/idma.c
238
return bytes_to_frames(substream->runtime, res);
sound/soc/sof/amd/acp-pcm.c
116
pos = bytes_to_frames(substream->runtime, pos);
sound/soc/sof/intel/hda-pcm.c
212
pos = bytes_to_frames(substream->runtime, pos);
sound/soc/sof/ipc4-pcm.c
1281
*pointer = bytes_to_frames(substream->runtime, host_ptr);
sound/soc/sof/mediatek/mtk-adsp-common.c
206
pos = bytes_to_frames(substream->runtime, pos);
sound/soc/sof/pcm.c
526
host = bytes_to_frames(substream->runtime,
sound/soc/sof/pcm.c
528
dai = bytes_to_frames(substream->runtime,
sound/soc/sprd/sprd-pcm-dma.c
425
x = bytes_to_frames(runtime, bytes_of_pointer);
sound/soc/stm/stm32_adfsdm.c
267
return bytes_to_frames(substream->runtime, priv->pos);
sound/soc/uniphier/aio-dma.c
186
pos = bytes_to_frames(runtime, sub->rd_offs);
sound/soc/uniphier/aio-dma.c
188
pos = bytes_to_frames(runtime, sub->wr_offs);
sound/soc/xilinx/xlnx_formatter_pcm.c
451
return bytes_to_frames(runtime, pos);
sound/sparc/amd7930.c
635
return bytes_to_frames(substream->runtime, ptr);
sound/sparc/amd7930.c
647
return bytes_to_frames(substream->runtime, ptr);
sound/sparc/cs4231.c
964
return bytes_to_frames(substream->runtime, ptr);
sound/sparc/cs4231.c
980
return bytes_to_frames(substream->runtime, ptr);
sound/sparc/dbri.c
2194
ret = bytes_to_frames(substream->runtime, info->offset)
sound/spi/at73c213.c
308
pos = bytes_to_frames(runtime, bytes);
sound/usb/caiaq/audio.c
290
return bytes_to_frames(sub->runtime,
sound/usb/caiaq/audio.c
293
return bytes_to_frames(sub->runtime,
sound/usb/hiface/pcm.c
478
return bytes_to_frames(alsa_sub->runtime, dma_offset);
sound/usb/pcm.c
41
queued = bytes_to_frames(runtime, subs->inflight_bytes);
sound/usb/pcm.c
84
return bytes_to_frames(runtime, hwptr_done);
sound/usb/usx2y/us144mkii_playback.c
208
frames_to_copy = bytes_to_frames(runtime, total_bytes_for_urb);
sound/virtio/virtio_pcm_msg.c
328
bytes_to_frames(runtime,
sound/x86/intel_hdmi_audio.c
1239
len = bytes_to_frames(substream->runtime, len);
sound/xen/xen_snd_front_alsa.c
576
cur_frame = bytes_to_frames(substream->runtime, pos_bytes);