Home
last modified time | relevance | path

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

12345678910>>...59

/Linux-v5.15/arch/arm/mach-omap1/
Dclock.c132 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
191 int omap1_select_table_rate(struct clk *clk, unsigned long rate) in omap1_select_table_rate()
226 int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain()
246 long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_round_rate_ckctl_arm()
256 int omap1_clk_set_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_ckctl_arm()
276 long omap1_round_to_table_rate(struct clk *clk, unsigned long rate) in omap1_round_to_table_rate()
304 static unsigned calc_ext_dsor(unsigned long rate) in calc_ext_dsor()
327 int omap1_set_uart_rate(struct clk *clk, unsigned long rate) in omap1_set_uart_rate()
345 int omap1_set_ext_clk_rate(struct clk *clk, unsigned long rate) in omap1_set_ext_clk_rate()
363 int omap1_set_sossi_rate(struct clk *clk, unsigned long rate) in omap1_set_sossi_rate()
[all …]
/Linux-v5.15/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-v5.15/drivers/clk/actions/
Dowl-factor.c45 unsigned long rate, unsigned long parent_rate) in _get_table_val()
68 struct clk_hw *hw, unsigned long rate, in owl_clk_val_best()
122 unsigned long rate, in owl_factor_helper_round_rate()
134 static long owl_factor_round_rate(struct clk_hw *hw, unsigned long rate, in owl_factor_round_rate()
149 unsigned long long int rate; in owl_factor_helper_recalc_rate() local
186 unsigned long rate, in owl_factor_helper_set_rate()
206 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-v5.15/arch/arm/mach-ep93xx/
Dclock.c29 unsigned long rate; member
312 unsigned long rate = clk_get_rate(clk->parent); in get_uart_rate() local
331 static int set_keytchclk_rate(struct clk *clk, unsigned long rate) in set_keytchclk_rate()
359 static int calc_clk_div(struct clk *clk, unsigned long rate, in calc_clk_div()
415 static int set_div_rate(struct clk *clk, unsigned long rate) in set_div_rate()
436 static int set_i2s_sclk_rate(struct clk *clk, unsigned long rate) in set_i2s_sclk_rate()
453 static int set_i2s_lrclk_rate(struct clk *clk, unsigned long rate) in set_i2s_lrclk_rate()
474 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
483 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
513 unsigned long long rate; in calc_pll_rate() local
/Linux-v5.15/sound/firewire/motu/
Dmotu-protocol-v1.c128 static void parse_clock_rate_828(u32 data, unsigned int *rate) in parse_clock_rate_828()
136 static int get_clock_rate_828(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_828()
149 static int parse_clock_rate_896(u32 data, unsigned int *rate) in parse_clock_rate_896()
171 static int get_clock_rate_896(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_896()
182 int snd_motu_protocol_v1_get_clock_rate(struct snd_motu *motu, unsigned int *rate) in snd_motu_protocol_v1_get_clock_rate()
192 static int set_clock_rate_828(struct snd_motu *motu, unsigned int rate) in set_clock_rate_828()
211 static int set_clock_rate_896(struct snd_motu *motu, unsigned int rate) in set_clock_rate_896()
247 int snd_motu_protocol_v1_set_clock_rate(struct snd_motu *motu, unsigned int rate) in snd_motu_protocol_v1_set_clock_rate()
/Linux-v5.15/drivers/clk/
Dclk-multiplier.c32 unsigned long rate, in __get_mult()
56 static bool __is_best_rate(unsigned long rate, unsigned long new, in __is_best_rate()
65 static unsigned long __bestmult(struct clk_hw *hw, unsigned long rate, in __bestmult()
115 static long clk_multiplier_round_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_round_rate()
125 static int clk_multiplier_set_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_set_rate()
/Linux-v5.15/drivers/memory/tegra/
Dtegra186-emc.c16 unsigned long rate; member
60 unsigned long rate) in tegra186_emc_validate_rate()
102 static int tegra186_emc_debug_min_rate_get(void *data, u64 *rate) in tegra186_emc_debug_min_rate_get()
111 static int tegra186_emc_debug_min_rate_set(void *data, u64 rate) in tegra186_emc_debug_min_rate_set()
132 static int tegra186_emc_debug_max_rate_get(void *data, u64 *rate) in tegra186_emc_debug_max_rate_get()
141 static int tegra186_emc_debug_max_rate_set(void *data, u64 rate) in tegra186_emc_debug_max_rate_set()
Dtegra20-emc.c160 unsigned long rate; member
228 unsigned long rate) in tegra_emc_find_timing()
248 static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate) in emc_prepare_timing_change()
330 u32 rate; in load_one_timing_from_dt() local
504 static long emc_round_rate(unsigned long rate, in emc_round_rate()
596 static int emc_set_min_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_min_rate()
609 static int emc_set_max_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_max_rate()
647 static bool tegra_emc_validate_rate(struct tegra_emc *emc, unsigned long rate) in tegra_emc_validate_rate()
688 static int tegra_emc_debug_min_rate_get(void *data, u64 *rate) in tegra_emc_debug_min_rate_get()
697 static int tegra_emc_debug_min_rate_set(void *data, u64 rate) in tegra_emc_debug_min_rate_set()
[all …]
/Linux-v5.15/sound/firewire/fireface/
Dff-protocol-former.c17 static int parse_clock_bits(u32 data, unsigned int *rate, in parse_clock_bits()
21 unsigned int rate; in parse_clock_bits() member
73 static int former_get_clock(struct snd_ff *ff, unsigned int *rate, in former_get_clock()
127 unsigned int rate; in dump_clock_config() local
184 unsigned int rate; in dump_sync_status() member
232 unsigned int rate; in dump_sync_status() local
337 static int ff800_allocate_resources(struct snd_ff *ff, unsigned int rate) in ff800_allocate_resources()
375 static int ff800_begin_session(struct snd_ff *ff, unsigned int rate) in ff800_begin_session()
441 static int ff400_allocate_resources(struct snd_ff *ff, unsigned int rate) in ff400_allocate_resources()
488 static int ff400_begin_session(struct snd_ff *ff, unsigned int rate) in ff400_begin_session()
/Linux-v5.15/drivers/clk/meson/
Dclk-pll.c60 u64 rate = (u64)parent_rate * m; in __pll_params_to_rate() local
98 static unsigned int __pll_params_with_frac(unsigned long rate, in __pll_params_with_frac()
121 static bool meson_clk_pll_is_better(unsigned long rate, in meson_clk_pll_is_better()
153 static unsigned int meson_clk_get_pll_range_m(unsigned long rate, in meson_clk_get_pll_range_m()
166 static int meson_clk_get_pll_range_index(unsigned long rate, in meson_clk_get_pll_range_index()
199 static int meson_clk_get_pll_get_index(unsigned long rate, in meson_clk_get_pll_get_index()
215 static int meson_clk_get_pll_settings(unsigned long rate, in meson_clk_get_pll_settings()
367 static int meson_clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, in meson_clk_pll_set_rate()
/Linux-v5.15/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-v5.15/drivers/clk/sunxi-ng/
Dccu_mp.c13 static void ccu_mp_find_best(unsigned long parent, unsigned long rate, in ccu_mp_find_best()
42 unsigned long rate, in ccu_mp_find_best_with_parent_adj()
98 unsigned long rate, in ccu_mp_round_rate()
150 unsigned long rate; in ccu_mp_recalc_rate() local
185 static int ccu_mp_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_set_rate()
269 unsigned long rate = ccu_mp_recalc_rate(hw, parent_rate); in ccu_mp_mmc_recalc_rate() local
304 static int ccu_mp_mmc_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_mmc_set_rate()
Dccu_nm.c22 u64 rate = parent; in ccu_nm_calc_rate() local
30 static void ccu_nm_find_best(unsigned long parent, unsigned long rate, in ccu_nm_find_best()
82 unsigned long rate; in ccu_nm_recalc_rate() local
120 static long ccu_nm_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nm_round_rate()
169 static int ccu_nm_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nm_set_rate()
/Linux-v5.15/drivers/clk/qcom/
Dclk-rcg2.c148 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 hid_div) in calc_rate()
196 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
313 static int __clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in __clk_rcg2_set_rate()
336 static int clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_rate()
342 static int clk_rcg2_set_floor_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_floor_rate()
349 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent()
355 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_floor_rate_and_parent()
490 static int clk_edp_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_edp_pixel_set_rate()
530 unsigned long rate, unsigned long parent_rate, u8 index) in clk_edp_pixel_set_rate_and_parent()
614 static int clk_byte_set_rate(struct clk_hw *hw, unsigned long rate, in clk_byte_set_rate()
[all …]
Dclk-alpha-pll.c459 alpha_pll_round_rate(unsigned long rate, unsigned long prate, u32 *l, u64 *a, in alpha_pll_round_rate()
487 alpha_pll_find_vco(const struct clk_alpha_pll *pll, unsigned long rate) in alpha_pll_find_vco()
581 static int __clk_alpha_pll_set_rate(struct clk_hw *hw, unsigned long rate, in __clk_alpha_pll_set_rate()
620 static int clk_alpha_pll_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_set_rate()
627 static int clk_alpha_pll_hwfsm_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_hwfsm_set_rate()
634 static long clk_alpha_pll_round_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_round_rate()
666 alpha_huayra_pll_round_rate(unsigned long rate, unsigned long prate, in alpha_huayra_pll_round_rate()
702 u64 rate = parent_rate, tmp; in alpha_pll_huayra_recalc_rate() local
753 static int alpha_pll_huayra_set_rate(struct clk_hw *hw, unsigned long rate, in alpha_pll_huayra_set_rate()
796 static long alpha_pll_huayra_round_rate(struct clk_hw *hw, unsigned long rate, in alpha_pll_huayra_round_rate()
[all …]
Dclk-rcg.c326 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 pre_div) in calc_rate()
403 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
516 static int clk_rcg_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_set_rate()
529 static int clk_rcg_bypass_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass_set_rate()
549 static int clk_rcg_bypass2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass2_set_rate()
575 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_bypass2_set_rate_and_parent()
617 static int clk_rcg_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_pixel_set_rate()
662 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_pixel_set_rate_and_parent()
691 static int clk_rcg_esc_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_esc_set_rate()
728 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_esc_set_rate_and_parent()
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h195 #define is_legacy(rate) is_type_legacy((rate)->type) argument
196 #define is_ht_siso(rate) is_type_ht_siso((rate)->type) argument
197 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type) argument
198 #define is_vht_siso(rate) is_type_vht_siso((rate)->type) argument
199 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type) argument
200 #define is_siso(rate) is_type_siso((rate)->type) argument
201 #define is_mimo2(rate) is_type_mimo2((rate)->type) argument
202 #define is_mimo(rate) is_type_mimo((rate)->type) argument
203 #define is_ht(rate) is_type_ht((rate)->type) argument
204 #define is_vht(rate) is_type_vht((rate)->type) argument
[all …]
/Linux-v5.15/drivers/clk/tegra/
Dclk-divider.c21 static int get_div(struct tegra_clk_frac_div *divider, unsigned long rate, in get_div()
41 u64 rate = parent_rate; in clk_frac_div_recalc_rate() local
61 static long clk_frac_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_round_rate()
80 static int clk_frac_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_set_rate()
121 unsigned long rate = clk_hw_get_rate(hw); in clk_divider_restore_context() local
/Linux-v5.15/sound/firewire/tascam/
Dtascam-stream.c44 static int set_clock(struct snd_tscm *tscm, unsigned int rate, in set_clock()
97 int snd_tscm_stream_get_rate(struct snd_tscm *tscm, unsigned int *rate) in snd_tscm_stream_get_rate()
177 static int set_stream_formats(struct snd_tscm *tscm, unsigned int rate) in set_stream_formats()
281 static int keep_resources(struct snd_tscm *tscm, unsigned int rate, in keep_resources()
386 int snd_tscm_stream_reserve_duplex(struct snd_tscm *tscm, unsigned int rate, in snd_tscm_stream_reserve_duplex()
433 int snd_tscm_stream_start_duplex(struct snd_tscm *tscm, unsigned int rate) in snd_tscm_stream_start_duplex()
/Linux-v5.15/sound/firewire/dice/
Ddice-stream.c32 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_get_rate_mode()
60 static int select_clock(struct snd_dice *dice, unsigned int rate) in select_clock()
154 struct fw_iso_resources *resources, unsigned int rate, in keep_resources()
195 static int keep_dual_resources(struct snd_dice *dice, unsigned int rate, in keep_dual_resources()
263 int snd_dice_stream_reserve_duplex(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_reserve_duplex()
325 unsigned int rate, struct reg_params *params) in start_streams()
385 unsigned int rate; in snd_dice_stream_start_duplex() local
609 unsigned int rate; in snd_dice_stream_detect_current_formats() local
/Linux-v5.15/drivers/net/wireless/broadcom/b43/
Dppr.c28 u8 *rate; in b43_ppr_add() local
38 u8 *rate; in b43_ppr_apply_max() local
48 u8 *rate; in b43_ppr_apply_min() local
59 u8 *rate; in b43_ppr_get_max() local
/Linux-v5.15/sound/soc/mediatek/mt8192/
Dmt8192-afe-control.c47 unsigned int rate) in mt8192_general_rate_transform()
91 unsigned int rate) in dai_memif_rate_transform()
111 unsigned int rate) in pcm_rate_transform()
131 unsigned int rate, int aud_blk) in mt8192_rate_transform()
/Linux-v5.15/drivers/clk/rockchip/
Dclk-pll.c51 struct rockchip_clk_pll *pll, unsigned long rate) in rockchip_get_pll_settings()
140 struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_get_params()
190 const struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_set_params()
252 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_set_rate() local
299 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_init() local
381 struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_get_params()
425 const struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_set_params()
487 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_set_rate() local
534 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_init() local
620 struct rockchip_pll_rate_table *rate) in rockchip_rk3399_pll_get_params()
[all …]

12345678910>>...59