Searched refs:clk_index (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/sound/soc/fsl/
H A Dfsl_asrc.c244 u32 clk_index[2], div[2]; fsl_asrc_config_pair() local
290 clk_index[IN] = clk_map[IN][config->inclk]; fsl_asrc_config_pair()
291 clk_index[OUT] = clk_map[OUT][config->outclk]; fsl_asrc_config_pair()
294 clk = asrc_priv->asrck_clk[clk_index[ideal ? OUT : IN]]; fsl_asrc_config_pair()
299 inrate, clk_index[ideal ? OUT : IN]); fsl_asrc_config_pair()
303 clk = asrc_priv->asrck_clk[clk_index[OUT]]; fsl_asrc_config_pair()
313 outrate, clk_index[OUT]); fsl_asrc_config_pair()
337 ASRCSR_AICS(index, clk_index[IN]) | fsl_asrc_config_pair()
338 ASRCSR_AOCS(index, clk_index[OUT])); fsl_asrc_config_pair()
/linux-4.4.14/drivers/clk/bcm/
H A Dclk-kona.c888 if (sel->clk_index == BAD_CLK_INDEX) { __sel_commit()
896 sel->clk_index = index; __sel_commit()
901 BUG_ON((u32)sel->clk_index >= sel->parent_count); __sel_commit()
902 parent_sel = sel->parent_sel[sel->clk_index]; __sel_commit()
951 previous = sel->clk_index; selector_write()
955 sel->clk_index = index; selector_write()
966 sel->clk_index = previous; /* Revert the change */ selector_write()
H A Dclk-kona.h346 u8 clk_index; /* current selected index in parent_sel[] */ member in struct:bcm_clk_sel
355 .clk_index = BAD_CLK_INDEX, \

Completed in 87 milliseconds