Home
last modified time | relevance | path

Searched defs:rate (Results 1 – 25 of 1235) sorted by relevance

12345678910>>...50

/Linux-v4.19/drivers/clk/qcom/
Dclk-rcg2.c133 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 hid_div) in calc_rate()
181 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
294 static int __clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in __clk_rcg2_set_rate()
317 static int clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_rate()
323 static int clk_rcg2_set_floor_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_floor_rate()
330 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent()
336 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_floor_rate_and_parent()
390 static int clk_edp_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_edp_pixel_set_rate()
430 unsigned long rate, unsigned long parent_rate, u8 index) in clk_edp_pixel_set_rate_and_parent()
514 static int clk_byte_set_rate(struct clk_hw *hw, unsigned long rate, in clk_byte_set_rate()
[all …]
Dclk-alpha-pll.c388 alpha_pll_round_rate(unsigned long rate, unsigned long prate, u32 *l, u64 *a, in alpha_pll_round_rate()
416 alpha_pll_find_vco(const struct clk_alpha_pll *pll, unsigned long rate) in alpha_pll_find_vco()
510 static int __clk_alpha_pll_set_rate(struct clk_hw *hw, unsigned long rate, in __clk_alpha_pll_set_rate()
548 static int clk_alpha_pll_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_set_rate()
555 static int clk_alpha_pll_hwfsm_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_hwfsm_set_rate()
562 static long clk_alpha_pll_round_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_round_rate()
594 alpha_huayra_pll_round_rate(unsigned long rate, unsigned long prate, in alpha_huayra_pll_round_rate()
630 u64 rate = parent_rate, tmp; in alpha_pll_huayra_recalc_rate() local
681 static int alpha_pll_huayra_set_rate(struct clk_hw *hw, unsigned long rate, in alpha_pll_huayra_set_rate()
724 static long alpha_pll_huayra_round_rate(struct clk_hw *hw, unsigned long rate, in alpha_pll_huayra_round_rate()
[all …]
Dclk-rcg.c334 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 pre_div) in calc_rate()
411 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
524 static int clk_rcg_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_set_rate()
537 static int clk_rcg_bypass_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass_set_rate()
557 static int clk_rcg_bypass2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass2_set_rate()
583 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_bypass2_set_rate_and_parent()
625 static int clk_rcg_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_pixel_set_rate()
670 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_pixel_set_rate_and_parent()
699 static int clk_rcg_esc_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_esc_set_rate()
736 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_esc_set_rate_and_parent()
[all …]
/Linux-v4.19/drivers/i2c/busses/
Di2c-synquacer.c22 #define WAIT_PCLK(n, rate) \ argument
66 #define SYNQUACER_I2C_BUS_CLK_FR(rate) (((rate) / 20000000) + 1) argument
69 #define SYNQUACER_I2C_CLK_MASTER_STD(rate) \ argument
72 #define SYNQUACER_I2C_CLK_MASTER_FAST(rate) \ argument
77 #define SYNQUACER_I2C_CCR_CS_STD_MAX_18M(rate) \ argument
82 #define SYNQUACER_I2C_CSR_CS_STD_MAX_18M(rate) 0x00 argument
85 #define SYNQUACER_I2C_CCR_CS_FAST_MAX_18M(rate) \ argument
90 #define SYNQUACER_I2C_CSR_CS_FAST_MAX_18M(rate) 0x00 argument
94 #define SYNQUACER_I2C_CCR_CS_STD_MIN_18M(rate) \ argument
99 #define SYNQUACER_I2C_CSR_CS_STD_MIN_18M(rate) \ argument
[all …]
/Linux-v4.19/arch/mips/ralink/
Dclk.c22 unsigned long rate; member
25 void ralink_clk_add(const char *dev, unsigned long rate) in ralink_clk_add()
63 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
69 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
/Linux-v4.19/drivers/clk/actions/
Dowl-factor.c45 unsigned long rate, unsigned long parent_rate) in _get_table_val()
67 static int clk_val_best(struct clk_hw *hw, unsigned long rate, in clk_val_best()
123 unsigned long rate, in owl_factor_helper_round_rate()
135 static long owl_factor_round_rate(struct clk_hw *hw, unsigned long rate, in owl_factor_round_rate()
150 unsigned long long int rate; in owl_factor_helper_recalc_rate() local
187 unsigned long rate, in owl_factor_helper_set_rate()
207 static int owl_factor_set_rate(struct clk_hw *hw, unsigned long rate, in owl_factor_set_rate()
Dowl-composite.c56 static long owl_comp_div_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_round_rate()
74 static int owl_comp_div_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_set_rate()
83 static long owl_comp_fact_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fact_round_rate()
103 static int owl_comp_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fact_set_rate()
113 static long owl_comp_fix_fact_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fix_fact_round_rate()
132 static int owl_comp_fix_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fix_fact_set_rate()
Dowl-divider.c18 unsigned long rate, in owl_divider_helper_round_rate()
26 static long owl_divider_round_rate(struct clk_hw *hw, unsigned long rate, in owl_divider_round_rate()
63 unsigned long rate, in owl_divider_helper_set_rate()
81 static int owl_divider_set_rate(struct clk_hw *hw, unsigned long rate, in owl_divider_set_rate()
/Linux-v4.19/arch/arm/mach-ep93xx/
Dclock.c32 unsigned long rate; member
315 unsigned long rate = clk_get_rate(clk->parent); in get_uart_rate() local
334 static int set_keytchclk_rate(struct clk *clk, unsigned long rate) in set_keytchclk_rate()
362 static int calc_clk_div(struct clk *clk, unsigned long rate, in calc_clk_div()
418 static int set_div_rate(struct clk *clk, unsigned long rate) in set_div_rate()
439 static int set_i2s_sclk_rate(struct clk *clk, unsigned long rate) in set_i2s_sclk_rate()
456 static int set_i2s_lrclk_rate(struct clk *clk, unsigned long rate) in set_i2s_lrclk_rate()
477 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
486 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
516 unsigned long long rate; in calc_pll_rate() local
/Linux-v4.19/drivers/clk/
Dclk-multiplier.c18 unsigned long rate, in __get_mult()
42 static bool __is_best_rate(unsigned long rate, unsigned long new, in __is_best_rate()
51 static unsigned long __bestmult(struct clk_hw *hw, unsigned long rate, in __bestmult()
101 static long clk_multiplier_round_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_round_rate()
111 static int clk_multiplier_set_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_set_rate()
Dclk-cdce925.c108 static void cdce925_pll_find_rate(unsigned long rate, in cdce925_pll_find_rate()
145 static long cdce925_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_round_rate()
154 static int cdce925_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_set_rate()
202 unsigned long rate = clk_get_rate(parent); in cdce925_pll_calc_range_bits() local
377 static u16 cdce925_calc_divider(unsigned long rate, in cdce925_calc_divider()
395 struct clk_hw *hw, unsigned long rate) in cdce925_clk_best_parent_rate()
437 static long cdce925_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_round_rate()
454 static int cdce925_clk_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_set_rate()
473 static u16 cdce925_y1_calc_divider(unsigned long rate, in cdce925_y1_calc_divider()
490 static long cdce925_clk_y1_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_y1_round_rate()
[all …]
/Linux-v4.19/arch/arm/mach-omap1/
Dclock.c135 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
194 int omap1_select_table_rate(struct clk *clk, unsigned long rate) in omap1_select_table_rate()
229 int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain()
249 long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_round_rate_ckctl_arm()
259 int omap1_clk_set_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_ckctl_arm()
279 long omap1_round_to_table_rate(struct clk *clk, unsigned long rate) in omap1_round_to_table_rate()
307 static unsigned calc_ext_dsor(unsigned long rate) in calc_ext_dsor()
330 int omap1_set_uart_rate(struct clk *clk, unsigned long rate) in omap1_set_uart_rate()
348 int omap1_set_ext_clk_rate(struct clk *clk, unsigned long rate) in omap1_set_ext_clk_rate()
366 int omap1_set_sossi_rate(struct clk *clk, unsigned long rate) in omap1_set_sossi_rate()
[all …]
/Linux-v4.19/drivers/clk/zte/
Dclk.c28 static int rate_to_idx(struct clk_zx_pll *zx_pll, unsigned long rate) in rate_to_idx()
81 static long zx_pll_round_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_round_rate()
92 static int zx_pll_set_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_set_rate()
192 static u32 calc_reg(u32 parent_rate, u32 rate) in calc_reg()
244 static long zx_audio_round_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_round_rate()
256 static int zx_audio_set_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_set_rate()
337 unsigned long rate; member
348 unsigned long rate, m, n; in audio_calc_rate() local
361 unsigned long rate, unsigned long parent_rate) in audio_calc_reg()
407 static long zx_audio_div_round_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_div_round_rate()
[all …]
/Linux-v4.19/drivers/clk/sprd/
Ddiv.c14 unsigned long rate, in sprd_div_helper_round_rate()
22 static long sprd_div_round_rate(struct clk_hw *hw, unsigned long rate, in sprd_div_round_rate()
57 unsigned long rate, in sprd_div_helper_set_rate()
77 static int sprd_div_set_rate(struct clk_hw *hw, unsigned long rate, in sprd_div_set_rate()
/Linux-v4.19/drivers/clk/meson/
Dclk-pll.c48 u64 rate = (u64)parent_rate * pllt->m; in __pll_params_to_rate() local
88 static u16 __pll_params_with_frac(unsigned long rate, in __pll_params_with_frac()
109 meson_clk_get_pll_settings(unsigned long rate, in meson_clk_get_pll_settings()
133 static long meson_clk_pll_round_rate(struct clk_hw *hw, unsigned long rate, in meson_clk_pll_round_rate()
188 static int meson_clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, in meson_clk_pll_set_rate()
/Linux-v4.19/drivers/clk/sunxi-ng/
Dccu_mp.c16 static void ccu_mp_find_best(unsigned long parent, unsigned long rate, in ccu_mp_find_best()
46 unsigned long rate, in ccu_mp_round_rate()
93 unsigned long rate; in ccu_mp_recalc_rate() local
128 static int ccu_mp_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_set_rate()
212 unsigned long rate = ccu_mp_recalc_rate(hw, parent_rate); in ccu_mp_mmc_recalc_rate() local
247 static int ccu_mp_mmc_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_mmc_set_rate()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h206 #define is_legacy(rate) is_type_legacy((rate)->type) argument
207 #define is_ht_siso(rate) is_type_ht_siso((rate)->type) argument
208 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type) argument
209 #define is_vht_siso(rate) is_type_vht_siso((rate)->type) argument
210 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type) argument
211 #define is_siso(rate) is_type_siso((rate)->type) argument
212 #define is_mimo2(rate) is_type_mimo2((rate)->type) argument
213 #define is_mimo(rate) is_type_mimo((rate)->type) argument
214 #define is_ht(rate) is_type_ht((rate)->type) argument
215 #define is_vht(rate) is_type_vht((rate)->type) argument
[all …]
/Linux-v4.19/drivers/clk/imx/
Dclk-pllv3.c124 static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_round_rate()
133 static int clk_pllv3_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_set_rate()
172 static long clk_pllv3_sys_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_round_rate()
189 static int clk_pllv3_sys_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_set_rate()
233 static long clk_pllv3_av_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_round_rate()
265 static int clk_pllv3_av_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_set_rate()
326 unsigned long parent_rate, unsigned long rate) in clk_pllv3_vf610_rate_to_mf()
362 static long clk_pllv3_vf610_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_vf610_round_rate()
370 static int clk_pllv3_vf610_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_vf610_set_rate()
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Dppr.c37 u8 *rate; in b43_ppr_add() local
47 u8 *rate; in b43_ppr_apply_max() local
57 u8 *rate; in b43_ppr_apply_min() local
68 u8 *rate; in b43_ppr_get_max() local
/Linux-v4.19/drivers/clk/tegra/
Dclk-audio-sync.c31 static long clk_sync_source_round_rate(struct clk_hw *hw, unsigned long rate, in clk_sync_source_round_rate()
42 static int clk_sync_source_set_rate(struct clk_hw *hw, unsigned long rate, in clk_sync_source_set_rate()
58 unsigned long rate, unsigned long max_rate) in tegra_clk_register_sync_source()
/Linux-v4.19/sound/firewire/digi00x/
Ddigi00x-stream.c31 int snd_dg00x_stream_get_local_rate(struct snd_dg00x *dg00x, unsigned int *rate) in snd_dg00x_stream_get_local_rate()
52 int snd_dg00x_stream_set_local_rate(struct snd_dg00x *dg00x, unsigned int rate) in snd_dg00x_stream_set_local_rate()
104 unsigned int *rate) in snd_dg00x_stream_get_external_rate()
186 static int keep_resources(struct snd_dg00x *dg00x, unsigned int rate) in keep_resources()
276 int snd_dg00x_stream_start_duplex(struct snd_dg00x *dg00x, unsigned int rate) in snd_dg00x_stream_start_duplex()
/Linux-v4.19/drivers/clk/rockchip/
Dclk-pll.c59 struct rockchip_clk_pll *pll, unsigned long rate) in rockchip_get_pll_settings()
138 struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_get_params()
188 const struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_set_params()
250 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_set_rate() local
297 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_init() local
377 struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_get_params()
421 const struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_set_params()
483 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_set_rate() local
530 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_init() local
613 struct rockchip_pll_rate_table *rate) in rockchip_rk3399_pll_get_params()
[all …]
/Linux-v4.19/sound/firewire/tascam/
Dtascam-stream.c28 static int set_clock(struct snd_tscm *tscm, unsigned int rate, in set_clock()
81 int snd_tscm_stream_get_rate(struct snd_tscm *tscm, unsigned int *rate) in snd_tscm_stream_get_rate()
164 static int set_stream_formats(struct snd_tscm *tscm, unsigned int rate) in set_stream_formats()
258 static int keep_resources(struct snd_tscm *tscm, unsigned int rate) in keep_resources()
372 int snd_tscm_stream_start_duplex(struct snd_tscm *tscm, unsigned int rate) in snd_tscm_stream_start_duplex()
/Linux-v4.19/sound/firewire/dice/
Ddice-stream.c33 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_get_rate_mode()
65 static int ensure_phase_lock(struct snd_dice *dice, unsigned int rate) in ensure_phase_lock()
180 unsigned int rate, unsigned int pcm_chs, in keep_resources()
234 unsigned int rate, struct reg_params *params) in start_streams()
321 static int start_duplex_streams(struct snd_dice *dice, unsigned int rate) in start_duplex_streams()
388 int snd_dice_stream_start_duplex(struct snd_dice *dice, unsigned int rate) in snd_dice_stream_start_duplex()
573 unsigned int rate; in snd_dice_stream_detect_current_formats() local
/Linux-v4.19/drivers/sh/clk/
Dcore.c78 unsigned long rate; member
139 unsigned long rate) in clk_rate_table_round()
162 unsigned int div_max, unsigned long rate) in clk_rate_div_range_round()
182 unsigned int mult_max, unsigned long rate) in clk_rate_mult_range_round()
197 unsigned long rate) in clk_rate_table_find()
480 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
552 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
578 unsigned long rate = clkp->rate; in clks_core_resume() local

12345678910>>...50