/openbmc/linux/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()
|
/openbmc/linux/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
|
/openbmc/linux/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 450 unsigned long rate = req->rate; in si5351_pll_determine_rate() local 504 static int si5351_pll_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_pll_set_rate() 607 unsigned long long rate; in si5351_msynth_recalc_rate() local 650 unsigned long rate = req->rate; in si5351_msynth_determine_rate() local 760 static int si5351_msynth_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_msynth_set_rate() 1045 unsigned long rate = req->rate; in si5351_clkout_determine_rate() local 1095 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()
|
/openbmc/linux/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()
|
/openbmc/linux/sound/firewire/motu/ |
H A D | motu-protocol-v2.c | 34 static int get_clock_rate(u32 data, unsigned int *rate) in get_clock_rate() 46 unsigned int *rate) in snd_motu_protocol_v2_get_clock_rate() 60 unsigned int rate) in snd_motu_protocol_v2_set_clock_rate() 172 unsigned int rate; in switch_fetching_mode_spartan() local
|
/openbmc/linux/drivers/clk/ti/ |
H A D | dpll3xxx.c | 647 int omap3_noncore_dpll_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_noncore_dpll_set_rate() 696 unsigned long rate, in omap3_noncore_dpll_set_rate_and_parent() 844 unsigned long rate; in omap3_clkoutx2_recalc() local 1010 int omap3_dpll4_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate() 1038 int omap3_dpll4_set_rate_and_parent(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate_and_parent() 1055 unsigned int rate, m, n; in omap3_dpll5_apply_errata() member 1106 int omap3_dpll5_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll5_set_rate()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | tmu.c | 149 static int tb_switch_tmu_rate_write(struct tb_switch *sw, int rate) in tb_switch_tmu_rate_write() 295 static int tb_port_tmu_rate_write(struct tb_port *port, int rate) in tb_port_tmu_rate_write() 360 int ret, rate; in tmu_mode_init() local 623 unsigned int rate = tmu_rates[TB_SWITCH_TMU_MODE_OFF]; in tb_switch_tmu_off() local 771 unsigned int rate = tmu_rates[sw->tmu.mode_request]; in tb_switch_tmu_enable_enhanced() local 816 unsigned int rate = tmu_rates[sw->tmu.mode]; in tb_switch_tmu_change_mode_prev() local 862 unsigned int rate = tmu_rates[sw->tmu.mode_request]; in tb_switch_tmu_change_mode() local
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | clock-apq8016.c | 52 static int clk_init_sdc(struct msm_clk_priv *priv, int slot, uint rate) in clk_init_sdc() 96 ulong msm_set_rate(struct clk *clk, ulong rate) in msm_set_rate()
|
H A D | clock-apq8096.c | 43 static int clk_init_sdc(struct msm_clk_priv *priv, uint rate) in clk_init_sdc() 82 ulong msm_set_rate(struct clk *clk, ulong rate) in msm_set_rate()
|
/openbmc/u-boot/arch/arm/mach-zynq/ |
H A D | clk.c | 37 ulong rate; in set_cpu_clk_info() local 85 unsigned long rate; in soc_clk_dump() local
|
/openbmc/linux/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
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/clk/mmp/ |
H A D | clk-frac.c | 28 u64 rate = 0, prev_rate; in clk_factor_round_rate() local 56 u64 rate; in clk_factor_recalc_rate() local 85 u64 rate = 0; in clk_factor_set_rate() local
|
/openbmc/linux/drivers/clk/meson/ |
H A D | clk-mpll.c | 81 long rate; in mpll_recalc_rate() local 95 long rate; in mpll_determine_rate() local 109 unsigned long rate, in mpll_set_rate()
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-pll.c | 84 unsigned long rate; in clk_pll_recalc_rate() local 113 struct pll_freq_tbl *find_freq(const struct pll_freq_tbl *f, unsigned long rate) in find_freq() 141 clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long p_rate) in clk_pll_set_rate() 301 clk_pll_sr2_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long prate) in clk_pll_sr2_set_rate()
|
/openbmc/linux/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() 676 static int spll_clk_set_rate(struct clk_hw *hw, unsigned long rate, in spll_clk_set_rate() 783 static long sclk_round_rate(struct clk_hw *hw, unsigned long rate, in sclk_round_rate() [all …]
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi_ddc_clk.c | 27 static unsigned long sun4i_ddc_calc_divider(unsigned long rate, in sun4i_ddc_calc_divider() 62 static long sun4i_ddc_round_rate(struct clk_hw *hw, unsigned long rate, in sun4i_ddc_round_rate() 86 static int sun4i_ddc_set_rate(struct clk_hw *hw, unsigned long rate, in sun4i_ddc_set_rate()
|
/openbmc/linux/drivers/clk/xilinx/ |
H A D | clk-xlnx-clock-wizard.c | 164 static int clk_wzrd_dynamic_reconfig(struct clk_hw *hw, unsigned long rate, in clk_wzrd_dynamic_reconfig() 212 static long clk_wzrd_round_rate(struct clk_hw *hw, unsigned long rate, in clk_wzrd_round_rate() 226 static int clk_wzrd_get_divisors(struct clk_hw *hw, unsigned long rate, in clk_wzrd_get_divisors() 254 static int clk_wzrd_dynamic_all_nolock(struct clk_hw *hw, unsigned long rate, in clk_wzrd_dynamic_all_nolock() 302 static int clk_wzrd_dynamic_all(struct clk_hw *hw, unsigned long rate, in clk_wzrd_dynamic_all() 336 static long clk_wzrd_round_rate_all(struct clk_hw *hw, unsigned long rate, in clk_wzrd_round_rate_all() 390 static int clk_wzrd_dynamic_reconfig_f(struct clk_hw *hw, unsigned long rate, in clk_wzrd_dynamic_reconfig_f() 432 static long clk_wzrd_round_rate_f(struct clk_hw *hw, unsigned long rate, in clk_wzrd_round_rate_f() 595 unsigned long rate; in clk_wzrd_probe() local
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | clock.c | 246 unsigned long rate) in clk_get_divider() 263 int clock_set_pllout(enum clock_id clkid, enum pll_out_id pllout, unsigned rate) in clock_set_pllout() 302 u64 rate; in get_rate_from_divider() local 369 unsigned long rate, int *extra_div) in find_best_divider() 440 enum clock_id parent, unsigned rate, int *extra_div) in clock_adjust_periph_pll_div() 474 enum clock_id parent, unsigned rate) in clock_start_periph_pll() 536 u64 parent_rate, rate; in clock_get_rate() local
|
/openbmc/linux/arch/arm/mach-ep93xx/ |
H A D | clock.c | 47 static unsigned long calc_pll_rate(unsigned long long rate, u32 config_word) in calc_pll_rate() 202 static bool is_best(unsigned long rate, unsigned long now, in is_best() 211 unsigned long rate = req->rate; in ep93xx_mux_determine_rate() local 263 unsigned long rate = 0; in ep93xx_ddiv_recalc_rate() local 274 static int ep93xx_ddiv_set_rate(struct clk_hw *hw, unsigned long rate, in ep93xx_ddiv_set_rate() 368 static long ep93xx_div_round_rate(struct clk_hw *hw, unsigned long rate, in ep93xx_div_round_rate() 393 static int ep93xx_div_set_rate(struct clk_hw *hw, unsigned long rate, in ep93xx_div_set_rate()
|
/openbmc/linux/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()
|
/openbmc/u-boot/drivers/clk/rockchip/ |
H A D | clk_rk3368.c | 159 u32 div, con, con_id, rate; in rk3368_mmc_get_clk() local 199 ulong rate, in rk3368_mmc_find_best_rate_and_parent() 208 ulong rate; in rk3368_mmc_find_best_rate_and_parent() member 249 static ulong rk3368_mmc_set_clk(struct clk *clk, ulong rate) in rk3368_mmc_set_clk() 455 ulong rate = 0; in rk3368_clk_get_rate() local 484 static ulong rk3368_clk_set_rate(struct clk *clk, ulong rate) in rk3368_clk_set_rate()
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | juli.c | 140 static int get_gpio_val(int rate) in get_gpio_val() 171 int rate; in juli_spdif_in_open() local 208 static void juli_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in juli_akm_set_rate_val() 494 static void juli_set_rate(struct snd_ice1712 *ice, unsigned int rate) in juli_set_rate() 512 unsigned int rate) in juli_set_mclk() 534 int rate; in juli_ak4114_change() local
|