Searched refs:clk_index (Results 1 – 3 of 3) sorted by relevance
387 u32 clk_index[2], div[2]; in fsl_asrc_config_pair() local465 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[all …]
881 if (sel->clk_index == BAD_CLK_INDEX) { in __sel_commit()889 sel->clk_index = index; in __sel_commit()894 BUG_ON((u32)sel->clk_index >= sel->parent_count); in __sel_commit()895 parent_sel = sel->parent_sel[sel->clk_index]; in __sel_commit()944 previous = sel->clk_index; in selector_write()948 sel->clk_index = index; in selector_write()959 sel->clk_index = previous; /* Revert the change */ in selector_write()
338 u8 clk_index; /* current selected index in parent_sel[] */ member347 .clk_index = BAD_CLK_INDEX, \