Lines Matching refs:pcm_con
230 unsigned int pcm_con = 0; in mtk_dai_pcm_hw_params() local
243 pcm_con |= AUD_TX_LCH_RPT_NO_REPEAT << PCM_TX_LCH_RPT_SFT; in mtk_dai_pcm_hw_params()
244 pcm_con |= AUD_VBT_16K_MODE_DISABLE << PCM_VBT_16K_MODE_SFT; in mtk_dai_pcm_hw_params()
245 pcm_con |= AUD_EXT_MODEM_SELECT_EXTERNAL << PCM_EXT_MODEM_SFT; in mtk_dai_pcm_hw_params()
246 pcm_con |= AUD_PCM_ONE_BCK_CYCLE_SYNC << PCM_SYNC_TYPE_SFT; in mtk_dai_pcm_hw_params()
247 pcm_con |= AUD_BT_MODE_DUAL_MIC_ON_TX << PCM_BT_MODE_SFT; in mtk_dai_pcm_hw_params()
248 pcm_con |= AUD_PCM_AFIFO_AFIFO << PCM_BYP_ASRC_SFT; in mtk_dai_pcm_hw_params()
249 pcm_con |= AUD_PCM_CLOCK_MASTER_MODE << PCM_SLAVE_SFT; in mtk_dai_pcm_hw_params()
250 pcm_con |= 0 << PCM_SYNC_LENGTH_SFT; in mtk_dai_pcm_hw_params()
253 pcm_con |= rate_reg << PCM_MODE_SFT; in mtk_dai_pcm_hw_params()
256 pcm_con |= pcm_priv->fmt << PCM_FMT_SFT; in mtk_dai_pcm_hw_params()
260 pcm_con |= AUD_PCM_24BIT_PCM_24_BITS << PCM_24BIT_SFT; in mtk_dai_pcm_hw_params()
262 pcm_con |= AUD_PCM_24BIT_PCM_16_BITS << PCM_24BIT_SFT; in mtk_dai_pcm_hw_params()
266 pcm_con |= AUD_PCM_WLEN_PCM_64_BCK_CYCLES << PCM_WLEN_SFT; in mtk_dai_pcm_hw_params()
268 pcm_con |= AUD_PCM_WLEN_PCM_32_BCK_CYCLES << PCM_WLEN_SFT; in mtk_dai_pcm_hw_params()
271 pcm_con |= pcm_priv->lck_invert << PCM_SYNC_OUT_INV_SFT; in mtk_dai_pcm_hw_params()
272 pcm_con |= pcm_priv->bck_invert << PCM_BCLK_OUT_INV_SFT; in mtk_dai_pcm_hw_params()
274 regmap_update_bits(afe->regmap, PCM_INTF_CON1, 0xfffffffe, pcm_con); in mtk_dai_pcm_hw_params()