Searched refs:sampled_if (Results 1 – 1 of 1) sorted by relevance
1903 u32 sampled_if = 0; in stv0367cab_set_derot_freq() local1915 sampled_if = (u32)derot_hz / 1000; in stv0367cab_set_derot_freq()1916 sampled_if *= 32768; in stv0367cab_set_derot_freq()1917 sampled_if /= adc_khz; in stv0367cab_set_derot_freq()1918 sampled_if *= 256; in stv0367cab_set_derot_freq()1921 if (sampled_if > 8388607) in stv0367cab_set_derot_freq()1922 sampled_if = 8388607; in stv0367cab_set_derot_freq()1924 dprintk("%s: sampled_if=0x%x\n", __func__, sampled_if); in stv0367cab_set_derot_freq()1926 stv0367_writereg(state, R367CAB_MIX_NCO_LL, sampled_if); in stv0367cab_set_derot_freq()1927 stv0367_writereg(state, R367CAB_MIX_NCO_HL, (sampled_if >> 8)); in stv0367cab_set_derot_freq()[all …]