/linux-3.4.99/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() 320 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-3.4.99/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 | 596 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() function 609 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes() 615 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes()
|
/linux-3.4.99/sound/pci/nm256/ |
D | nm256.c | 642 s->dma_size = frames_to_bytes(runtime, substream->runtime->buffer_size); in snd_nm256_pcm_prepare() 643 s->period_size = frames_to_bytes(runtime, substream->runtime->period_size); in snd_nm256_pcm_prepare() 701 count = frames_to_bytes(runtime, count); in snd_nm256_playback_silence() 702 pos = frames_to_bytes(runtime, pos); in snd_nm256_playback_silence() 716 count = frames_to_bytes(runtime, count); in snd_nm256_playback_copy() 717 pos = frames_to_bytes(runtime, pos); in snd_nm256_playback_copy() 735 count = frames_to_bytes(runtime, count); in snd_nm256_capture_copy() 736 pos = frames_to_bytes(runtime, pos); in snd_nm256_capture_copy()
|
/linux-3.4.99/sound/usb/caiaq/ |
D | audio.c | 383 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode0() 430 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode2() 461 sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode3() 540 int sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_0() 576 sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_3()
|
/linux-3.4.99/sound/atmel/ |
D | ac97c.c | 127 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in atmel_ac97c_prepare_dma() 128 period_len = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_prepare_dma() 323 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare() 414 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare() 674 block_size = frames_to_bytes(runtime, in atmel_ac97c_interrupt() 696 block_size = frames_to_bytes(runtime, in atmel_ac97c_interrupt()
|
D | abdac.c | 133 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in atmel_abdac_prepare_dma() 134 period_len = frames_to_bytes(runtime, runtime->period_size); in atmel_abdac_prepare_dma()
|
/linux-3.4.99/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 | 354 dpcm->pcm_buffer_size = frames_to_bytes(runtime, runtime->buffer_size); in loopback_prepare() 366 dpcm->pcm_period_size = frames_to_bytes(runtime, runtime->period_size); in loopback_prepare()
|
/linux-3.4.99/sound/pci/emu10k1/ |
D | p16v.c | 347 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_p16v_pcm_prepare_playback() 357 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 | 459 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_emu10k1x_pcm_prepare() 475 …snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_… in snd_emu10k1x_pcm_prepare() 530 if(ptr4 == 0 && ptr1 == frames_to_bytes(runtime, runtime->buffer_size)) in snd_emu10k1x_pcm_pointer() 637 …snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)… in snd_emu10k1x_pcm_prepare_capture()
|
/linux-3.4.99/sound/core/ |
D | pcm_lib.c | 106 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, ofs); in snd_pcm_playback_silence() 1874 char __user *buf = (char __user *) data + frames_to_bytes(runtime, off); in snd_pcm_lib_write_transfer() 1879 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_write_transfer() 1880 if (copy_from_user(hwbuf, buf, frames_to_bytes(runtime, frames))) in snd_pcm_lib_write_transfer() 2095 char __user *buf = (char __user *) data + frames_to_bytes(runtime, off); in snd_pcm_lib_read_transfer() 2100 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_read_transfer() 2101 if (copy_to_user(buf, hwbuf, frames_to_bytes(runtime, frames))) in snd_pcm_lib_read_transfer()
|
D | pcm_native.c | 2832 result = frames_to_bytes(runtime, result); in snd_pcm_read() 2856 result = frames_to_bytes(runtime, result); in snd_pcm_write() 2891 result = frames_to_bytes(runtime, result); in snd_pcm_aio_read() 2925 result = frames_to_bytes(runtime, result); in snd_pcm_aio_write()
|
/linux-3.4.99/sound/pci/ca0106/ |
D | ca0106_main.c | 760 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_ca0106_pcm_prepare_playback() 781 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_playback() 845 …snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_… in snd_ca0106_pcm_prepare_playback() 886 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_capture() 946 …snd_ca0106_ptr_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffer_s… in snd_ca0106_pcm_prepare_capture()
|
/linux-3.4.99/sound/soc/blackfin/ |
D | bf5xx-i2s-pcm.c | 87 int period_bytes = frames_to_bytes(runtime, runtime->period_size); in bf5xx_pcm_prepare()
|
D | bf5xx-tdm-pcm.c | 91 int fragsize_bytes = frames_to_bytes(runtime, runtime->period_size); in bf5xx_pcm_prepare()
|
/linux-3.4.99/sound/drivers/vx/ |
D | vx_pcm.c | 879 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare() 880 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); in vx_pcm_prepare() 1047 size = frames_to_bytes(runtime, size); in vx_pcm_capture_update()
|
/linux-3.4.99/sound/soc/kirkwood/ |
D | kirkwood-dma.c | 251 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
|
/linux-3.4.99/sound/soc/tegra/ |
D | tegra_pcm.c | 232 prtd->dma_pos_end = frames_to_bytes(runtime, runtime->periods * runtime->period_size); in tegra_pcm_trigger()
|
/linux-3.4.99/sound/mips/ |
D | sgio2audio.c | 384 dst_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_pull_frag() 432 src_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_push_frag()
|
/linux-3.4.99/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-3.4.99/sound/soc/fsl/ |
D | mpc5200_dma.c | 125 s->period_bytes = frames_to_bytes(runtime, in psc_dma_trigger()
|
/linux-3.4.99/sound/pci/riptide/ |
D | riptide.c | 1132 frames_to_bytes(runtime, in riptide_handleirq() 1501 size = frames_to_bytes(runtime, runtime->buffer_size); in snd_riptide_prepare() 1502 period = frames_to_bytes(runtime, runtime->period_size); in snd_riptide_prepare()
|
/linux-3.4.99/sound/core/oss/ |
D | pcm_oss.c | 615 long bytes = frames_to_bytes(runtime, frames); in snd_pcm_oss_bytes() 1359 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_write2() 1459 bytes = frames_to_bytes(runtime, frames1); in snd_pcm_oss_read2()
|