Searched refs:dst_area (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/sound/core/oss/ |
D | pcm_plugin.c | 663 int snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_silence() argument 671 if (!dst_area->addr) in snd_pcm_area_silence() 673 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence() 677 if (dst_area->step == (unsigned int) width && width >= 8) in snd_pcm_area_silence() 682 dst_step = dst_area->step / 8; in snd_pcm_area_silence() 685 int dstbit = dst_area->first % 8; in snd_pcm_area_silence() 686 int dstbit_step = dst_area->step % 8; in snd_pcm_area_silence() 710 const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_copy() argument 719 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy() 720 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy() [all …]
|
/Linux-v5.10/kernel/ |
D | kcov.c | 899 static void kcov_move_area(enum kcov_mode mode, void *dst_area, in kcov_move_area() argument 909 dst_area, dst_area_size, src_area, *(unsigned long *)src_area); in kcov_move_area() 913 dst_len = READ_ONCE(*(unsigned long *)dst_area); in kcov_move_area() 919 dst_len = READ_ONCE(*(u64 *)dst_area); in kcov_move_area() 937 dst_entries = dst_area + dst_occupied; in kcov_move_area() 944 WRITE_ONCE(*(unsigned long *)dst_area, dst_len + entries_moved); in kcov_move_area() 947 WRITE_ONCE(*(u64 *)dst_area, dst_len + entries_moved); in kcov_move_area()
|