Lines Matching refs:bytes

57 	void (*copy_fn)(void *alsa, void *most, unsigned int bytes);
77 static void swap_copy16(u16 *dest, const u16 *source, unsigned int bytes) in swap_copy16() argument
81 while (i < (bytes / 2)) { in swap_copy16()
87 static void swap_copy24(u8 *dest, const u8 *source, unsigned int bytes) in swap_copy24() argument
91 if (bytes < 2) in swap_copy24()
93 while (i < bytes - 2) { in swap_copy24()
101 static void swap_copy32(u32 *dest, const u32 *source, unsigned int bytes) in swap_copy32() argument
105 while (i < bytes / 4) { in swap_copy32()
111 static void alsa_to_most_memcpy(void *alsa, void *most, unsigned int bytes) in alsa_to_most_memcpy() argument
113 memcpy(most, alsa, bytes); in alsa_to_most_memcpy()
116 static void alsa_to_most_copy16(void *alsa, void *most, unsigned int bytes) in alsa_to_most_copy16() argument
118 swap_copy16(most, alsa, bytes); in alsa_to_most_copy16()
121 static void alsa_to_most_copy24(void *alsa, void *most, unsigned int bytes) in alsa_to_most_copy24() argument
123 swap_copy24(most, alsa, bytes); in alsa_to_most_copy24()
126 static void alsa_to_most_copy32(void *alsa, void *most, unsigned int bytes) in alsa_to_most_copy32() argument
128 swap_copy32(most, alsa, bytes); in alsa_to_most_copy32()
131 static void most_to_alsa_memcpy(void *alsa, void *most, unsigned int bytes) in most_to_alsa_memcpy() argument
133 memcpy(alsa, most, bytes); in most_to_alsa_memcpy()
136 static void most_to_alsa_copy16(void *alsa, void *most, unsigned int bytes) in most_to_alsa_copy16() argument
138 swap_copy16(alsa, most, bytes); in most_to_alsa_copy16()
141 static void most_to_alsa_copy24(void *alsa, void *most, unsigned int bytes) in most_to_alsa_copy24() argument
143 swap_copy24(alsa, most, bytes); in most_to_alsa_copy24()
146 static void most_to_alsa_copy32(void *alsa, void *most, unsigned int bytes) in most_to_alsa_copy32() argument
148 swap_copy32(alsa, most, bytes); in most_to_alsa_copy32()
439 int bytes; member
467 if (cfg->subbuffer_size != ch_num * sinfo[i].bytes) { in audio_set_hw_params()