Lines Matching refs:sclk
685 clk_info->sclk = i2s_config_source_clock(i2s_num, p_i2s[i2s_num]->use_apll, clk_info->mclk); in i2s_calculate_adc_dac_clock()
687 clk_info->mclk_div = clk_info->sclk / clk_info->mclk; in i2s_calculate_adc_dac_clock()
690 …ESP_RETURN_ON_FALSE(clk_info->sclk / (float)clk_info->mclk > 1.99, ESP_ERR_INVALID_ARG, TAG, "samp… in i2s_calculate_adc_dac_clock()
714 clk_info->sclk = i2s_config_source_clock(i2s_num, p_i2s[i2s_num]->use_apll, clk_info->mclk); in i2s_calculate_pdm_tx_clock()
716 clk_info->mclk_div = clk_info->sclk / clk_info->mclk; in i2s_calculate_pdm_tx_clock()
719 …ESP_RETURN_ON_FALSE(clk_info->sclk / (float)clk_info->mclk > 1.99, ESP_ERR_INVALID_ARG, TAG, "samp… in i2s_calculate_pdm_tx_clock()
741 clk_info->sclk = i2s_config_source_clock(i2s_num, p_i2s[i2s_num]->use_apll, clk_info->mclk); in i2s_calculate_pdm_rx_clock()
743 clk_info->mclk_div = clk_info->sclk / clk_info->mclk; in i2s_calculate_pdm_rx_clock()
746 …ESP_RETURN_ON_FALSE(clk_info->sclk / (float)clk_info->mclk > 1.99, ESP_ERR_INVALID_ARG, TAG, "samp… in i2s_calculate_pdm_rx_clock()
771 clk_info->sclk = i2s_config_source_clock(i2s_num, p_i2s[i2s_num]->use_apll, clk_info->mclk); in i2s_calculate_common_clock()
773 clk_info->mclk_div = clk_info->sclk / clk_info->mclk; in i2s_calculate_common_clock()
776 …ESP_RETURN_ON_FALSE(clk_info->mclk <= clk_info->sclk, ESP_ERR_INVALID_ARG, TAG, "sample rate is to… in i2s_calculate_common_clock()
812 … clk_info->sclk, clk_info->mclk, clk_info->mclk_div, clk_info->bclk, clk_info->bclk_div); in i2s_calculate_clock()