Lines Matching refs:clk_index
387 u32 clk_index[2], div[2]; in fsl_asrc_config_pair() local
465 clk_index[IN] = asrc_priv->clk_map[IN][config->inclk]; in fsl_asrc_config_pair()
466 clk_index[OUT] = asrc_priv->clk_map[OUT][config->outclk]; in fsl_asrc_config_pair()
469 clk = asrc_priv->asrck_clk[clk_index[ideal ? OUT : IN]]; in fsl_asrc_config_pair()
483 inrate, clk_index[ideal ? OUT : IN]); in fsl_asrc_config_pair()
489 clk = asrc_priv->asrck_clk[clk_index[OUT]]; in fsl_asrc_config_pair()
499 outrate, clk_index[OUT]); in fsl_asrc_config_pair()
525 ASRCSR_AICS(index, clk_index[IN]) | in fsl_asrc_config_pair()
526 ASRCSR_AOCS(index, clk_index[OUT])); in fsl_asrc_config_pair()
668 int clk_rate, clk_index; in fsl_asrc_select_clk() local
677 clk_index = asrc_priv->clk_map[j][i]; in fsl_asrc_select_clk()
678 clk_rate = clk_get_rate(asrc_priv->asrck_clk[clk_index]); in fsl_asrc_select_clk()