Home
last modified time | relevance | path

Searched refs:clk_index (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/sound/soc/fsl/
Dfsl_asrc.c333 u32 clk_index[2], div[2], rem[2]; in fsl_asrc_config_pair() local
411 clk_index[IN] = asrc_priv->clk_map[IN][config->inclk]; in fsl_asrc_config_pair()
412 clk_index[OUT] = asrc_priv->clk_map[OUT][config->outclk]; in fsl_asrc_config_pair()
415 clk = asrc_priv->asrck_clk[clk_index[ideal ? OUT : IN]]; in fsl_asrc_config_pair()
430 inrate, clk_index[ideal ? OUT : IN]); in fsl_asrc_config_pair()
436 clk = asrc_priv->asrck_clk[clk_index[OUT]]; in fsl_asrc_config_pair()
447 outrate, clk_index[OUT]); in fsl_asrc_config_pair()
473 ASRCSR_AICS(index, clk_index[IN]) | in fsl_asrc_config_pair()
474 ASRCSR_AOCS(index, clk_index[OUT])); in fsl_asrc_config_pair()
612 int clk_rate, clk_index; in fsl_asrc_select_clk() local
[all …]
/Linux-v5.10/drivers/clk/bcm/
Dclk-kona.c889 if (sel->clk_index == BAD_CLK_INDEX) { in __sel_commit()
897 sel->clk_index = index; in __sel_commit()
902 BUG_ON((u32)sel->clk_index >= sel->parent_count); in __sel_commit()
903 parent_sel = sel->parent_sel[sel->clk_index]; in __sel_commit()
952 previous = sel->clk_index; in selector_write()
956 sel->clk_index = index; in selector_write()
967 sel->clk_index = previous; /* Revert the change */ in selector_write()
Dclk-kona.h346 u8 clk_index; /* current selected index in parent_sel[] */ member
355 .clk_index = BAD_CLK_INDEX, \
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c892 uint32_t clk_index = 0; in navi10_is_support_fine_grained_dpm() local
894 clk_index = smu_cmn_to_asic_specific_index(smu, in navi10_is_support_fine_grained_dpm()
897 dpm_desc = &pptable->DpmDescriptor[clk_index]; in navi10_is_support_fine_grained_dpm()
Dsienna_cichlid_ppt.c892 uint32_t clk_index = 0; in sienna_cichlid_is_support_fine_grained_dpm() local
894 clk_index = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_is_support_fine_grained_dpm()
897 dpm_desc = &pptable->DpmDescriptor[clk_index]; in sienna_cichlid_is_support_fine_grained_dpm()