Home
last modified time | relevance | path

Searched defs:rate (Results 76 – 100 of 1785) sorted by relevance

12345678910>>...72

/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dclock-sh4-202.c28 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 Dtimer-integrator-ap.c30 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 Dclk-sparx5.c61 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 Dclk-si5351.c270 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 Dclk-vt8500.c131 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 Dmt6797-afe-pcm.c55 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 Dmotu-protocol-v2.c34 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 Ddpll3xxx.c647 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 Dtmu.c149 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 Dclock-apq8016.c52 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 Dclock-apq8096.c43 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 Dclk.c37 ulong rate; in set_cpu_clk_info() local
85 unsigned long rate; in soc_clk_dump() local
/openbmc/linux/sound/firewire/dice/
H A Ddice-pcm.c27 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 Dmt8183-afe-pcm.c57 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 Dclk-frac.c28 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 Dclk-mpll.c81 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 Dclk-pll.c84 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 Dclk-core.c119 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 Dsun4i_hdmi_ddc_clk.c27 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 Dclk-xlnx-clock-wizard.c164 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 Dclock.c246 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 Dclock.c47 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 Dclk-audio-pll.c216 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 Dclk_rk3368.c159 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 Djuli.c140 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

12345678910>>...72