Home
last modified time | relevance | path

Searched refs:clkod (Results 1 – 4 of 4) sorted by relevance

/rk3399_ARM-atf/drivers/ti/clk/include/
H A Dti_clk_pll.h51 uint8_t clkod; member
176 bool (*clkod_valid)(struct ti_clk *clkp, uint32_t clkod);
188 bool is_frac, uint32_t clkod);
206 uint32_t pllm, uint32_t clkod);
224 uint32_t pllm, uint32_t clkod);
269 uint32_t *clkod);
/rk3399_ARM-atf/drivers/ti/clk/
H A Dti_pll.c55 uint32_t *clkod; member
97 clkod_plld = entry->plld * entry->clkod; in ti_pll_consider_entry()
170 *data->clkod = entry->clkod; in ti_pll_consider_entry()
387 *data->clkod = data->curr_clkod; in ti_pll_consider()
719 uint32_t clkod; in ti_pll_internal_calc() local
902 for (clkod = lowest_clkod; clkod <= highest_clkod; clkod++) { in ti_pll_internal_calc()
916 (uint64_t)clkod * consider_data->min, in ti_pll_internal_calc()
919 uint64_t vco_max = (uint64_t)clkod * (consider_data->max + 1) - 1U; in ti_pll_internal_calc()
923 if (data->clkod_valid && !data->clkod_valid(clkp, clkod)) { in ti_pll_internal_calc()
927 consider_data->curr_clkod = clkod; in ti_pll_internal_calc()
[all …]
H A Dti_clk_pll_16fft.c136 uint32_t clkod __unused) in ti_pll_16fft_bin()
202 static bool ti_pll_16fft_clkod_valid(struct ti_clk *clock_ptr __unused, uint32_t clkod) in ti_pll_16fft_clkod_valid() argument
204 return (clkod < ARRAY_SIZE(postdiv_mapping)) && (postdiv_mapping[clkod] != 0U); in ti_pll_16fft_clkod_valid()
499 uint32_t clkod) in ti_clk_pll_16fft_get_freq_internal() argument
528 clkod_plld = clkod * plld; in ti_clk_pll_16fft_get_freq_internal()
578 uint32_t clkod) in ti_clk_pll_16fft_program_freq() argument
662 ret = drv_div->set_div(div_clk, clkod); in ti_clk_pll_16fft_program_freq()
722 uint32_t clkod = 0U; in ti_pll_16fft_set_freq() local
758 &plld, &pllm, &pllfm, &clkod); in ti_pll_16fft_set_freq()
762 if ((plld == prev_plld) && (pllm == prev_pllm) && (clkod == prev_clkod) && in ti_pll_16fft_set_freq()
[all …]
/rk3399_ARM-atf/plat/ti/k3low/common/pm/
H A Dti_clocks.c170 .clkod = 2U,
178 .clkod = 2U,
186 .clkod = 2U,
194 .clkod = 2U,
202 .clkod = 2U,
210 .clkod = 2U,
218 .clkod = 1U,
226 .clkod = 1U,
234 .clkod = 1U,
242 .clkod = 1U,
[all …]