/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2500.c | 140 u32 rate = 0; in ast2500_get_hclk() local 148 u32 rate = 0; in ast2500_get_pclk() local 194 ulong rate; in ast2500_clk_get_rate() local 244 ulong rate; member 329 static ulong ast2500_configure_ddr(struct ast2500_scu *scu, ulong rate) in ast2500_configure_ddr() 353 static ulong ast2500_configure_d2pll(struct ast2500_scu *scu, ulong rate) in ast2500_configure_d2pll() 404 static unsigned long ast2500_clk_set_rate(struct clk *clk, ulong rate) in ast2500_clk_set_rate() 668 unsigned long rate; in soc_clk_dump() local
|
/openbmc/linux/sound/pci/ac97/ |
H A D | ac97_pcm.c | 159 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate() 243 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate) in snd_ac97_set_rate() 555 int snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate, in snd_ac97_pcm_open() 692 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_rate() local 701 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_channels() local
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_nkm.c | 21 unsigned long *parent, unsigned long rate, in ccu_nkm_find_best_with_parent_adj() 58 static unsigned long ccu_nkm_find_best(unsigned long parent, unsigned long rate, in ccu_nkm_find_best() 114 unsigned long n, m, k, rate; in ccu_nkm_recalc_rate() local 148 unsigned long rate, in ccu_nkm_round_rate() 185 static int ccu_nkm_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nkm_set_rate()
|
H A D | ccu_gate.c | 82 unsigned long rate = parent_rate; in ccu_gate_recalc_rate() local 90 static long ccu_gate_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_gate_round_rate() 110 static int ccu_gate_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_gate_set_rate()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-aspeed-test.c | 8 int rate = 52000000; in aspeed_sdhci_phase_ddr52() local 51 int rate = 200000000; in aspeed_sdhci_phase_hs200() local
|
/openbmc/linux/drivers/clk/versatile/ |
H A D | clk-vexpress-osc.c | 29 u32 rate; in vexpress_osc_recalc_rate() local 36 static long vexpress_osc_round_rate(struct clk_hw *hw, unsigned long rate, in vexpress_osc_round_rate() 50 static int vexpress_osc_set_rate(struct clk_hw *hw, unsigned long rate, in vexpress_osc_set_rate()
|
/openbmc/u-boot/arch/mips/mach-pic32/ |
H A D | cpu.c | 25 static ulong rate(int id) in rate() function 30 ulong rate; in rate() local 61 ulong rate; in prefetch_init() local
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | commproc.c | 121 m8560_cpm_setbrg(uint brg, uint rate) in m8560_cpm_setbrg() 143 m8560_cpm_fastbrg(uint brg, uint rate, int div16) in m8560_cpm_fastbrg() 168 m8560_cpm_extcbrg(uint brg, uint rate, uint extclk, int pinsel) in m8560_cpm_extcbrg()
|
/openbmc/linux/drivers/clocksource/ |
H A D | dw_apb_timer_of.c | 18 void __iomem **base, u32 *rate) in timer_get_base_and_rate() 89 u32 irq, rate; in add_clockevent() local 117 u32 rate; in add_clocksource() local
|
/openbmc/linux/drivers/clk/rockchip/ |
H A D | clk-half-divider.c | 13 static bool _is_best_half_div(unsigned long rate, unsigned long now, in _is_best_half_div() 35 static int clk_half_divider_bestdiv(struct clk_hw *hw, unsigned long rate, in clk_half_divider_bestdiv() 95 static long clk_half_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_half_divider_round_rate() 108 static int clk_half_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_half_divider_set_rate()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | clkt2xxx_virt_prcm_set.c | 73 static long omap2_round_to_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_round_to_table_rate() 97 static int omap2_select_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_select_table_rate() 175 unsigned long rate; in omap2xxx_clkt_vps_check_bootloader_rates() local
|
/openbmc/linux/drivers/clk/ |
H A D | clk-hsdk-pll.c | 47 u32 rate; member 171 u64 rate; in hsdk_pll_recalc_rate() local 200 static long hsdk_pll_round_rate(struct clk_hw *hw, unsigned long rate, in hsdk_pll_round_rate() 224 unsigned long rate, in hsdk_pll_comm_update_rate() 244 unsigned long rate, in hsdk_pll_core_update_rate() 277 static int hsdk_pll_set_rate(struct clk_hw *hw, unsigned long rate, in hsdk_pll_set_rate()
|
H A D | clk-divider.c | 220 unsigned long parent_rate, unsigned long rate, in _div_round_up() 234 unsigned long parent_rate, unsigned long rate, in _div_round_closest() 258 unsigned long parent_rate, unsigned long rate, in _div_round() 267 static bool _is_best_div(unsigned long rate, unsigned long now, in _is_best_div() 290 unsigned long rate, in clk_divider_bestdiv() 385 unsigned long rate, unsigned long *prate, in divider_round_rate_parent() 407 unsigned long rate, unsigned long *prate, in divider_ro_round_rate_parent() 428 static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_round_rate() 470 int divider_get_val(unsigned long rate, unsigned long parent_rate, in divider_get_val() 487 static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_set_rate()
|
H A D | clk-tps68470.c | 72 unsigned long rate; member 129 static unsigned int tps68470_clk_cfg_lookup(unsigned long rate) in tps68470_clk_cfg_lookup() 149 static long tps68470_clk_round_rate(struct clk_hw *hw, unsigned long rate, in tps68470_clk_round_rate() 157 static int tps68470_clk_set_rate(struct clk_hw *hw, unsigned long rate, in tps68470_clk_set_rate()
|
/openbmc/u-boot/arch/arm/cpu/armv7/kona-common/ |
H A D | clk-stubs.c | 12 int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep) in clk_sdio_enable() 17 int __weak clk_bsc_enable(void *base, u32 rate, u32 *actual_ratep) in clk_bsc_enable()
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | tegra20-emc.c | 181 unsigned long rate; member 257 unsigned long rate) in tegra_emc_find_timing() 359 u32 rate; in load_one_timing_from_dt() local 675 static long emc_round_rate(unsigned long rate, in emc_round_rate() 767 static int emc_set_min_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_min_rate() 846 static int tegra_emc_debug_min_rate_get(void *data, u64 *rate) in tegra_emc_debug_min_rate_get() 855 static int tegra_emc_debug_min_rate_set(void *data, u64 rate) in tegra_emc_debug_min_rate_set() 876 static int tegra_emc_debug_max_rate_get(void *data, u64 *rate) in tegra_emc_debug_max_rate_get() 885 static int tegra_emc_debug_max_rate_set(void *data, u64 rate) in tegra_emc_debug_max_rate_set() 986 unsigned long long rate = max(avg_bw, peak_bw); in emc_icc_set() local [all …]
|
/openbmc/linux/drivers/clk/sprd/ |
H A D | pll.c | 86 static u32 pll_get_ibias(u64 rate, const u64 *table) in pll_get_ibias() 103 unsigned long rate, nint, kint = 0; in _sprd_pll_recalc_rate() local 148 unsigned long rate, in _sprd_pll_set_rate() 240 unsigned long rate, in sprd_pll_set_rate() 257 static long sprd_pll_round_rate(struct clk_hw *hw, unsigned long rate, in sprd_pll_round_rate()
|
/openbmc/linux/sound/firewire/motu/ |
H A D | motu-pcm.c | 23 unsigned int i, pcm_channels, rate, mode; in motu_rate_constraint() local 52 unsigned int i, pcm_channels, rate, mode; in motu_channels_constraint() local 74 unsigned int i, pcm_channels, rate, mode; in limit_channels_and_rates() local 163 unsigned int rate; in pcm_open() local 214 unsigned int rate = params_rate(hw_params); in pcm_hw_params() local
|
/openbmc/u-boot/drivers/clk/imx/ |
H A D | clk-imx8.c | 48 ulong rate; in imx8_clk_get_rate() local 138 static ulong imx8_clk_set_rate(struct clk *clk, unsigned long rate) in imx8_clk_set_rate() 329 unsigned long rate; in soc_clk_dump() local
|
/openbmc/linux/drivers/clk/ti/ |
H A D | fapll.c | 165 u64 rate; in ti_fapll_recalc_rate() local 194 static int ti_fapll_set_div_mult(unsigned long rate, in ti_fapll_set_div_mult() 217 static long ti_fapll_round_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_round_rate() 237 static int ti_fapll_set_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_set_rate() 311 u64 rate; in ti_fapll_synth_recalc_rate() local 365 unsigned long rate, in ti_fapll_synth_set_frac_rate() 402 static long ti_fapll_synth_round_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_synth_round_rate() 436 static int ti_fapll_synth_set_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_synth_set_rate()
|
/openbmc/linux/drivers/clk/ux500/ |
H A D | clk-prcmu.c | 56 static long clk_prcmu_round_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_round_rate() 63 static int clk_prcmu_set_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_set_rate() 197 unsigned long rate, in clk_reg_prcmu() 242 unsigned long rate, in clk_reg_prcmu_scalable() 261 unsigned long rate, in clk_reg_prcmu_scalable_rate() 289 unsigned long rate, in clk_reg_prcmu_opp_volt_scalable()
|
/openbmc/linux/sound/soc/ |
H A D | soc-utils-test.c | 13 u32 rate; member 119 unsigned int rate, snd_pcm_format_t fmt, in test_tdm_params_to_bclk_one() 174 unsigned int rate, snd_pcm_format_t fmt, in test_snd_soc_params_to_bclk_one()
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-sun9i-cpus.c | 56 unsigned long rate; in sun9i_a80_cpus_clk_recalc_rate() local 72 static long sun9i_a80_cpus_clk_round(unsigned long rate, u8 *divp, u8 *pre_divp, in sun9i_a80_cpus_clk_round() 119 unsigned long rate = req->rate; in sun9i_a80_cpus_clk_determine_rate() local 152 static int sun9i_a80_cpus_clk_set_rate(struct clk_hw *hw, unsigned long rate, in sun9i_a80_cpus_clk_set_rate()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_pll_8960.c | 31 unsigned long rate; member 357 static const struct pll_rate *find_rate(unsigned long rate) in find_rate() 376 static long hdmi_pll_round_rate(struct clk_hw *hw, unsigned long rate, in hdmi_pll_round_rate() 384 static int hdmi_pll_set_rate(struct clk_hw *hw, unsigned long rate, in hdmi_pll_set_rate()
|