Lines Matching refs:source
180 switch (osc->source) { in enable_osc()
190 ERROR("Invalid oscillator %d\n", osc->source); in enable_osc()
202 if (pll->source == NULL) { in get_pll_parent()
206 return pll->source; in get_pll_parent()
248 const struct s32cc_clk_obj *source = pll->source; in get_pll_mux() local
251 if (source == NULL) { in get_pll_mux()
256 if (source->type != s32cc_clk_t) { in get_pll_mux()
261 clk = s32cc_obj2clk(source); in get_pll_mux()
268 source = clk->module; in get_pll_mux()
270 if ((source->type != s32cc_clkmux_t) && in get_pll_mux()
271 (source->type != s32cc_shared_clkmux_t)) { in get_pll_mux()
276 return s32cc_obj2clkmux(source); in get_pll_mux()
614 static int cgm_mux_clk_config(uintptr_t cgm_addr, uint32_t mux, uint32_t source, in cgm_mux_clk_config() argument
622 if ((MC_CGM_MUXn_CSS_SELSTAT(css) == source) && in cgm_mux_clk_config()
640 csc |= MC_CGM_MUXn_CSC_SELCTL(source) | MC_CGM_MUXn_CSC_CLK_SW; in cgm_mux_clk_config()
665 (MC_CGM_MUXn_CSS_SELSTAT(css) == source)) { in cgm_mux_clk_config()
670 mux, source, cgm_addr); in cgm_mux_clk_config()
1584 const struct s32cc_clk *source; in get_pll_freq() local
1622 source = s32cc_get_arch_clk(clk_src); in get_pll_freq()
1623 if (source == NULL) { in get_pll_freq()
1628 ret = get_module_rate(&source->desc, drv, &prate, ldepth); in get_pll_freq()