| /linux/drivers/clk/rockchip/ |
| H A D | clk-pll.c | 255 static int rockchip_rk3036_pll_set_rate(struct clk_hw *hw, unsigned long drate, in rockchip_rk3036_pll_set_rate() argument 262 __func__, __clk_get_name(hw->clk), drate, prate); in rockchip_rk3036_pll_set_rate() 265 rate = rockchip_get_pll_settings(pll, drate); in rockchip_rk3036_pll_set_rate() 268 drate, __clk_get_name(hw->clk)); in rockchip_rk3036_pll_set_rate() 308 unsigned long drate; in rockchip_rk3036_pll_init() local 313 drate = clk_hw_get_rate(hw); in rockchip_rk3036_pll_init() 314 rate = rockchip_get_pll_settings(pll, drate); in rockchip_rk3036_pll_init() 323 drate); in rockchip_rk3036_pll_init() 490 static int rockchip_rk3066_pll_set_rate(struct clk_hw *hw, unsigned long drate, in rockchip_rk3066_pll_set_rate() argument 497 __func__, clk_hw_get_name(hw), drate, prate); in rockchip_rk3066_pll_set_rate() [all …]
|
| H A D | clk-ddr.c | 29 static int rockchip_ddrclk_sip_set_rate(struct clk_hw *hw, unsigned long drate, in rockchip_ddrclk_sip_set_rate() argument 37 arm_smccc_smc(ROCKCHIP_SIP_DRAM_FREQ, drate, 0, in rockchip_ddrclk_sip_set_rate()
|
| /linux/drivers/clk/spear/ |
| H A D | clk.c | 13 long clk_round_rate_index(struct clk_hw *hw, unsigned long drate, in clk_round_rate_index() argument 22 if (drate < rate) { in clk_round_rate_index()
|
| H A D | clk-frac-synth.c | 94 static int clk_frac_set_rate(struct clk_hw *hw, unsigned long drate, in clk_frac_set_rate() argument 102 clk_round_rate_index(hw, drate, prate, frac_calc_rate, frac->rtbl_cnt, in clk_frac_set_rate()
|
| H A D | clk-gpt-synth.c | 79 static int clk_gpt_set_rate(struct clk_hw *hw, unsigned long drate, in clk_gpt_set_rate() argument 87 clk_round_rate_index(hw, drate, prate, gpt_calc_rate, gpt->rtbl_cnt, in clk_gpt_set_rate()
|
| H A D | clk-aux-synth.c | 98 static int clk_aux_set_rate(struct clk_hw *hw, unsigned long drate, in clk_aux_set_rate() argument 106 clk_round_rate_index(hw, drate, prate, aux_calc_rate, aux->rtbl_cnt, in clk_aux_set_rate()
|
| H A D | clk.h | 127 long clk_round_rate_index(struct clk_hw *hw, unsigned long drate,
|
| /linux/drivers/iio/adc/ |
| H A D | ti-ads1018.c | 252 u32 drate = ads1018->chip_info->data_rate_mode_to_hz[max_drate_mode]; in ads1018_single_shot() local 259 .value = ads1018_calc_delay(drate), in ads1018_single_shot() 490 unsigned int pga, drate, addr; in ads1018_buffer_preenable() local 496 drate = ads1018->chan_data[addr].data_rate_mode; in ads1018_buffer_preenable() 502 cfg |= FIELD_PREP(ADS1018_CFG_DRATE_MASK, drate); in ads1018_buffer_preenable()
|
| /linux/drivers/clk/mmp/ |
| H A D | clk-frac.c | 78 static int clk_factor_set_rate(struct clk_hw *hw, unsigned long drate, in clk_factor_set_rate() argument 94 if (rate > drate) in clk_factor_set_rate()
|
| /linux/drivers/clk/st/ |
| H A D | clkgen-fsyn.c | 774 static long quadfs_find_best_rate(struct clk_hw *hw, unsigned long drate, in quadfs_find_best_rate() argument 786 if (!clk_fs_get_params(prate, drate, params)) in quadfs_find_best_rate()
|