Searched refs:freq_khz (Results 1 – 5 of 5) sorted by relevance
/drivers/media/dvb-frontends/ |
D | itd1000.c | 177 static void itd1000_set_vco(struct itd1000_state *state, u32 freq_khz) in itd1000_set_vco() argument 188 if (freq_khz < itd1000_vcorg[i].fmax_rg) { in itd1000_set_vco() 194 …itd_dbg("VCO: %dkHz: %d -> ADCOUT: %d %02x\n", freq_khz, itd1000_vcorg[i].vcorg, adcout, vco_chp1_… in itd1000_set_vco() 227 static void itd1000_set_lo(struct itd1000_state *state, u32 freq_khz) in itd1000_set_lo() argument 233 plln = (freq_khz * 1000) / 2 / FREF; in itd1000_set_lo() 244 …itd_dbg("frequency: %dkHz (wanted) %dkHz (set), PLLF = %d, PLLN = %d\n", freq_khz, state->frequenc… in itd1000_set_lo() 253 if (freq_khz <= itd1000_fre_values[i].freq) { in itd1000_set_lo() 262 itd1000_set_vco(state, freq_khz); in itd1000_set_lo()
|
D | stv0367.c | 60 u32 freq_khz; /* found frequency (in kHz) */ member 3018 cab_state->freq_khz = in stv0367cab_algo() 3023 cab_state->freq_khz = in stv0367cab_algo() 3029 cab_state->freq_khz = in stv0367cab_algo()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 252 u32 freq_khz = freq * 1000; in freq_to_shift() local 253 u64 max_val_cycles = freq_khz * 1000 * MLX4_EN_WRAP_AROUND_SEC; in freq_to_shift() 263 return ilog2(div_u64(max_mul * freq_khz, 1000000)); in freq_to_shift()
|
/drivers/media/tuners/ |
D | xc5000.c | 480 static int xc_set_IF_frequency(struct xc5000_priv *priv, u32 freq_khz) in xc_set_IF_frequency() argument 482 u32 freq_code = (freq_khz * 1024)/1000; in xc_set_IF_frequency() 484 __func__, freq_khz, freq_code); in xc_set_IF_frequency()
|
/drivers/memory/ |
D | emif.c | 394 u32 ref_ctrl_shdw = 0, val = 0, freq_khz, t_refi; in get_sdram_ref_ctrl_shdw() local 397 freq_khz = freq / 1000; in get_sdram_ref_ctrl_shdw() 404 val = t_refi * freq_khz / 10000; in get_sdram_ref_ctrl_shdw()
|