Home
last modified time | relevance | path

Searched refs:i2s_channels (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/sound/soc/img/
Dimg-i2s-out.c220 unsigned int channels, i2s_channels; in img_i2s_out_hw_params() local
229 i2s_channels = channels / 2; in img_i2s_out_hw_params()
268 control_set |= ((i2s_channels - 1) << in img_i2s_out_hw_params()
281 for (i = 0; i < i2s_channels; i++) in img_i2s_out_hw_params()
289 i2s->active_channels = i2s_channels; in img_i2s_out_hw_params()
404 unsigned int i2s_channels = params_channels(params) / 2; in img_i2s_out_dma_prepare_slave_config() local
417 sc->dst_maxburst = 4 * i2s_channels; in img_i2s_out_dma_prepare_slave_config()
Dimg-i2s-in.c221 unsigned int rate, channels, i2s_channels, frame_size; in img_i2s_in_hw_params() local
231 i2s_channels = channels / 2; in img_i2s_in_hw_params()
259 control_set |= ((i2s_channels - 1) << IMG_I2S_IN_CTL_ACTIVE_CH_SHIFT); in img_i2s_in_hw_params()
295 i2s->active_channels = i2s_channels; in img_i2s_in_hw_params()
398 unsigned int i2s_channels = params_channels(params) / 2; in img_i2s_in_dma_prepare_slave_config() local
411 sc->src_maxburst = 4 * i2s_channels; in img_i2s_in_dma_prepare_slave_config()