Home
last modified time | relevance | path

Searched refs:target_rate (Results 1 – 18 of 18) sorted by relevance

/linux-6.3-rc2/drivers/devfreq/
A Drk3399_dmc.c49 unsigned long rate, target_rate; member
75 unsigned long target_volt, target_rate; in rk3399_dmcfreq_target() local
88 target_rate = dev_pm_opp_get_freq(opp); in rk3399_dmcfreq_target()
92 if (dmcfreq->rate == target_rate) in rk3399_dmcfreq_target()
114 ddrcon_mhz = target_rate / USEC_PER_SEC / 2; in rk3399_dmcfreq_target()
151 if (target_rate >= dmcfreq->odt_dis_freq) in rk3399_dmcfreq_target()
168 if (old_clk_rate < target_rate) { in rk3399_dmcfreq_target()
196 if (dmcfreq->rate != target_rate) { in rk3399_dmcfreq_target()
198 target_rate, dmcfreq->rate); in rk3399_dmcfreq_target()
202 } else if (old_clk_rate > target_rate) in rk3399_dmcfreq_target()
[all …]
/linux-6.3-rc2/drivers/clk/ti/
A Dclkt_dpll.c141 unsigned long target_rate, in _dpll_test_mult() argument
156 if (*new_rate > target_rate) { in _dpll_test_mult()
283 long omap2_dpll_round_rate(struct clk_hw *hw, unsigned long target_rate, in omap2_dpll_round_rate() argument
302 if (dd->max_rate && target_rate > dd->max_rate) in omap2_dpll_round_rate()
303 target_rate = dd->max_rate; in omap2_dpll_round_rate()
308 clk_name, target_rate); in omap2_dpll_round_rate()
310 scaled_rt_rp = target_rate / (ref_rate / DPLL_SCALE_FACTOR); in omap2_dpll_round_rate()
335 r = _dpll_test_mult(&m, n, &new_rate, target_rate, in omap2_dpll_round_rate()
343 delta = target_rate - new_rate; in omap2_dpll_round_rate()
362 clk_name, target_rate); in omap2_dpll_round_rate()
[all …]
A Ddpll44xx.c150 unsigned long target_rate, in omap4_dpll_regm4xen_round_rate() argument
168 r = omap2_dpll_round_rate(hw, target_rate, NULL); in omap4_dpll_regm4xen_round_rate()
177 r = omap2_dpll_round_rate(hw, target_rate / OMAP4430_REGM4XEN_MULT, in omap4_dpll_regm4xen_round_rate()
A Dclock.h275 long omap2_dpll_round_rate(struct clk_hw *hw, unsigned long target_rate,
299 unsigned long target_rate,
/linux-6.3-rc2/drivers/clk/analogbits/
A Dwrpll-cln28hpc.c148 static u8 __wrpll_calc_divq(u32 target_rate, u64 *vco_rate) in __wrpll_calc_divq() argument
158 s = div_u64(MAX_VCO_FREQ, target_rate); in __wrpll_calc_divq()
167 *vco_rate = (u64)target_rate << divq; in __wrpll_calc_divq()
225 int wrpll_configure_for_rate(struct wrpll_cfg *c, u32 target_rate, in wrpll_configure_for_rate() argument
251 if (target_rate == parent_rate) { in wrpll_configure_for_rate()
259 divq = __wrpll_calc_divq(target_rate, &target_vco_rate); in wrpll_configure_for_rate()
294 delta = abs(target_rate - vco); in wrpll_configure_for_rate()
/linux-6.3-rc2/arch/arm/mach-omap2/
A Dclkt2xxx_dpllcore.c75 static long omap2_dpllcore_round_rate(unsigned long target_rate) in omap2_dpllcore_round_rate() argument
90 if (target_rate > high) in omap2_dpllcore_round_rate()
93 return target_rate; in omap2_dpllcore_round_rate()
95 if (target_rate > low) in omap2_dpllcore_round_rate()
/linux-6.3-rc2/drivers/memory/samsung/
A Dexynos5422-dmc.c289 unsigned long target_rate) in find_target_freq_idx() argument
294 if (dmc->opp[i].freq_hz <= target_rate) in find_target_freq_idx()
415 unsigned long target_rate) in exynos5_dram_change_timings() argument
505 unsigned long target_rate) in exynos5_dmc_align_bypass_dram_timings() argument
530 unsigned long target_rate, in exynos5_dmc_switch_to_bypass_configuration() argument
584 unsigned long target_rate, in exynos5_dmc_change_freq_and_volt() argument
654 unsigned long *target_rate, in exynos5_dmc_get_volt_freq() argument
686 unsigned long target_rate = 0; in exynos5_dmc_target() local
696 if (target_rate == dmc->curr_rate) in exynos5_dmc_target()
708 dmc->curr_rate = target_rate; in exynos5_dmc_target()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/
A Dlink_dp_training_fixed_vs_pe_retimer.c144 uint8_t target_rate = 0x6; in perform_fixed_vs_pe_nontransparent_training_sequence() local
154 apply_toggle_rate_wa = (link->vendor_specific_lttpr_link_rate_wa == target_rate); in perform_fixed_vs_pe_nontransparent_training_sequence()
155 target_rate = get_dpcd_link_rate(&lt_settings->link_settings); in perform_fixed_vs_pe_nontransparent_training_sequence()
156 toggle_rate = (target_rate == 0x6) ? 0xA : 0x6; in perform_fixed_vs_pe_nontransparent_training_sequence()
172 &target_rate, in perform_fixed_vs_pe_nontransparent_training_sequence()
176 link->vendor_specific_lttpr_link_rate_wa = target_rate; in perform_fixed_vs_pe_nontransparent_training_sequence()
/linux-6.3-rc2/sound/soc/sh/rcar/
A Dadg.c121 unsigned int target_rate, in __rsnd_adg_get_timesel_ratio() argument
150 diff = abs(target_rate - sel_rate[sel] / div); in __rsnd_adg_get_timesel_ratio()
188 unsigned int target_rate; in rsnd_adg_get_timesel_ratio() local
198 target_rate = 0; in rsnd_adg_get_timesel_ratio()
202 target_rate = out_rate; in rsnd_adg_get_timesel_ratio()
205 target_rate = in_rate; in rsnd_adg_get_timesel_ratio()
209 if (target_rate) in rsnd_adg_get_timesel_ratio()
211 target_rate, in rsnd_adg_get_timesel_ratio()
/linux-6.3-rc2/include/linux/clk/
A Danalogbits-wrpll-cln28hpc.h71 int wrpll_configure_for_rate(struct wrpll_cfg *c, u32 target_rate,
/linux-6.3-rc2/drivers/clk/
A Dclk-plldig.c129 unsigned long target_rate) in plldig_calc_target_div() argument
133 div = DIV_ROUND_CLOSEST(vco_freq, target_rate); in plldig_calc_target_div()
A Dclk-cdce925.c418 unsigned long target_rate = rate * pdiv_now; in cdce925_clk_best_parent_rate() local
419 long pll_rate = clk_round_rate(pll, target_rate); in cdce925_clk_best_parent_rate()
/linux-6.3-rc2/drivers/clk/bcm/
A Dclk-iproc-pll.c81 static int pll_calc_param(unsigned long target_rate, in pll_calc_param() argument
87 ndiv_int = target_rate / parent_rate; in pll_calc_param()
92 residual = target_rate - (ndiv_int * parent_rate); in pll_calc_param()
118 static int pll_get_rate_index(struct iproc_pll *pll, unsigned int target_rate) in pll_get_rate_index() argument
123 if (target_rate == pll->vco_param[i].rate) in pll_get_rate_index()
/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/
A Dieee80211_softmac_wx.c221 u32 target_rate = wrqu->bitrate.value; in ieee80211_wx_set_rate() local
223 ieee->rate = target_rate / 100000; in ieee80211_wx_set_rate()
/linux-6.3-rc2/drivers/staging/rtl8192e/
A Drtllib_softmac_wx.c232 u32 target_rate = wrqu->bitrate.value; in rtllib_wx_set_rate() local
234 ieee->rate = target_rate/100000; in rtllib_wx_set_rate()
/linux-6.3-rc2/drivers/net/wireless/intel/ipw2x00/
A Dipw2200.c9110 if (target_rate == -1) { in ipw_wx_set_rate()
9122 if (target_rate == 1000000) in ipw_wx_set_rate()
9127 if (target_rate == 2000000) in ipw_wx_set_rate()
9132 if (target_rate == 5500000) in ipw_wx_set_rate()
9137 if (target_rate == 6000000) in ipw_wx_set_rate()
9142 if (target_rate == 9000000) in ipw_wx_set_rate()
9147 if (target_rate == 11000000) in ipw_wx_set_rate()
9152 if (target_rate == 12000000) in ipw_wx_set_rate()
9157 if (target_rate == 18000000) in ipw_wx_set_rate()
9162 if (target_rate == 24000000) in ipw_wx_set_rate()
[all …]
A Dipw2100.c7040 u32 target_rate = wrqu->bitrate.value; in ipw2100_wx_set_rate() local
7052 if (target_rate == 1000000 || in ipw2100_wx_set_rate()
7053 (!wrqu->bitrate.fixed && target_rate > 1000000)) in ipw2100_wx_set_rate()
7055 if (target_rate == 2000000 || in ipw2100_wx_set_rate()
7056 (!wrqu->bitrate.fixed && target_rate > 2000000)) in ipw2100_wx_set_rate()
7058 if (target_rate == 5500000 || in ipw2100_wx_set_rate()
7059 (!wrqu->bitrate.fixed && target_rate > 5500000)) in ipw2100_wx_set_rate()
7061 if (target_rate == 11000000 || in ipw2100_wx_set_rate()
7062 (!wrqu->bitrate.fixed && target_rate > 11000000)) in ipw2100_wx_set_rate()
/linux-6.3-rc2/drivers/staging/rtl8712/
A Drtl871x_ioctl_linux.c1319 u32 target_rate = wrqu->bitrate.value; in r8711_wx_set_rate() local
1326 if (target_rate == -1) { in r8711_wx_set_rate()
1330 target_rate = target_rate / 100000; in r8711_wx_set_rate()
1331 switch (target_rate) { in r8711_wx_set_rate()

Completed in 67 milliseconds