/linux-master/drivers/clk/spear/ |
H A D | clk.c | 13 long clk_round_rate_index(struct clk_hw *hw, unsigned long drate, argument 22 if (drate < rate) {
|
H A D | clk-vco-pll.c | 81 static long clk_pll_round_rate_index(struct clk_hw *hw, unsigned long drate, argument 99 if (drate < rate) { 113 static long clk_pll_round_rate(struct clk_hw *hw, unsigned long drate, argument 118 return clk_pll_round_rate_index(hw, drate, prate, &unused); 141 static int clk_pll_set_rate(struct clk_hw *hw, unsigned long drate, argument 149 clk_pll_round_rate_index(hw, drate, NULL, &i); 179 static long clk_vco_round_rate(struct clk_hw *hw, unsigned long drate, argument 185 return clk_round_rate_index(hw, drate, *prate, vco_calc_rate, 227 static int clk_vco_set_rate(struct clk_hw *hw, unsigned long drate, argument 235 clk_round_rate_index(hw, drate, prat [all...] |
H A D | clk-frac-synth.c | 55 static long clk_frac_round_rate(struct clk_hw *hw, unsigned long drate, argument 61 return clk_round_rate_index(hw, drate, *prate, frac_calc_rate, 92 static int clk_frac_set_rate(struct clk_hw *hw, unsigned long drate, argument 100 clk_round_rate_index(hw, drate, prate, frac_calc_rate, frac->rtbl_cnt,
|
H A D | clk-gpt-synth.c | 42 static long clk_gpt_round_rate(struct clk_hw *hw, unsigned long drate, argument 48 return clk_round_rate_index(hw, drate, *prate, gpt_calc_rate, 77 static int clk_gpt_set_rate(struct clk_hw *hw, unsigned long drate, argument 85 clk_round_rate_index(hw, drate, prate, gpt_calc_rate, gpt->rtbl_cnt,
|
H A D | clk-aux-synth.c | 52 static long clk_aux_round_rate(struct clk_hw *hw, unsigned long drate, argument 58 return clk_round_rate_index(hw, drate, *prate, aux_calc_rate, 96 static int clk_aux_set_rate(struct clk_hw *hw, unsigned long drate, argument 104 clk_round_rate_index(hw, drate, prate, aux_calc_rate, aux->rtbl_cnt,
|
H A D | clk.h | 127 long clk_round_rate_index(struct clk_hw *hw, unsigned long drate,
|
/linux-master/drivers/clk/mmp/ |
H A D | clk-frac.c | 24 static long clk_factor_round_rate(struct clk_hw *hw, unsigned long drate, argument 37 if (rate > drate) 43 if ((drate - prev_rate) > (rate - drate)) 77 static int clk_factor_set_rate(struct clk_hw *hw, unsigned long drate, argument 92 if (rate > drate)
|
/linux-master/drivers/clk/rockchip/ |
H A D | clk-pll.c | 65 unsigned long drate, unsigned long *prate) 73 if (drate >= rate_table[i].rate) 248 static int rockchip_rk3036_pll_set_rate(struct clk_hw *hw, unsigned long drate, argument 255 __func__, __clk_get_name(hw->clk), drate, prate); 258 rate = rockchip_get_pll_settings(pll, drate); 261 drate, __clk_get_name(hw->clk)); 301 unsigned long drate; local 306 drate = clk_hw_get_rate(hw); 307 rate = rockchip_get_pll_settings(pll, drate); 316 drate); 64 rockchip_pll_round_rate(struct clk_hw *hw, unsigned long drate, unsigned long *prate) argument 483 rockchip_rk3066_pll_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) argument 536 unsigned long drate; local 732 rockchip_rk3399_pll_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) argument 785 unsigned long drate; local 978 rockchip_rk3588_pll_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) argument [all...] |
H A D | clk-ddr.c | 29 static int rockchip_ddrclk_sip_set_rate(struct clk_hw *hw, unsigned long drate, argument 37 arm_smccc_smc(ROCKCHIP_SIP_DRAM_FREQ, drate, 0,
|
/linux-master/drivers/clk/samsung/ |
H A D | clk-pll.c | 53 unsigned long drate, unsigned long *prate) 61 if (drate >= rate_table[i].rate) 248 static int samsung_pll35xx_set_rate(struct clk_hw *hw, unsigned long drate, argument 256 rate = samsung_get_pll_settings(pll, drate); 259 drate, clk_hw_get_name(hw)); 358 static int samsung_pll36xx_set_rate(struct clk_hw *hw, unsigned long drate, argument 365 rate = samsung_get_pll_settings(pll, drate); 368 drate, clk_hw_get_name(hw)); 454 static int samsung_pll0822x_set_rate(struct clk_hw *hw, unsigned long drate, argument 462 rate = samsung_get_pll_settings(pll, drate); 52 samsung_pll_round_rate(struct clk_hw *hw, unsigned long drate, unsigned long *prate) argument 543 samsung_pll0831x_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long parent_rate) argument 653 samsung_pll45xx_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) argument 790 samsung_pll46xx_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) argument 1028 samsung_pll2550xx_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) argument 1123 samsung_pll2650x_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) argument 1214 samsung_pll2650xx_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long parent_rate) argument [all...] |
H A D | clk-cpu.c | 570 static long exynos_cpuclk_round_rate(struct clk_hw *hw, unsigned long drate, argument 574 *prate = clk_hw_round_rate(parent, drate);
|
/linux-master/drivers/clk/imx/ |
H A D | clk-pll14xx.c | 284 static int clk_pll1416x_set_rate(struct clk_hw *hw, unsigned long drate, argument 292 rate = imx_get_pll_settings(pll, drate); 294 pr_err("Invalid rate %lu for pll clk %s\n", drate, 350 static int clk_pll1443x_set_rate(struct clk_hw *hw, unsigned long drate, argument 358 imx_pll14xx_calc_settings(pll, drate, prate, &rate);
|
H A D | clk-fracn-gppll.c | 224 static int clk_fracn_gppll_set_rate(struct clk_hw *hw, unsigned long drate, argument 232 rate = imx_get_pll_settings(pll, drate);
|
/linux-master/arch/arm/mach-versatile/ |
H A D | spc.c | 500 static long spc_round_rate(struct clk_hw *hw, unsigned long drate, argument 505 return ve_spc_round_performance(spc->cluster, drate);
|
/linux-master/drivers/clk/st/ |
H A D | clkgen-fsyn.c | 775 static long quadfs_find_best_rate(struct clk_hw *hw, unsigned long drate, argument 787 if (!clk_fs_get_params(prate, drate, params))
|
/linux-master/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 1191 unsigned int drate = 0, hrate = 0; local 1219 drate = 1000000000 / pixclock; 1220 hrate = (drate * 1000) / htotal; 1437 unsigned int drate = 0, hrate = 0, maxyres; local 1525 drate = 1000000000 / pixclock; 1526 hrate = (drate * 1000) / htotal; 1543 drate = 1000000000 / pixclock; 1544 hrate = (drate * 1000) / htotal;
|