Lines Matching refs:chan_nr
87 int chan = kmb_i2s->config.chan_nr; in kmb_pcm_rx_fn()
138 for (i = 0; i < config->chan_nr / 2; i++) in kmb_i2s_clear_irqs()
141 for (i = 0; i < config->chan_nr / 2; i++) in kmb_i2s_clear_irqs()
147 u32 stream, int chan_nr, bool trigger) in kmb_i2s_irq_trigger() argument
157 for (i = 0; i < chan_nr / 2; i++) { in kmb_i2s_irq_trigger()
253 for (i = 0; i < config->chan_nr / 2; i++) in kmb_i2s_irq_handler()
270 switch (config->chan_nr) { in kmb_i2s_irq_handler()
288 for (i = 0; i < config->chan_nr / 2; i++) { in kmb_i2s_irq_handler()
359 kmb_i2s_irq_trigger(kmb_i2s, substream->stream, config->chan_nr, true); in kmb_i2s_start()
453 for (ch_reg = 0; ch_reg < config->chan_nr / 2; ch_reg++) { in kmb_i2s_config()
504 config->chan_nr = params_channels(hw_params); in kmb_dai_hw_params()
506 switch (config->chan_nr) { in kmb_dai_hw_params()
516 write_val = ((config->chan_nr / 2) << TDM_CHANNEL_CONFIG_BIT) | in kmb_dai_hw_params()
530 write_val = ((config->chan_nr / 2) << TDM_CHANNEL_CONFIG_BIT) | in kmb_dai_hw_params()