Lines Matching refs:dst_mask
425 void memcpy_by_channel_mask(void *dst, uint32_t dst_mask, in memcpy_by_channel_mask() argument
433 memcpy_by_index_array_initialization(idxary, 32, dst_mask, src_mask); in memcpy_by_channel_mask()
437 if (dst_mask == src_mask) { in memcpy_by_channel_mask()
438 memcpy(dst, src, sample_size * __builtin_popcount(dst_mask) * count); in memcpy_by_channel_mask()
446 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
452 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
459 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, zero); in memcpy_by_channel_mask()
465 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
529 uint32_t dst_mask, uint32_t src_mask) in memcpy_by_index_array_initialization() argument
533 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization()
538 if (src_mask & dst_mask & bit) { /* matching channel */ in memcpy_by_index_array_initialization()
546 return n + __builtin_popcount(ormask & dst_mask); in memcpy_by_index_array_initialization()
550 uint32_t dst_mask, uint32_t src_mask) { in memcpy_by_index_array_initialization_src_index() argument
551 size_t dst_count = __builtin_popcount(dst_mask); in memcpy_by_index_array_initialization_src_index()
572 uint32_t dst_mask, uint32_t src_mask) { in memcpy_by_index_array_initialization_dst_index() argument
574 size_t dst_count = __builtin_popcount(dst_mask); in memcpy_by_index_array_initialization_dst_index()
583 if (dst_mask & 1) { in memcpy_by_index_array_initialization_dst_index()
586 dst_mask >>= 1; in memcpy_by_index_array_initialization_dst_index()