Lines Matching refs:mclk
419 static void get_mclk_rate(const struct device *dev, uint32_t *mclk) in get_mclk_rate() argument
430 *mclk = rate; in get_mclk_rate()
433 *mclk = rate; in get_mclk_rate()
443 uint32_t mclk; in i2s_mcux_config() local
507 get_mclk_rate(dev, &mclk); in i2s_mcux_config()
508 LOG_DBG("mclk is %d", mclk); in i2s_mcux_config()
647 SAI_TxSetBitClockRate(base, mclk, i2s_cfg->frame_clk_freq, word_size_bits, in i2s_mcux_config()
670 SAI_RxSetBitClockRate(base, mclk, i2s_cfg->frame_clk_freq, word_size_bits, in i2s_mcux_config()
1100 uint32_t mclk; in i2s_mcux_initialize() local
1147 get_mclk_rate(dev, &mclk); in i2s_mcux_initialize()
1152 mclkConfig.mclkHz = mclk; in i2s_mcux_initialize()
1153 mclkConfig.mclkSourceClkHz = mclk; in i2s_mcux_initialize()