Home
last modified time | relevance | path

Searched refs:dst_area (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/sound/core/oss/
Dpcm_plugin.c672 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()
[all …]
/linux-6.6.21/kernel/
Dkcov.c926 static void kcov_move_area(enum kcov_mode mode, void *dst_area, in kcov_move_area() argument
936 dst_area, dst_area_size, src_area, *(unsigned long *)src_area); in kcov_move_area()
940 dst_len = READ_ONCE(*(unsigned long *)dst_area); in kcov_move_area()
946 dst_len = READ_ONCE(*(u64 *)dst_area); in kcov_move_area()
964 dst_entries = dst_area + dst_occupied; in kcov_move_area()
971 WRITE_ONCE(*(unsigned long *)dst_area, dst_len + entries_moved); in kcov_move_area()
974 WRITE_ONCE(*(u64 *)dst_area, dst_len + entries_moved); in kcov_move_area()