Lines Matching refs:mcfg
272 struct msp_multichannel_config *mcfg; in configure_multichannel() local
288 mcfg = &config->multichannel_config; in configure_multichannel()
289 if (mcfg->tx_multichannel_enable) { in configure_multichannel()
292 writel(reg_val_MCR | (mcfg->tx_multichannel_enable ? in configure_multichannel()
295 writel(mcfg->tx_channel_0_enable, in configure_multichannel()
297 writel(mcfg->tx_channel_1_enable, in configure_multichannel()
299 writel(mcfg->tx_channel_2_enable, in configure_multichannel()
301 writel(mcfg->tx_channel_3_enable, in configure_multichannel()
310 if (mcfg->rx_multichannel_enable) { in configure_multichannel()
313 writel(reg_val_MCR | (mcfg->rx_multichannel_enable ? in configure_multichannel()
316 writel(mcfg->rx_channel_0_enable, in configure_multichannel()
318 writel(mcfg->rx_channel_1_enable, in configure_multichannel()
320 writel(mcfg->rx_channel_2_enable, in configure_multichannel()
322 writel(mcfg->rx_channel_3_enable, in configure_multichannel()
330 if (mcfg->rx_comparison_enable_mode) { in configure_multichannel()
333 (mcfg->rx_comparison_enable_mode << RCMPM_BIT), in configure_multichannel()
336 writel(mcfg->comparison_mask, in configure_multichannel()
338 writel(mcfg->comparison_value, in configure_multichannel()