| /OK3568_Linux_fs/kernel/drivers/clk/mvebu/ |
| H A D | clk-cpu.c | 59 static long clk_cpu_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_round_rate() 74 static int clk_cpu_off_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_off_set_rate() 108 static int clk_cpu_on_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_on_set_rate() 151 static int clk_cpu_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_set_rate()
|
| /OK3568_Linux_fs/kernel/drivers/clk/ |
| H A D | clk-sparx5.c | 61 unsigned long rate = parent_rate / conf->div; in s5_calc_freq() local 75 static void s5_search_fractional(unsigned long rate, in s5_search_fractional() 108 static unsigned long s5_calc_params(unsigned long rate, in s5_calc_params() 166 unsigned long rate, in s5_pll_set_rate() 216 static long s5_pll_round_rate(struct clk_hw *hw, unsigned long rate, in s5_pll_round_rate()
|
| H A D | clk-si5351.c | 270 unsigned long rate; in si5351_clkin_recalc_rate() local 326 static int si5351_vxco_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_vxco_set_rate() 421 unsigned long long rate; in si5351_pll_recalc_rate() local 445 static long si5351_pll_round_rate(struct clk_hw *hw, unsigned long rate, in si5351_pll_round_rate() 502 static int si5351_pll_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_pll_set_rate() 605 unsigned long long rate; in si5351_msynth_recalc_rate() local 643 static long si5351_msynth_round_rate(struct clk_hw *hw, unsigned long rate, in si5351_msynth_round_rate() 755 static int si5351_msynth_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_msynth_set_rate() 1028 static long si5351_clkout_round_rate(struct clk_hw *hw, unsigned long rate, in si5351_clkout_round_rate() 1081 static int si5351_clkout_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_clkout_set_rate()
|
| H A D | clk-vt8500.c | 131 static long vt8500_dclk_round_rate(struct clk_hw *hw, unsigned long rate, in vt8500_dclk_round_rate() 157 static int vt8500_dclk_set_rate(struct clk_hw *hw, unsigned long rate, in vt8500_dclk_set_rate() 350 static int vt8500_find_pll_bits(unsigned long rate, unsigned long parent_rate, in vt8500_find_pll_bits() 389 static int wm8650_find_pll_bits(unsigned long rate, in wm8650_find_pll_bits() 452 static int wm8750_find_pll_bits(unsigned long rate, unsigned long parent_rate, in wm8750_find_pll_bits() 500 static int wm8850_find_pll_bits(unsigned long rate, unsigned long parent_rate, in wm8850_find_pll_bits() 546 static int vtwm_pll_set_rate(struct clk_hw *hw, unsigned long rate, in vtwm_pll_set_rate() 597 static long vtwm_pll_round_rate(struct clk_hw *hw, unsigned long rate, in vtwm_pll_round_rate()
|
| /OK3568_Linux_fs/kernel/sound/soc/mediatek/mt6797/ |
| H A D | mt6797-afe-pcm.c | 55 unsigned int rate) in mt6797_general_rate_transform() 96 unsigned int rate) in dai_memif_rate_transform() 113 unsigned int rate, int aud_blk) in mt6797_rate_transform() 140 unsigned int rate) in mt6797_memif_fs() 151 static int mt6797_irq_fs(struct snd_pcm_substream *substream, unsigned int rate) in mt6797_irq_fs()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | tlv320aic32x4-clk.c | 143 u64 rate; in clk_aic32x4_pll_calc_rate() local 155 unsigned long rate, unsigned long parent_rate) in clk_aic32x4_pll_calc_muldiv() 208 unsigned long rate, in clk_aic32x4_pll_round_rate() 222 unsigned long rate, in clk_aic32x4_pll_set_rate() 315 static int clk_aic32x4_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_aic32x4_div_set_rate() 329 static long clk_aic32x4_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_aic32x4_div_round_rate()
|
| /OK3568_Linux_fs/kernel/drivers/clk/ti/ |
| H A D | dpll3xxx.c | 561 int omap3_noncore_dpll_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_noncore_dpll_set_rate() 610 unsigned long rate, in omap3_noncore_dpll_set_rate_and_parent() 757 unsigned long rate; in omap3_clkoutx2_recalc() local 923 int omap3_dpll4_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate() 951 int omap3_dpll4_set_rate_and_parent(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate_and_parent() 968 unsigned int rate, m, n; in omap3_dpll5_apply_errata() member 1019 int omap3_dpll5_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll5_set_rate()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmwifi_rspec.c | 62 uint rate = (uint)(-1); in _wf_rspec_to_rate() local 157 uint8 rate; in wf_he_plcp_to_rspec() local 205 uint8 rate; in wf_vht_plcp_to_rspec() local
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/kona-common/ |
| H A D | clk-stubs.c | 13 int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep) in clk_sdio_enable() 18 int __weak clk_bsc_enable(void *base, u32 rate, u32 *actual_ratep) in clk_bsc_enable()
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi-ng/ |
| H A D | ccu_nkm.c | 19 static void ccu_nkm_find_best(unsigned long parent, unsigned long rate, in ccu_nkm_find_best() 75 unsigned long n, m, k, rate; in ccu_nkm_recalc_rate() local 109 unsigned long rate, in ccu_nkm_round_rate() 144 static int ccu_nkm_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nkm_set_rate()
|
| /OK3568_Linux_fs/kernel/arch/c6x/platforms/ |
| H A D | pll.c | 81 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 105 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 209 unsigned long rate = clk->rate; in clk_sysclk_recalc() local 270 unsigned long rate = clk->rate; in clk_pllclk_recalc() local
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/ |
| H A D | clk-pll.c | 118 int rockchip_pll_clk_rate_to_scale(struct clk *clk, unsigned long rate) in rockchip_pll_clk_rate_to_scale() 396 struct rockchip_clk_pll *pll, unsigned long rate) in rockchip_get_pll_settings() 511 struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_get_params() 564 const struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_set_params() 631 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_set_rate() local 686 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_init() local 768 struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_get_params() 815 const struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_set_params() 877 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_set_rate() local 937 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_init() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/sh4/ |
| H A D | clock-sh4-202.c | 28 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup() 94 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate() 109 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate) in shoc_clk_set_rate()
|
| /OK3568_Linux_fs/kernel/drivers/clocksource/ |
| H A D | timer-integrator-ap.c | 30 unsigned long rate = inrate; in integrator_clocksource_init() local 129 unsigned long rate = inrate; in integrator_clockevent_init() local 165 unsigned long rate; in integrator_ap_timer_init_of() local
|
| /OK3568_Linux_fs/kernel/drivers/clk/microchip/ |
| H A D | clk-core.c | 119 static unsigned long calc_best_divided_rate(unsigned long rate, in calc_best_divided_rate() 158 static long pbclk_round_rate(struct clk_hw *hw, unsigned long rate, in pbclk_round_rate() 165 static int pbclk_set_rate(struct clk_hw *hw, unsigned long rate, in pbclk_set_rate() 317 static void roclk_calc_div_trim(unsigned long rate, in roclk_calc_div_trim() 375 static long roclk_round_rate(struct clk_hw *hw, unsigned long rate, in roclk_round_rate() 476 unsigned long rate, in roclk_set_rate_and_parent() 537 static int roclk_set_rate(struct clk_hw *hw, unsigned long rate, in roclk_set_rate() 599 unsigned long rate, in spll_calc_mult_div() 668 static long spll_clk_round_rate(struct clk_hw *hw, unsigned long rate, in spll_clk_round_rate() 676 static int spll_clk_set_rate(struct clk_hw *hw, unsigned long rate, in spll_clk_set_rate() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/clk/rockchip/ |
| H A D | clk_rk3368.c | 32 ulong rate; member 295 u32 div, con, con_id, rate; in rk3368_mmc_get_clk() local 335 ulong rate, in rk3368_mmc_find_best_rate_and_parent() 344 ulong rate; in rk3368_mmc_find_best_rate_and_parent() member 385 static ulong rk3368_mmc_set_clk(struct clk *clk, ulong rate) in rk3368_mmc_set_clk() 871 const struct rockchip_cpu_rate_table *rate; in rk3368_armclk_set_clk() local 931 ulong rate = 0; in rk3368_clk_get_rate() local 997 static ulong rk3368_clk_set_rate(struct clk *clk, ulong rate) in rk3368_clk_set_rate() 1144 ulong rate; in rk3368_mmc_get_phase() local 1180 ulong rate; in rk3368_mmc_set_phase() local [all …]
|
| H A D | clk_rk3328.c | 121 const struct rockchip_cpu_rate_table *rate; in rk3328_armclk_set_clk() local 243 static ulong rk3328_gmac2io_set_clk(struct rk3328_clk_priv *priv, ulong rate) in rk3328_gmac2io_set_clk() 282 static ulong rk3328_gmac2phy_src_set_clk(struct rk3328_cru *cru, ulong rate) in rk3328_gmac2phy_src_set_clk() 303 static ulong rk3328_gmac2phy_set_clk(struct rk3328_cru *cru, ulong rate) in rk3328_gmac2phy_set_clk() 784 ulong rate = 0; in rk3328_clk_get_rate() local 867 static ulong rk3328_clk_set_rate(struct clk *clk, ulong rate) in rk3328_clk_set_rate() 1161 ulong rate; in rk3328_mmc_get_phase() local 1197 ulong rate; in rk3328_mmc_set_phase() local 1421 unsigned long rate; in soc_clk_dump() local
|
| /OK3568_Linux_fs/kernel/drivers/clk/imx/ |
| H A D | clk-pll14xx.c | 90 struct clk_pll14xx *pll, unsigned long rate) in imx_get_pll_settings() 102 static long clk_pll14xx_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pll14xx_round_rate() 160 static inline bool clk_pll14xx_mp_change(const struct imx_pll14xx_rate_table *rate, in clk_pll14xx_mp_change() 183 const struct imx_pll14xx_rate_table *rate; in clk_pll1416x_set_rate() local 249 const struct imx_pll14xx_rate_table *rate; in clk_pll1443x_set_rate() local
|
| /OK3568_Linux_fs/kernel/sound/firewire/dice/ |
| H A D | dice-pcm.c | 27 unsigned int i, rate; in dice_rate_constraint() local 65 unsigned int i, rate; in dice_channels_constraint() local 106 unsigned int rate, channels; in limit_channels_and_rates() local 208 unsigned int rate; in pcm_open() local 270 unsigned int rate = params_rate(hw_params); in pcm_hw_params() local
|
| /OK3568_Linux_fs/kernel/sound/soc/mediatek/mt8183/ |
| H A D | mt8183-afe-pcm.c | 57 unsigned int rate) in mt8183_general_rate_transform() 98 unsigned int rate) in dai_memif_rate_transform() 117 unsigned int rate, int aud_blk) in mt8183_rate_transform() 143 unsigned int rate) in mt8183_memif_fs() 154 static int mt8183_irq_fs(struct snd_pcm_substream *substream, unsigned int rate) in mt8183_irq_fs()
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/regmap/ |
| H A D | clk-regmap-fractional-divider.c | 41 unsigned long rate, unsigned long *parent_rate, in clk_regmap_fractional_divider_approximation() 73 clk_regmap_fractional_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_regmap_fractional_divider_round_rate() 95 clk_regmap_fractional_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_regmap_fractional_divider_set_rate()
|
| /OK3568_Linux_fs/kernel/drivers/clk/meson/ |
| H A D | sclk-div.c | 41 static int sclk_div_getdiv(struct clk_hw *hw, unsigned long rate, in sclk_div_getdiv() 49 static int sclk_div_bestdiv(struct clk_hw *hw, unsigned long rate, in sclk_div_bestdiv() 99 static long sclk_div_round_rate(struct clk_hw *hw, unsigned long rate, in sclk_div_round_rate() 166 static int sclk_div_set_rate(struct clk_hw *hw, unsigned long rate, in sclk_div_set_rate()
|
| /OK3568_Linux_fs/kernel/drivers/clk/st/ |
| H A D | clkgen-pll.c | 304 unsigned long *rate) in clk_pll3200c32_get_rate() 319 unsigned long rate = 0; in recalc_stm_pll3200c32() local 336 static long round_rate_stm_pll3200c32(struct clk_hw *hw, unsigned long rate, in round_rate_stm_pll3200c32() 357 static int set_rate_stm_pll3200c32(struct clk_hw *hw, unsigned long rate, in set_rate_stm_pll3200c32() 460 unsigned long *rate) in clk_pll4600c28_get_rate() 475 unsigned long rate; in recalc_stm_pll4600c28() local 490 static long round_rate_stm_pll4600c28(struct clk_hw *hw, unsigned long rate, in round_rate_stm_pll4600c28() 511 static int set_rate_stm_pll4600c28(struct clk_hw *hw, unsigned long rate, in set_rate_stm_pll4600c28()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/ |
| H A D | clock.c | 247 unsigned long rate) in clk_get_divider() 264 int clock_set_pllout(enum clock_id clkid, enum pll_out_id pllout, unsigned rate) in clock_set_pllout() 303 u64 rate; in get_rate_from_divider() local 370 unsigned long rate, int *extra_div) in find_best_divider() 441 enum clock_id parent, unsigned rate, int *extra_div) in clock_adjust_periph_pll_div() 475 enum clock_id parent, unsigned rate) in clock_start_periph_pll() 537 u64 parent_rate, rate; in clock_get_rate() local
|
| /OK3568_Linux_fs/kernel/drivers/clk/at91/ |
| H A D | clk-audio-pll.c | 216 static int clk_audio_pll_frac_compute_frac(unsigned long rate, in clk_audio_pll_frac_compute_frac() 273 static long clk_audio_pll_pad_round_rate(struct clk_hw *hw, unsigned long rate, in clk_audio_pll_pad_round_rate() 324 static long clk_audio_pll_pmc_round_rate(struct clk_hw *hw, unsigned long rate, in clk_audio_pll_pmc_round_rate() 364 static int clk_audio_pll_frac_set_rate(struct clk_hw *hw, unsigned long rate, in clk_audio_pll_frac_set_rate() 387 static int clk_audio_pll_pad_set_rate(struct clk_hw *hw, unsigned long rate, in clk_audio_pll_pad_set_rate() 411 static int clk_audio_pll_pmc_set_rate(struct clk_hw *hw, unsigned long rate, in clk_audio_pll_pmc_set_rate()
|