Lines Matching refs:dst_area
672 int snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_silence() argument
680 if (!dst_area->addr) in snd_pcm_area_silence()
682 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence()
686 if (dst_area->step == (unsigned int) width && width >= 8) in snd_pcm_area_silence()
691 dst_step = dst_area->step / 8; in snd_pcm_area_silence()
694 int dstbit = dst_area->first % 8; in snd_pcm_area_silence()
695 int dstbit_step = dst_area->step % 8; in snd_pcm_area_silence()
719 const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_copy() argument
728 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy()
729 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
730 if (!dst_area->addr) in snd_pcm_area_copy()
736 dst_area->step == (unsigned int) width && width >= 8) { in snd_pcm_area_copy()
742 dst_step = dst_area->step / 8; in snd_pcm_area_copy()
747 int dstbit = dst_area->first % 8; in snd_pcm_area_copy()
748 int dstbit_step = dst_area->step % 8; in snd_pcm_area_copy()