Home
last modified time | relevance | path

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

12345678910>>...50

/linux/arch/arm/mach-omap1/
H A Dclock.c138 static int calc_dsor_exp(unsigned long rate, unsigned long realrate) in calc_dsor_exp()
230 int omap1_select_table_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_select_table_rate()
265 int omap1_clk_set_rate_dsp_domain(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_clk_set_rate_dsp_domain()
285 long omap1_clk_round_rate_ckctl_arm(struct omap1_clk *clk, unsigned long rate, in omap1_clk_round_rate_ckctl_arm()
297 int omap1_clk_set_rate_ckctl_arm(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_clk_set_rate_ckctl_arm()
324 long omap1_round_to_table_rate(struct omap1_clk *clk, unsigned long rate, unsigned long *p_rate) in omap1_round_to_table_rate()
352 static unsigned calc_ext_dsor(unsigned long rate) in calc_ext_dsor()
375 long omap1_round_uart_rate(struct omap1_clk *clk, unsigned long rate, unsigned long *p_rate) in omap1_round_uart_rate()
380 int omap1_set_uart_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_set_uart_rate()
406 int omap1_set_ext_clk_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_set_ext_clk_rate()
[all …]
/linux/drivers/clk/actions/
H A Dowl-factor.c44 unsigned long rate, unsigned long parent_rate) in _get_table_val()
67 struct clk_hw *hw, unsigned long rate, in owl_clk_val_best()
121 unsigned long rate, in owl_factor_helper_round_rate()
133 static long owl_factor_round_rate(struct clk_hw *hw, unsigned long rate, in owl_factor_round_rate()
148 unsigned long long int rate; in owl_factor_helper_recalc_rate() local
185 unsigned long rate, in owl_factor_helper_set_rate()
205 static int owl_factor_set_rate(struct clk_hw *hw, unsigned long rate, in owl_factor_set_rate()
H A Dowl-composite.c60 long rate; in owl_comp_div_determine_rate() local
80 static int owl_comp_div_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_set_rate()
93 long rate; in owl_comp_fact_determine_rate() local
115 static int owl_comp_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fact_set_rate()
125 static long owl_comp_fix_fact_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fix_fact_round_rate()
144 static int owl_comp_fix_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fix_fact_set_rate()
H A 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/drivers/clk/qcom/
H A Dclk-rcg2.c159 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 hid_div) in calc_rate()
210 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
271 unsigned long parent_rate, rate; in __clk_rcg2_select_conf() local
323 unsigned long clk_flags, rate = req->rate; in _freq_tbl_fm_determine_rate() local
468 static int __clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in __clk_rcg2_set_rate()
491 static int __clk_rcg2_fm_set_rate(struct clk_hw *hw, unsigned long rate) in __clk_rcg2_fm_set_rate()
515 static int clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_rate()
521 static int clk_rcg2_set_floor_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_floor_rate()
527 static int clk_rcg2_fm_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_fm_set_rate()
534 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent()
[all …]
H A 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_set_floor_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_set_floor_rate()
542 static int clk_rcg_bypass_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass_set_rate()
562 static int clk_rcg_bypass2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass2_set_rate()
588 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_bypass2_set_rate_and_parent()
630 static int clk_rcg_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_pixel_set_rate()
675 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_pixel_set_rate_and_parent()
704 static int clk_rcg_esc_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_esc_set_rate()
[all …]
H A Dclk-alpha-pll.c612 alpha_pll_round_rate(unsigned long rate, unsigned long prate, u32 *l, u64 *a, in alpha_pll_round_rate()
640 alpha_pll_find_vco(const struct clk_alpha_pll *pll, unsigned long rate) in alpha_pll_find_vco()
734 static int __clk_alpha_pll_set_rate(struct clk_hw *hw, unsigned long rate, in __clk_alpha_pll_set_rate()
773 static int clk_alpha_pll_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_set_rate()
780 static int clk_alpha_pll_hwfsm_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_hwfsm_set_rate()
787 static long clk_alpha_pll_round_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_round_rate()
853 alpha_huayra_pll_round_rate(unsigned long rate, unsigned long prate, in alpha_huayra_pll_round_rate()
889 u64 rate = parent_rate, tmp; in alpha_pll_huayra_recalc_rate() local
940 static int alpha_pll_huayra_set_rate(struct clk_hw *hw, unsigned long rate, in alpha_pll_huayra_set_rate()
983 static long alpha_pll_huayra_round_rate(struct clk_hw *hw, unsigned long rate, in alpha_pll_huayra_round_rate()
[all …]
/linux/sound/firewire/motu/
H A Dmotu-protocol-v1.c125 static void parse_clock_rate_828(u32 data, unsigned int *rate) in parse_clock_rate_828()
133 static int get_clock_rate_828(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_828()
146 static int parse_clock_rate_896(u32 data, unsigned int *rate) in parse_clock_rate_896()
168 static int get_clock_rate_896(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_896()
179 int snd_motu_protocol_v1_get_clock_rate(struct snd_motu *motu, unsigned int *rate) in snd_motu_protocol_v1_get_clock_rate()
189 static int set_clock_rate_828(struct snd_motu *motu, unsigned int rate) in set_clock_rate_828()
208 static int set_clock_rate_896(struct snd_motu *motu, unsigned int rate) in set_clock_rate_896()
244 int snd_motu_protocol_v1_set_clock_rate(struct snd_motu *motu, unsigned int rate) in snd_motu_protocol_v1_set_clock_rate()
/linux/drivers/clk/sophgo/
H A Dclk-cv18xx-ip.c48 static long gate_round_rate(struct clk_hw *hw, unsigned long rate, in gate_round_rate()
54 static int gate_set_rate(struct clk_hw *hw, unsigned long rate, in gate_set_rate()
155 unsigned long rate, unsigned long *prate) in div_helper_round_rate()
169 unsigned long rate, int id, void *data) in div_round_rate()
272 static int div_set_rate(struct clk_hw *hw, unsigned long rate, in div_set_rate()
304 unsigned long rate, int id, void *data) in bypass_div_round_rate()
342 static int bypass_div_set_rate(struct clk_hw *hw, unsigned long rate, in bypass_div_set_rate()
416 unsigned long rate, int id, void *data) in mux_round_rate()
447 static int mux_set_rate(struct clk_hw *hw, unsigned long rate, in mux_set_rate()
515 unsigned long rate, int id, void *data) in bypass_mux_round_rate()
[all …]
/linux/drivers/clk/
H A 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()
H A Dclk-fractional-divider_test.c19 unsigned long rate, parent_rate, parent_rate_before, m, n, max_n; in clk_fd_test_approximation_max_denominator() local
48 unsigned long rate, parent_rate, parent_rate_before, m, n, max_m; in clk_fd_test_approximation_max_numerator() local
77 unsigned long rate, parent_rate, parent_rate_before, m, n, max_n; in clk_fd_test_approximation_max_denominator_zero_based() local
107 unsigned long rate, parent_rate, parent_rate_before, m, n, max_m; in clk_fd_test_approximation_max_numerator_zero_based() local
H A Dclk-cdce925.c95 static void cdce925_pll_find_rate(unsigned long rate, in cdce925_pll_find_rate()
131 static long cdce925_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_round_rate()
140 static int cdce925_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_set_rate()
188 unsigned long rate = clk_get_rate(parent); in cdce925_pll_calc_range_bits() local
363 static u16 cdce925_calc_divider(unsigned long rate, in cdce925_calc_divider()
381 struct clk_hw *hw, unsigned long rate) in cdce925_clk_best_parent_rate()
423 static long cdce925_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_round_rate()
440 static int cdce925_clk_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_set_rate()
459 static u16 cdce925_y1_calc_divider(unsigned long rate, in cdce925_y1_calc_divider()
476 static long cdce925_clk_y1_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_y1_round_rate()
[all …]
/linux/drivers/clk/sunxi-ng/
H A Dccu_mp.c13 static unsigned long ccu_mp_find_best(unsigned long parent, unsigned long rate, in ccu_mp_find_best()
44 unsigned long rate, in ccu_mp_find_best_with_parent_adj()
100 unsigned long rate, in ccu_mp_round_rate()
151 unsigned long rate; in ccu_mp_recalc_rate() local
186 static int ccu_mp_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_set_rate()
271 unsigned long rate = ccu_mp_recalc_rate(hw, parent_rate); in ccu_mp_mmc_recalc_rate() local
306 static int ccu_mp_mmc_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_mmc_set_rate()
H A Dccu_nm.c22 u64 rate = parent; in ccu_nm_calc_rate() local
31 unsigned long rate, struct _ccu_nm *nm) in ccu_nm_find_best()
81 unsigned long rate; in ccu_nm_recalc_rate() local
119 static long ccu_nm_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nm_round_rate()
167 static int ccu_nm_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nm_set_rate()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs.h179 #define is_legacy(rate) is_type_legacy((rate)->type) argument
180 #define is_ht_siso(rate) is_type_ht_siso((rate)->type) argument
181 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type) argument
182 #define is_vht_siso(rate) is_type_vht_siso((rate)->type) argument
183 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type) argument
184 #define is_siso(rate) is_type_siso((rate)->type) argument
185 #define is_mimo2(rate) is_type_mimo2((rate)->type) argument
186 #define is_mimo(rate) is_type_mimo((rate)->type) argument
187 #define is_ht(rate) is_type_ht((rate)->type) argument
188 #define is_vht(rate) is_type_vht((rate)->type) argument
[all …]
H A Drs.c128 struct rs_rate *rate, in rs_ant_allow()
135 struct rs_rate *rate, in rs_mimo_allow()
157 struct rs_rate *rate, in rs_siso_allow()
167 struct rs_rate *rate, in rs_sgi_allow()
477 static char *rs_pretty_rate(const struct rs_rate *rate) in rs_pretty_rate()
522 static inline void rs_dump_rate(struct iwl_mvm *mvm, const struct rs_rate *rate, in rs_dump_rate()
773 struct rs_rate *rate) in ucode_rate_from_rs_rate()
842 struct rs_rate *rate) in rs_rate_from_ucode_rate()
934 static int rs_toggle_antenna(u32 valid_ant, struct rs_rate *rate) in rs_toggle_antenna()
956 struct rs_rate *rate) in rs_get_supported_rates()
[all …]
/linux/drivers/clk/rockchip/
H A Dclk-cpu.c68 struct rockchip_cpuclk *cpuclk, unsigned long rate) in rockchip_get_cpuclk_settings()
99 const struct rockchip_cpuclk_rate_table *rate) in rockchip_cpuclk_set_dividers()
117 const struct rockchip_cpuclk_rate_table *rate) in rockchip_cpuclk_set_pre_muxs()
135 const struct rockchip_cpuclk_rate_table *rate) in rockchip_cpuclk_set_post_muxs()
156 const struct rockchip_cpuclk_rate_table *rate; in rockchip_cpuclk_pre_rate_change() local
227 const struct rockchip_cpuclk_rate_table *rate; in rockchip_cpuclk_post_rate_change() local
/linux/drivers/clk/tegra/
H A 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/sound/firewire/fireface/
H A Dff-protocol-former.c15 static int parse_clock_bits(u32 data, unsigned int *rate, in parse_clock_bits()
19 unsigned int rate; in parse_clock_bits() member
71 static int former_get_clock(struct snd_ff *ff, unsigned int *rate, in former_get_clock()
125 unsigned int rate; in dump_clock_config() local
182 unsigned int rate; in dump_sync_status() member
230 unsigned int rate; in dump_sync_status() local
335 static int ff800_allocate_resources(struct snd_ff *ff, unsigned int rate) in ff800_allocate_resources()
373 static int ff800_begin_session(struct snd_ff *ff, unsigned int rate) in ff800_begin_session()
439 static int ff400_allocate_resources(struct snd_ff *ff, unsigned int rate) in ff400_allocate_resources()
486 static int ff400_begin_session(struct snd_ff *ff, unsigned int rate) in ff400_begin_session()
/linux/sound/firewire/dice/
H A 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()
156 struct fw_iso_resources *resources, unsigned int rate, in keep_resources()
197 static int keep_dual_resources(struct snd_dice *dice, unsigned int rate, in keep_dual_resources()
265 int snd_dice_stream_reserve_duplex(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_reserve_duplex()
327 unsigned int rate, struct reg_params *params) in start_streams()
387 unsigned int rate; in snd_dice_stream_start_duplex() local
611 unsigned int rate; in snd_dice_stream_detect_current_formats() local
/linux/drivers/memory/tegra/
H A Dtegra186-emc.c18 unsigned long rate; member
69 if (rate == emc->dvfs[i].rate) in tegra186_emc_validate_rate() argument
107 if (!tegra186_emc_validate_rate(emc, rate)) in tegra186_emc_debug_min_rate_set() argument
98 tegra186_emc_debug_min_rate_get(void * data,u64 * rate) tegra186_emc_debug_min_rate_get() argument
128 tegra186_emc_debug_max_rate_get(void * data,u64 * rate) tegra186_emc_debug_max_rate_get() argument
137 tegra186_emc_debug_max_rate_set(void * data,u64 rate) tegra186_emc_debug_max_rate_set() argument
[all...]
/linux/sound/firewire/tascam/
H A 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/drivers/clk/imx/
H A Dclk-pllv3.c120 static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_round_rate()
129 static int clk_pllv3_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_set_rate()
168 static long clk_pllv3_sys_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_round_rate()
185 static int clk_pllv3_sys_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_set_rate()
229 static long clk_pllv3_av_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_round_rate()
261 static int clk_pllv3_av_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_set_rate()
322 unsigned long parent_rate, unsigned long rate) in clk_pllv3_vf610_rate_to_mf()
358 static long clk_pllv3_vf610_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_vf610_round_rate()
366 static int clk_pllv3_vf610_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_vf610_set_rate()
H A Dclk-pll14xx.c92 struct clk_pll14xx *pll, unsigned long rate) in imx_get_pll_settings()
119 unsigned long rate, unsigned long prate) in pll1443x_calc_kdiv()
129 static void imx_pll14xx_calc_settings(struct clk_pll14xx *pll, unsigned long rate, in imx_pll14xx_calc_settings()
217 static long clk_pll1416x_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pll1416x_round_rate()
233 static long clk_pll1443x_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pll1443x_round_rate()
265 static inline bool clk_pll14xx_mp_change(const struct imx_pll14xx_rate_table *rate, in clk_pll14xx_mp_change()
288 const struct imx_pll14xx_rate_table *rate; in clk_pll1416x_set_rate() local
354 struct imx_pll14xx_rate_table rate; in clk_pll1443x_set_rate() local
/linux/drivers/sh/clk/
H A 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