Lines Matching refs:dst_mask

362 void memcpy_by_channel_mask(void *dst, uint32_t dst_mask,  in memcpy_by_channel_mask()  argument
370 memcpy_by_index_array_initialization(idxary, 32, dst_mask, src_mask); in memcpy_by_channel_mask()
374 if (dst_mask == src_mask) { in memcpy_by_channel_mask()
375 memcpy(dst, src, sample_size * popcount(dst_mask) * count); in memcpy_by_channel_mask()
383 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
389 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
396 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, zero); in memcpy_by_channel_mask()
402 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
466 uint32_t dst_mask, uint32_t src_mask) in memcpy_by_index_array_initialization() argument
470 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization()
475 if (src_mask & dst_mask & bit) { /* matching channel */ in memcpy_by_index_array_initialization()
483 return n + popcount(ormask & dst_mask); in memcpy_by_index_array_initialization()
487 uint32_t dst_mask, uint32_t src_mask) { in memcpy_by_index_array_initialization_src_index() argument
488 size_t dst_count = popcount(dst_mask); in memcpy_by_index_array_initialization_src_index()
509 uint32_t dst_mask, uint32_t src_mask) { in memcpy_by_index_array_initialization_dst_index() argument
511 size_t dst_count = __builtin_popcount(dst_mask); in memcpy_by_index_array_initialization_dst_index()
520 if (dst_mask & 1) { in memcpy_by_index_array_initialization_dst_index()
523 dst_mask >>= 1; in memcpy_by_index_array_initialization_dst_index()