/linux-4.1.27/sound/soc/blackfin/ |
D | bf5xx-i2s-pcm.c | 90 int period_bytes = frames_to_bytes(runtime, runtime->period_size); in bf5xx_pcm_prepare() 272 dst += frames_to_bytes(runtime, pos); in bf5xx_pcm_copy() 275 src += frames_to_bytes(runtime, pos); in bf5xx_pcm_copy() 279 memcpy(dst, src, frames_to_bytes(runtime, count)); in bf5xx_pcm_copy() 301 offset = frames_to_bytes(runtime, pos); in bf5xx_pcm_silence()
|
/linux-4.1.27/sound/sh/ |
D | sh_dac_audio.c | 193 ssize_t b_count = frames_to_bytes(runtime , count); in snd_sh_dac_pcm_copy() 194 ssize_t b_pos = frames_to_bytes(runtime , pos); in snd_sh_dac_pcm_copy() 220 ssize_t b_count = frames_to_bytes(runtime , count); in snd_sh_dac_pcm_silence() 221 ssize_t b_pos = frames_to_bytes(runtime , pos); in snd_sh_dac_pcm_silence() 318 ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); in sh_dac_audio_timer()
|
D | aica.c | 284 frames_to_bytes(runtime, runtime->buffer_size); in run_spu_dma() 317 frames_to_bytes(runtime, in aica_period_elapsed()
|
/linux-4.1.27/include/sound/ |
D | pcm-indirect.h | 59 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer() 124 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()
|
D | pcm.h | 703 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() function 725 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes() 735 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes()
|
/linux-4.1.27/sound/pci/nm256/ |
D | nm256.c | 645 s->dma_size = frames_to_bytes(runtime, substream->runtime->buffer_size); in snd_nm256_pcm_prepare() 646 s->period_size = frames_to_bytes(runtime, substream->runtime->period_size); in snd_nm256_pcm_prepare() 704 count = frames_to_bytes(runtime, count); in snd_nm256_playback_silence() 705 pos = frames_to_bytes(runtime, pos); in snd_nm256_playback_silence() 719 count = frames_to_bytes(runtime, count); in snd_nm256_playback_copy() 720 pos = frames_to_bytes(runtime, pos); in snd_nm256_playback_copy() 738 count = frames_to_bytes(runtime, count); in snd_nm256_capture_copy() 739 pos = frames_to_bytes(runtime, pos); in snd_nm256_capture_copy()
|
/linux-4.1.27/sound/usb/caiaq/ |
D | audio.c | 394 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode0() 441 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode2() 473 sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode3() 554 int sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_0() 590 sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_3()
|
/linux-4.1.27/sound/atmel/ |
D | ac97c.c | 130 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in atmel_ac97c_prepare_dma() 131 period_len = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_prepare_dma() 321 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare() 412 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare() 672 block_size = frames_to_bytes(runtime, in atmel_ac97c_interrupt() 694 block_size = frames_to_bytes(runtime, in atmel_ac97c_interrupt()
|
D | abdac.c | 135 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in atmel_abdac_prepare_dma() 136 period_len = frames_to_bytes(runtime, runtime->period_size); in atmel_abdac_prepare_dma()
|
/linux-4.1.27/sound/drivers/ |
D | pcm-indirect2.c | 270 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect2_playback_transfer() 428 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect2_capture_transfer()
|
D | aloop.c | 352 dpcm->pcm_buffer_size = frames_to_bytes(runtime, runtime->buffer_size); in loopback_prepare() 364 dpcm->pcm_period_size = frames_to_bytes(runtime, runtime->period_size); in loopback_prepare()
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | p16v.c | 344 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_p16v_pcm_prepare_playback() 355 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback() 434 …snd_emu10k1_ptr20_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffe… in snd_p16v_pcm_prepare_capture()
|
D | emu10k1x.c | 460 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_emu10k1x_pcm_prepare() 476 …snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_… in snd_emu10k1x_pcm_prepare() 535 if(ptr4 == 0 && ptr1 == frames_to_bytes(runtime, runtime->buffer_size)) in snd_emu10k1x_pcm_pointer() 642 …snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)… in snd_emu10k1x_pcm_prepare_capture()
|
/linux-4.1.27/sound/firewire/ |
D | amdtp.c | 407 frames_to_bytes(runtime, s->pcm_buffer_pointer); in amdtp_write_s32() 432 frames_to_bytes(runtime, s->pcm_buffer_pointer); in amdtp_write_s16() 457 frames_to_bytes(runtime, s->pcm_buffer_pointer); in amdtp_read_s32()
|
/linux-4.1.27/sound/pci/ca0106/ |
D | ca0106_main.c | 762 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_ca0106_pcm_prepare_playback() 783 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_playback() 849 …snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_… in snd_ca0106_pcm_prepare_playback() 890 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_capture() 952 …snd_ca0106_ptr_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffer_s… in snd_ca0106_pcm_prepare_capture()
|
/linux-4.1.27/sound/core/ |
D | pcm_lib.c | 116 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, ofs); in snd_pcm_playback_silence() 1996 char __user *buf = (char __user *) data + frames_to_bytes(runtime, off); in snd_pcm_lib_write_transfer() 2001 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_write_transfer() 2002 if (copy_from_user(hwbuf, buf, frames_to_bytes(runtime, frames))) in snd_pcm_lib_write_transfer() 2218 char __user *buf = (char __user *) data + frames_to_bytes(runtime, off); in snd_pcm_lib_read_transfer() 2223 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_read_transfer() 2224 if (copy_to_user(buf, hwbuf, frames_to_bytes(runtime, frames))) in snd_pcm_lib_read_transfer()
|
D | pcm_native.c | 3055 result = frames_to_bytes(runtime, result); in snd_pcm_read() 3079 result = frames_to_bytes(runtime, result); in snd_pcm_write() 3114 result = frames_to_bytes(runtime, result); in snd_pcm_readv() 3149 result = frames_to_bytes(runtime, result); in snd_pcm_writev()
|
/linux-4.1.27/sound/drivers/vx/ |
D | vx_pcm.c | 857 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare() 858 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); in vx_pcm_prepare() 1024 size = frames_to_bytes(runtime, size); in vx_pcm_capture_update()
|
/linux-4.1.27/sound/soc/kirkwood/ |
D | kirkwood-dma.c | 207 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
|
/linux-4.1.27/sound/mips/ |
D | sgio2audio.c | 377 dst_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_pull_frag() 425 src_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_push_frag()
|
/linux-4.1.27/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 40 frames_to_bytes(r, o)) 42 frames_to_bytes(r, (x)))) 733 pos = frames_to_bytes(runtime, in hsw_notify_pointer()
|
/linux-4.1.27/sound/soc/intel/baytrail/ |
D | sst-baytrail-pcm.c | 227 pos = frames_to_bytes(runtime, in byt_notify_pointer()
|
/linux-4.1.27/sound/spi/ |
D | at73c213.c | 260 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_pcm_prepare() 369 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_interrupt()
|
/linux-4.1.27/sound/soc/fsl/ |
D | mpc5200_dma.c | 127 s->period_bytes = frames_to_bytes(runtime, in psc_dma_trigger()
|
/linux-4.1.27/sound/pci/riptide/ |
D | riptide.c | 1132 frames_to_bytes(runtime, in riptide_handleirq() 1494 size = frames_to_bytes(runtime, runtime->buffer_size); in snd_riptide_prepare() 1495 period = frames_to_bytes(runtime, runtime->period_size); in snd_riptide_prepare()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_controller.c | 364 pos_adj = frames_to_bytes(runtime, pos_adj); in azx_setup_periods() 531 azx_dev->delay_negative_threshold = -frames_to_bytes(runtime, 64); in azx_pcm_prepare()
|
/linux-4.1.27/sound/core/oss/ |
D | pcm_oss.c | 615 long bytes = frames_to_bytes(runtime, frames); in snd_pcm_oss_bytes() 1357 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_write2() 1457 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_read2()
|
/linux-4.1.27/sound/pci/ |
D | maestro3.c | 1165 s->dma_size = frames_to_bytes(runtime, runtime->buffer_size); in snd_m3_pcm_setup1() 1166 s->period_size = frames_to_bytes(runtime, runtime->period_size); in snd_m3_pcm_setup1()
|
/linux-4.1.27/sound/pci/asihpi/ |
D | asihpi.c | 843 (unsigned long)frames_to_bytes(runtime, in snd_card_asihpi_timer_function() 845 (unsigned long)frames_to_bytes(runtime, in snd_card_asihpi_timer_function()
|
/linux-4.1.27/sound/pci/echoaudio/ |
D | echoaudio.c | 820 pipe->position -= frames_to_bytes(substream->runtime, bufsize); in pcm_pointer()
|