Searched refs:chan_size (Results 1 – 2 of 2) sorted by relevance
169 int chan_size = sample_width / 8; in i2s_copy_from_fifo() local172 for (size_t i = 0; i < size / chan_size; i += 4) { in i2s_copy_from_fifo()179 for (size_t i = 0; i < size / chan_size; i += 2) { in i2s_copy_from_fifo()185 int max_off = chan_size - 1; in i2s_copy_from_fifo()187 for (size_t i = 0; i < size / chan_size; ++i) { in i2s_copy_from_fifo()191 *(dst + i * chan_size + (max_off - off)) = in i2s_copy_from_fifo()194 *(dst + i * chan_size + off) = data >> 8 * off; in i2s_copy_from_fifo()221 int chan_size = sample_width / 8; in i2s_copy_to_fifo() local224 for (size_t i = 0; i < size / chan_size; i += 4) { in i2s_copy_to_fifo()231 for (size_t i = 0; i < size / chan_size; i += 2) { in i2s_copy_to_fifo()[all …]
99 uint8_t chan_size = cfg->streams->pcm_width; in mpxxdtyy_i2s_configure() local127 i2s_cfg.word_size = chan_size; in mpxxdtyy_i2s_configure()132 i2s_cfg.frame_clk_freq = audio_freq * factor / chan_size; in mpxxdtyy_i2s_configure()133 i2s_cfg.block_size = data->pcm_mem_size * (factor / chan_size); in mpxxdtyy_i2s_configure()