Searched refs:target_hz (Results 1 – 6 of 6) sorted by relevance
| /rk3399_ARM-atf/drivers/ti/clk/ |
| H A D | ti_clk.c | 28 uint32_t ti_clk_value_set_freq(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_value_set_freq() argument 37 if (target_hz < min_hz || target_hz > max_hz) { in ti_clk_value_set_freq() 46 if (!ti_clk_set_value(clkp->freq_idx, target_hz)) { in ti_clk_value_set_freq() 52 return target_hz; in ti_clk_value_set_freq() 82 uint32_t target_hz, uint32_t min_hz, in ti_clk_generic_set_freq_parent() argument 120 if (target_hz > max_possible_child_hz) { in ti_clk_generic_set_freq_parent() 123 parent_target_hz = target_hz * div; in ti_clk_generic_set_freq_parent() 152 uint32_t target_hz, in ti_clk_generic_set_freq() argument 169 target_hz, in ti_clk_generic_set_freq() 185 uint32_t ti_clk_set_freq(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_set_freq() argument [all …]
|
| H A D | ti_clk_div.c | 39 static uint32_t ti_clk_div_set_freq_dyn_parent(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_div_set_freq_dyn_parent() argument 92 new_target = target_hz * divider; in ti_clk_div_set_freq_dyn_parent() 101 if (new_target < target_hz) { in ti_clk_div_set_freq_dyn_parent() 136 if (new_parent_freq_div > target_hz) { in ti_clk_div_set_freq_dyn_parent() 137 delta = new_parent_freq_div - target_hz; in ti_clk_div_set_freq_dyn_parent() 139 delta = target_hz - new_parent_freq_div; in ti_clk_div_set_freq_dyn_parent() 166 hz = target_hz - (min_delta - 1U); in ti_clk_div_set_freq_dyn_parent() 167 if ((hz <= target_hz) && (updated_min_hz < hz)) { in ti_clk_div_set_freq_dyn_parent() 171 hz = target_hz + (min_delta - 1U); in ti_clk_div_set_freq_dyn_parent() 172 if ((hz >= target_hz) && (updated_max_hz > hz)) { in ti_clk_div_set_freq_dyn_parent() [all …]
|
| H A D | ti_clk_pll_16fft.c | 705 uint32_t target_hz, in ti_pll_16fft_set_freq() argument 757 target_hz, min_hz, max_hz, in ti_pll_16fft_set_freq() 795 uint32_t target_hz, in ti_pll_16fft_set_freq_table() argument 887 div0 = actual / target_hz; in ti_pll_16fft_set_freq_table() 902 div0_delta = div0_hz - target_hz; in ti_pll_16fft_set_freq_table() 907 div1_delta = target_hz - div1_hz; in ti_pll_16fft_set_freq_table() 951 uint32_t target_hz, in ti_clk_pll_16fft_set_freq() argument 1010 target_hz, min_hz, max_hz, in ti_clk_pll_16fft_set_freq() 1244 uint32_t target_hz, in ti_clk_pll_16fft_postdiv_set_freq() argument 1266 target_hz, min_hz, in ti_clk_pll_16fft_postdiv_set_freq() [all …]
|
| H A D | ti_pll.c | 1227 freq = drv->set_freq(clkp, dflt->target_hz, dflt->min_hz, in ti_pll_init()
|
| /rk3399_ARM-atf/drivers/ti/clk/include/ |
| H A D | ti_clk.h | 51 .target_hz = (uint32_t) (target), \ 105 uint32_t target_hz; member 177 uint32_t (*set_freq)(struct ti_clk *clkp, uint32_t target_hz, 223 uint32_t ti_clk_value_set_freq(struct ti_clk *clkp, uint32_t target_hz, 261 uint32_t target_hz, uint32_t min_hz, 275 uint32_t ti_clk_set_freq(struct ti_clk *clkp, uint32_t target_hz, uint32_t min_hz,
|
| H A D | ti_clk_div.h | 124 uint32_t ti_clk_div_set_freq(struct ti_clk *clkp, uint32_t target_hz, 149 uint32_t ti_clk_div_set_freq_static_parent(struct ti_clk *clkp, uint32_t target_hz,
|