Home
last modified time | relevance | path

Searched refs:frames_to_bytes (Results 1 – 25 of 29) sorted by relevance

12

/linux-3.4.99/sound/sh/
Dsh_dac_audio.c193 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()
Daica.c284 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/
Dpcm-indirect.h59 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()
Dpcm.h596 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/
Dnm256.c642 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/
Daudio.c383 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/
Dac97c.c127 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()
Dabdac.c133 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/
Dpcm-indirect2.c270 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()
Daloop.c354 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/
Dp16v.c347 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()
Demu10k1x.c459 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/
Dpcm_lib.c106 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()
Dpcm_native.c2832 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/
Dca0106_main.c760 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/
Dbf5xx-i2s-pcm.c87 int period_bytes = frames_to_bytes(runtime, runtime->period_size); in bf5xx_pcm_prepare()
Dbf5xx-tdm-pcm.c91 int fragsize_bytes = frames_to_bytes(runtime, runtime->period_size); in bf5xx_pcm_prepare()
/linux-3.4.99/sound/drivers/vx/
Dvx_pcm.c879 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/
Dkirkwood-dma.c251 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
/linux-3.4.99/sound/soc/tegra/
Dtegra_pcm.c232 prtd->dma_pos_end = frames_to_bytes(runtime, runtime->periods * runtime->period_size); in tegra_pcm_trigger()
/linux-3.4.99/sound/mips/
Dsgio2audio.c384 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/
Dat73c213.c260 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/
Dmpc5200_dma.c125 s->period_bytes = frames_to_bytes(runtime, in psc_dma_trigger()
/linux-3.4.99/sound/pci/riptide/
Driptide.c1132 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/
Dpcm_oss.c615 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()

12