/drivers/clk/qcom/ |
D | clk-rcg2.c | 140 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 hid_div) in calc_rate() 188 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local 297 static int __clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in __clk_rcg2_set_rate() 320 static int clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_rate() 326 static int clk_rcg2_set_floor_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_floor_rate() 333 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent() 339 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_floor_rate_and_parent() 366 static int clk_rcg2_shared_force_enable(struct clk_hw *hw, unsigned long rate) in clk_rcg2_shared_force_enable() 398 static int clk_rcg2_shared_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_shared_set_rate() 472 static int clk_edp_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_edp_pixel_set_rate() [all …]
|
D | clk-rcg.c | 334 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 …]
|
/drivers/clk/zte/ |
D | clk.c | 28 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 …]
|
/drivers/clk/ |
D | clk-multiplier.c | 18 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()
|
D | clk-cdce925.c | 108 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 …]
|
D | clk-scpi.c | 47 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()
|
D | clk-divider.c | 208 unsigned long parent_rate, unsigned long rate, in _div_round_up() 222 unsigned long parent_rate, unsigned long rate, in _div_round_closest() 246 unsigned long parent_rate, unsigned long rate, in _div_round() 255 static bool _is_best_div(unsigned long rate, unsigned long now, in _is_best_div() 278 unsigned long rate, in clk_divider_bestdiv() 335 unsigned long rate, unsigned long *prate, in divider_round_rate_parent() 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()
|
D | clk-hsdk-pll.c | 50 u32 rate; member 166 u64 rate; in hsdk_pll_recalc_rate() local 195 static long hsdk_pll_round_rate(struct clk_hw *hw, unsigned long rate, in hsdk_pll_round_rate() 219 unsigned long rate, in hsdk_pll_comm_update_rate() 239 unsigned long rate, in hsdk_pll_core_update_rate() 272 static int hsdk_pll_set_rate(struct clk_hw *hw, unsigned long rate, in hsdk_pll_set_rate()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs.h | 195 #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 …]
|
D | rs.c | 154 struct rs_rate *rate, in rs_ant_allow() 161 struct rs_rate *rate, in rs_mimo_allow() 183 struct rs_rate *rate, in rs_siso_allow() 193 struct rs_rate *rate, in rs_sgi_allow() 536 static char *rs_pretty_rate(const struct rs_rate *rate) in rs_pretty_rate() 581 static inline void rs_dump_rate(struct iwl_mvm *mvm, const struct rs_rate *rate, in rs_dump_rate() 832 struct rs_rate *rate) in ucode_rate_from_rs_rate() 895 struct rs_rate *rate) in rs_rate_from_ucode_rate() 974 static int rs_toggle_antenna(u32 valid_ant, struct rs_rate *rate) in rs_toggle_antenna() 999 struct rs_rate *rate) in rs_get_supported_rates() [all …]
|
/drivers/clk/imx/ |
D | clk-pllv3.c | 124 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()
|
/drivers/clk/rockchip/ |
D | clk-pll.c | 59 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 …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rl.c | 110 u32 rate) in find_rl_entry() 129 u32 rate, u16 index) in mlx5_set_pp_rate_limit_cmd() 141 bool mlx5_rl_is_in_range(struct mlx5_core_dev *dev, u32 rate) in mlx5_rl_is_in_range() 149 int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u32 rate, u16 *index) in mlx5_rl_add_rate() 193 void mlx5_rl_remove_rate(struct mlx5_core_dev *dev, u32 rate) in mlx5_rl_remove_rate()
|
/drivers/clk/meson/ |
D | clk-audio-divider.c | 34 static int _div_round(unsigned long parent_rate, unsigned long rate, in _div_round() 43 static int _get_val(unsigned long parent_rate, unsigned long rate) in _get_val() 77 unsigned long rate, in audio_divider_round_rate() 106 unsigned long rate, in audio_divider_set_rate()
|
/drivers/sh/clk/ |
D | core.c | 78 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/ |
D | ppr.c | 37 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/net/wireless/mediatek/mt7601u/ |
D | mac.c | 20 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/ux500/ |
D | clk-prcmu.c | 83 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/tegra/ |
D | clk-audio-sync.c | 31 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()
|
D | clk-divider.c | 32 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/sunxi-ng/ |
D | ccu_mp.c | 16 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() 116 static int ccu_mp_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_set_rate() 196 unsigned long rate = ccu_mp_recalc_rate(hw, parent_rate); in ccu_mp_mmc_recalc_rate() local 231 static int ccu_mp_mmc_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mp_mmc_set_rate()
|
D | ccu_nk.c | 21 static void ccu_nk_find_best(unsigned long parent, unsigned long rate, in ccu_nk_find_best() 72 unsigned long rate, n, k; in ccu_nk_recalc_rate() local 96 static long ccu_nk_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_round_rate() 119 static int ccu_nk_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_set_rate()
|
/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_lvds_pll.c | 37 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/ |
D | dpll3xxx.c | 564 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()
|
/drivers/clocksource/ |
D | renesas-ostm.c | 79 static int __init ostm_init_clksrc(struct ostm_device *ostm, unsigned long rate) in ostm_init_clksrc() 102 unsigned long rate) in ostm_init_sched_clock() 168 unsigned long rate) in ostm_init_clkevt() 201 unsigned long rate; in ostm_init() local
|