Searched refs:sampled_if (Results 1 – 1 of 1) sorted by relevance
1917 u32 sampled_if = 0; in stv0367cab_set_derot_freq() local1929 sampled_if = (u32)derot_hz / 1000; in stv0367cab_set_derot_freq()1930 sampled_if *= 32768; in stv0367cab_set_derot_freq()1931 sampled_if /= adc_khz; in stv0367cab_set_derot_freq()1932 sampled_if *= 256; in stv0367cab_set_derot_freq()1935 if (sampled_if > 8388607) in stv0367cab_set_derot_freq()1936 sampled_if = 8388607; in stv0367cab_set_derot_freq()1938 dprintk("%s: sampled_if=0x%x\n", __func__, sampled_if); in stv0367cab_set_derot_freq()1940 stv0367_writereg(state, R367CAB_MIX_NCO_LL, sampled_if); in stv0367cab_set_derot_freq()1941 stv0367_writereg(state, R367CAB_MIX_NCO_HL, (sampled_if >> 8)); in stv0367cab_set_derot_freq()[all …]