Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
2509 cab_state->freq_khz = in stv0367cab_algo()
2514 cab_state->freq_khz = in stv0367cab_algo()
2520 cab_state->freq_khz = in stv0367cab_algo()
/kernel/linux/linux-5.10/arch/powerpc/oprofile/cell/
Dspu_profiler.c44 void set_spu_profiling_frequency(unsigned int freq_khz, unsigned int cycles_reset) in set_spu_profiling_frequency() argument
48 if (!freq_khz) in set_spu_profiling_frequency()
49 freq_khz = ppc_proc_freq/1000; in set_spu_profiling_frequency()
65 ns_per_cyc = (USEC_PER_SEC << SCALE_SHIFT)/freq_khz; in set_spu_profiling_frequency()
Dpr_util.h108 void set_spu_profiling_frequency(unsigned int freq_khz, unsigned int cycles_reset);
/kernel/linux/linux-5.10/drivers/cpufreq/
Dqcom-cpufreq-hw.c43 unsigned long freq_khz) in qcom_cpufreq_set_bw() argument
45 unsigned long freq_hz = freq_khz * 1000; in qcom_cpufreq_set_bw()
64 unsigned long freq_khz, in qcom_cpufreq_update_opp() argument
67 unsigned long freq_hz = freq_khz * 1000; in qcom_cpufreq_update_opp()
76 dev_err(cpu_dev, "Voltage update failed freq=%ld\n", freq_khz); in qcom_cpufreq_update_opp()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c253 u32 freq_khz = freq * 1000; in freq_to_shift() local
254 u64 max_val_cycles = freq_khz * 1000 * MLX4_EN_WRAP_AROUND_SEC; in freq_to_shift()
260 return ilog2(div_u64(max_mul * freq_khz, 1000000)); in freq_to_shift()
/kernel/linux/linux-5.10/drivers/clk/pxa/
Dclk-pxa25x.c81 static u32 mdrefr_dri(unsigned int freq_khz) in mdrefr_dri() argument
83 u32 interval = freq_khz * SDRAM_TREF / get_sdram_rows(); in mdrefr_dri()
Dclk-pxa27x.c85 static u32 mdrefr_dri(unsigned int freq_khz) in mdrefr_dri() argument
87 u32 interval = freq_khz * SDRAM_TREF / get_sdram_rows(); in mdrefr_dri()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/memory/
Demif.c373 u32 ref_ctrl_shdw = 0, val = 0, freq_khz, t_refi; in get_sdram_ref_ctrl_shdw() local
376 freq_khz = freq / 1000; in get_sdram_ref_ctrl_shdw()
383 val = t_refi * freq_khz / 10000; in get_sdram_ref_ctrl_shdw()
/kernel/linux/linux-5.10/net/wireless/
Dreg.c1284 u32 freq_khz) in freq_in_rule_band() argument
1292 u32 limit = freq_khz > 45 * ONE_GHZ_IN_KHZ ? in freq_in_rule_band()
1294 if (abs(freq_khz - freq_range->start_freq_khz) <= limit) in freq_in_rule_band()
1296 if (abs(freq_khz - freq_range->end_freq_khz) <= limit) in freq_in_rule_band()