Home
last modified time | relevance | path

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

12345678910>>...25

/drivers/clk/qcom/
Dclk-rcg2.c135 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 hid_div) in calc_rate()
182 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
268 static int __clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate) in __clk_rcg2_set_rate()
280 static int clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_rate()
287 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent()
303 static int clk_rcg2_shared_force_enable(struct clk_hw *hw, unsigned long rate) in clk_rcg2_shared_force_enable()
335 static int clk_rcg2_shared_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_shared_set_rate()
409 static int clk_edp_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_edp_pixel_set_rate()
449 unsigned long rate, unsigned long parent_rate, u8 index) in clk_edp_pixel_set_rate_and_parent()
533 static int clk_byte_set_rate(struct clk_hw *hw, unsigned long rate, in clk_byte_set_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 …]
Dclk-alpha-pll.c186 alpha_pll_round_rate(unsigned long rate, unsigned long prate, u32 *l, u64 *a) in alpha_pll_round_rate()
212 alpha_pll_find_vco(const struct clk_alpha_pll *pll, unsigned long rate) in alpha_pll_find_vco()
245 static int clk_alpha_pll_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_set_rate()
276 static long clk_alpha_pll_round_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_round_rate()
327 clk_alpha_pll_postdiv_round_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_postdiv_round_rate()
336 static int clk_alpha_pll_postdiv_set_rate(struct clk_hw *hw, unsigned long rate, in clk_alpha_pll_postdiv_set_rate()
/drivers/net/ethernet/mellanox/mlx5/core/
Drl.c45 u32 rate) in find_rl_entry()
64 u32 rate, u16 index) in mlx5_set_pp_rate_limit_cmd()
76 bool mlx5_rl_is_in_range(struct mlx5_core_dev *dev, u32 rate) in mlx5_rl_is_in_range()
84 int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u32 rate, u16 *index) in mlx5_rl_add_rate()
128 void mlx5_rl_remove_rate(struct mlx5_core_dev *dev, u32 rate) in mlx5_rl_remove_rate()
/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-mb86s7x.c43 unsigned long rate; member
103 crg_rate_control(struct clk_hw *hw, int set, unsigned long *rate) in crg_rate_control()
149 unsigned long rate; in crg_port_recalc_rate() local
158 unsigned long rate, unsigned long *pr) in crg_port_round_rate()
165 unsigned long rate, unsigned long parent_rate) in crg_port_set_rate()
263 static void mhu_cluster_rate(struct clk_hw *hw, unsigned long *rate, int get) in mhu_cluster_rate()
300 unsigned long rate; in clc_recalc_rate() local
307 clc_round_rate(struct clk_hw *hw, unsigned long rate, in clc_round_rate()
314 clc_set_rate(struct clk_hw *hw, unsigned long rate, in clc_set_rate()
Dclk-cdce925.c86 static void cdce925_pll_find_rate(unsigned long rate, in cdce925_pll_find_rate()
123 static long cdce925_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_round_rate()
132 static int cdce925_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_set_rate()
180 unsigned long rate = clk_get_rate(parent); in cdce925_pll_calc_range_bits() local
335 static u16 cdce925_calc_divider(unsigned long rate, in cdce925_calc_divider()
353 struct clk_hw *hw, unsigned long rate) in cdce925_clk_best_parent_rate()
395 static long cdce925_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_round_rate()
412 static int cdce925_clk_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_set_rate()
431 static u16 cdce925_y1_calc_divider(unsigned long rate, in cdce925_y1_calc_divider()
448 static long cdce925_clk_y1_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_y1_round_rate()
[all …]
Dclk-scpi.c47 static long scpi_clk_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_round_rate()
59 static int scpi_clk_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_set_rate()
74 static long __scpi_dvfs_round_rate(struct scpi_clk *clk, unsigned long rate) in __scpi_dvfs_round_rate()
107 static long scpi_dvfs_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_round_rate()
115 static int __scpi_find_dvfs_index(struct scpi_clk *clk, unsigned long rate) in __scpi_find_dvfs_index()
126 static int scpi_dvfs_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_set_rate()
Dclk-divider.c209 unsigned long parent_rate, unsigned long rate, in _div_round_up()
223 unsigned long parent_rate, unsigned long rate, in _div_round_closest()
247 unsigned long parent_rate, unsigned long rate, in _div_round()
256 static bool _is_best_div(unsigned long rate, unsigned long now, in _is_best_div()
278 static int clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate, in clk_divider_bestdiv()
335 long divider_round_rate(struct clk_hw *hw, unsigned long rate, in divider_round_rate()
347 static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_round_rate()
366 int divider_get_val(unsigned long rate, unsigned long parent_rate, in divider_get_val()
383 static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_set_rate()
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h192 #define is_legacy(rate) is_type_legacy((rate)->type) argument
193 #define is_ht_siso(rate) is_type_ht_siso((rate)->type) argument
194 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type) argument
195 #define is_vht_siso(rate) is_type_vht_siso((rate)->type) argument
196 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type) argument
197 #define is_siso(rate) is_type_siso((rate)->type) argument
198 #define is_mimo2(rate) is_type_mimo2((rate)->type) argument
199 #define is_mimo(rate) is_type_mimo((rate)->type) argument
200 #define is_ht(rate) is_type_ht((rate)->type) argument
201 #define is_vht(rate) is_type_vht((rate)->type) argument
[all …]
Drs.c154 struct rs_rate *rate, in rs_ant_allow()
161 struct rs_rate *rate, in rs_mimo_allow()
189 struct rs_rate *rate, in rs_siso_allow()
199 struct rs_rate *rate, in rs_sgi_allow()
542 static char *rs_pretty_rate(const struct rs_rate *rate) in rs_pretty_rate()
587 static inline void rs_dump_rate(struct iwl_mvm *mvm, const struct rs_rate *rate, in rs_dump_rate()
787 struct rs_rate *rate) in ucode_rate_from_rs_rate()
850 struct rs_rate *rate) in rs_rate_from_ucode_rate()
929 static int rs_toggle_antenna(u32 valid_ant, struct rs_rate *rate) in rs_toggle_antenna()
954 struct rs_rate *rate) in rs_get_supported_rates()
[all …]
/drivers/clk/rockchip/
Dclk-pll.c58 struct rockchip_clk_pll *pll, unsigned long rate) in rockchip_get_pll_settings()
137 struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_get_params()
187 const struct rockchip_pll_rate_table *rate) in rockchip_rk3036_pll_set_params()
249 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_set_rate() local
295 const struct rockchip_pll_rate_table *rate; in rockchip_rk3036_pll_init() local
374 struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_get_params()
418 const struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_set_params()
480 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_set_rate() local
526 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_init() local
609 struct rockchip_pll_rate_table *rate) in rockchip_rk3399_pll_get_params()
[all …]
/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()
479 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
551 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
577 unsigned long rate = clkp->rate; in clks_core_resume() local
/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
/drivers/clk/sunxi-ng/
Dccu_nk.c17 static void ccu_nk_find_best(unsigned long parent, unsigned long rate, in ccu_nk_find_best()
69 unsigned long rate, n, k; in ccu_nk_recalc_rate() local
88 static long ccu_nk_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_round_rate()
108 static int ccu_nk_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_set_rate()
/drivers/net/wireless/mediatek/mt7601u/
Dmac.c20 mt76_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate) in mt76_mac_process_tx_rate()
61 struct ieee80211_tx_rate *rate = info->status.rates; in mt76_mac_fill_tx_status() local
97 const struct ieee80211_tx_rate *rate, u8 *nss_val) in mt76_mac_tx_rate_val()
139 const struct ieee80211_tx_rate *rate) in mt76_mac_wcid_set_rate()
389 mt76_mac_process_rate(struct ieee80211_rx_status *status, u16 rate) in mt76_mac_process_rate()
436 u16 rate, int rssi) in mt7601u_rx_monitor_beacon()
458 u16 rate = le16_to_cpu(rxwi->rate); in mt76_mac_process_rx() local
/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()
Dclk-divider.c32 static int get_div(struct tegra_clk_frac_div *divider, unsigned long rate, in get_div()
72 u64 rate = parent_rate; in clk_frac_div_recalc_rate() local
87 static long clk_frac_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_round_rate()
106 static int clk_frac_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_set_rate()
/drivers/clk/ux500/
Dclk-prcmu.c83 static long clk_prcmu_round_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_round_rate()
90 static int clk_prcmu_set_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_set_rate()
248 unsigned long rate, in clk_reg_prcmu()
297 unsigned long rate, in clk_reg_prcmu_scalable()
316 unsigned long rate, in clk_reg_prcmu_scalable_rate()
344 unsigned long rate, in clk_reg_prcmu_opp_volt_scalable()
/drivers/clk/zte/
Dclk.c27 static int rate_to_idx(struct clk_zx_pll *zx_pll, unsigned long rate) in rate_to_idx()
77 static long zx_pll_round_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_round_rate()
88 static int zx_pll_set_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_set_rate()
181 static u32 calc_reg(u32 parent_rate, u32 rate) in calc_reg()
233 static long zx_audio_round_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_round_rate()
245 static int zx_audio_set_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_set_rate()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_lvds_pll.c37 unsigned long rate; member
59 static const struct pll_rate *find_rate(unsigned long rate) in find_rate()
112 static long mpd4_lvds_pll_round_rate(struct clk_hw *hw, unsigned long rate, in mpd4_lvds_pll_round_rate()
119 static int mpd4_lvds_pll_set_rate(struct clk_hw *hw, unsigned long rate, in mpd4_lvds_pll_set_rate()
/drivers/clk/ti/
Ddpll3xxx.c564 int omap3_noncore_dpll_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_noncore_dpll_set_rate()
613 unsigned long rate, in omap3_noncore_dpll_set_rate_and_parent()
760 unsigned long rate; in omap3_clkoutx2_recalc() local
802 int omap3_dpll4_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate()
830 int omap3_dpll4_set_rate_and_parent(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate_and_parent()
847 unsigned int rate, m, n; in omap3_dpll5_apply_errata() member
898 int omap3_dpll5_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll5_set_rate()
Dfapll.c171 u64 rate; in ti_fapll_recalc_rate() local
200 static int ti_fapll_set_div_mult(unsigned long rate, in ti_fapll_set_div_mult()
223 static long ti_fapll_round_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_round_rate()
243 static int ti_fapll_set_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_set_rate()
317 u64 rate; in ti_fapll_synth_recalc_rate() local
371 unsigned long rate, in ti_fapll_synth_set_frac_rate()
408 static long ti_fapll_synth_round_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_synth_round_rate()
442 static int ti_fapll_synth_set_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_synth_set_rate()
/drivers/clocksource/
Ddw_apb_timer_of.c28 void __iomem **base, u32 *rate) in timer_get_base_and_rate()
67 u32 irq, rate; in add_clockevent() local
90 u32 rate; in add_clocksource() local
/drivers/clk/imx/
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()
257 static int clk_pllv3_av_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_set_rate()

12345678910>>...25