Home
last modified time | relevance | path

Searched refs:freq_khz (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/drivers/media/dvb-frontends/
Ditd1000.c163 static void itd1000_set_vco(struct itd1000_state *state, u32 freq_khz) in itd1000_set_vco() argument
174 if (freq_khz < itd1000_vcorg[i].fmax_rg) { in itd1000_set_vco()
180 …itd_dbg("VCO: %dkHz: %d -> ADCOUT: %d %02x\n", freq_khz, itd1000_vcorg[i].vcorg, adcout, vco_chp1_… in itd1000_set_vco()
213 static void itd1000_set_lo(struct itd1000_state *state, u32 freq_khz) in itd1000_set_lo() argument
219 plln = (freq_khz * 1000) / 2 / FREF; in itd1000_set_lo()
230 …itd_dbg("frequency: %dkHz (wanted) %dkHz (set), PLLF = %d, PLLN = %d\n", freq_khz, state->frequenc… in itd1000_set_lo()
239 if (freq_khz <= itd1000_fre_values[i].freq) { in itd1000_set_lo()
248 itd1000_set_vco(state, freq_khz); in itd1000_set_lo()
Dstv0367.c51 u32 freq_khz; /* found frequency (in kHz) */ member
2505 cab_state->freq_khz = in stv0367cab_algo()
2510 cab_state->freq_khz = in stv0367cab_algo()
2516 cab_state->freq_khz = in stv0367cab_algo()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c251 u32 freq_khz = freq * 1000; in freq_to_shift() local
252 u64 max_val_cycles = freq_khz * 1000 * MLX4_EN_WRAP_AROUND_SEC; in freq_to_shift()
258 return ilog2(div_u64(max_mul * freq_khz, 1000000)); in freq_to_shift()
/Linux-v6.6/drivers/cpufreq/
Dqcom-cpufreq-hw.c72 unsigned long freq_khz) in qcom_cpufreq_set_bw() argument
74 unsigned long freq_hz = freq_khz * 1000; in qcom_cpufreq_set_bw()
93 unsigned long freq_khz, in qcom_cpufreq_update_opp() argument
96 unsigned long freq_hz = freq_khz * 1000; in qcom_cpufreq_update_opp()
105 dev_err(cpu_dev, "Voltage update failed freq=%ld\n", freq_khz); in qcom_cpufreq_update_opp()
Dtegra194-cpufreq.c76 static int tegra_cpufreq_set_bw(struct cpufreq_policy *policy, unsigned long freq_khz) in tegra_cpufreq_set_bw() argument
87 opp = dev_pm_opp_find_freq_exact(dev, freq_khz * KHZ, true); in tegra_cpufreq_set_bw()
/Linux-v6.6/drivers/clk/pxa/
Dclk-pxa25x.c60 static u32 mdrefr_dri(unsigned int freq_khz) in mdrefr_dri() argument
62 u32 interval = freq_khz * SDRAM_TREF / pxa2xx_smemc_get_sdram_rows(); in mdrefr_dri()
Dclk-pxa27x.c63 static u32 mdrefr_dri(unsigned int freq_khz) in mdrefr_dri() argument
65 u32 interval = freq_khz * SDRAM_TREF / pxa2xx_smemc_get_sdram_rows(); in mdrefr_dri()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddm_helpers.h176 void dm_set_phyd32clk(struct dc_context *ctx, int freq_khz);
/Linux-v6.6/drivers/media/tuners/
Dxc5000.c466 static int xc_set_IF_frequency(struct xc5000_priv *priv, u32 freq_khz) in xc_set_IF_frequency() argument
468 u32 freq_code = (freq_khz * 1024)/1000; in xc_set_IF_frequency()
470 __func__, freq_khz, freq_code); in xc_set_IF_frequency()
/Linux-v6.6/drivers/staging/rtl8192e/rtl8192e/
Drtl_wx.c345 s32 freq_khz; in _rtl92e_wx_get_range() local
348 freq_khz = ieee80211_channel_to_freq_khz(i + 1, NL80211_BAND_2GHZ); in _rtl92e_wx_get_range()
349 range->freq[val].m = freq_khz * 100; in _rtl92e_wx_get_range()
/Linux-v6.6/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd.c887 enum cxd2880_dtv_sys sys, u32 freq_khz, in x_tune1() argument
1001 freq_khz += shift_frequency_khz; in x_tune1()
1003 data[6] = (freq_khz >> 16) & 0x0f; in x_tune1()
1004 data[7] = (freq_khz >> 8) & 0xff; in x_tune1()
1005 data[8] = freq_khz & 0xff; in x_tune1()
/Linux-v6.6/net/wireless/
Dreg.c1288 u32 freq_khz) in freq_in_rule_band() argument
1296 u32 limit = freq_khz > 45 * ONE_GHZ_IN_KHZ ? in freq_in_rule_band()
1298 if (abs(freq_khz - freq_range->start_freq_khz) <= limit) in freq_in_rule_band()
1300 if (abs(freq_khz - freq_range->end_freq_khz) <= limit) in freq_in_rule_band()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c1217 void dm_set_phyd32clk(struct dc_context *ctx, int freq_khz) in dm_set_phyd32clk() argument