Lines Matching full:frequency

21 	u32 frequency;  member
57 static int tda665x_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda665x_get_frequency() argument
61 *frequency = state->frequency; in tda665x_get_frequency()
94 u32 frequency, status = 0; in tda665x_set_frequency() local
100 printk(KERN_ERR "%s: Frequency beyond limits, frequency=%d\n", in tda665x_set_frequency()
105 frequency = new_frequency; in tda665x_set_frequency()
107 frequency += config->frequency_offst; in tda665x_set_frequency()
108 frequency *= config->ref_multiplier; in tda665x_set_frequency()
109 frequency += config->ref_divider >> 1; in tda665x_set_frequency()
110 frequency /= config->ref_divider; in tda665x_set_frequency()
112 buf[0] = (u8) ((frequency & 0x7f00) >> 8); in tda665x_set_frequency()
113 buf[1] = (u8) (frequency & 0x00ff) >> 0; in tda665x_set_frequency()
117 /* restore frequency */ in tda665x_set_frequency()
118 frequency = new_frequency; in tda665x_set_frequency()
120 if (frequency < 153000000) { in tda665x_set_frequency()
123 if (frequency < 68000000) in tda665x_set_frequency()
125 if (frequency < 1040000000) in tda665x_set_frequency()
127 if (frequency < 1250000000) in tda665x_set_frequency()
131 } else if (frequency < 438000000) { in tda665x_set_frequency()
134 if (frequency < 230000000) in tda665x_set_frequency()
136 if (frequency < 300000000) in tda665x_set_frequency()
143 if (frequency < 470000000) in tda665x_set_frequency()
145 if (frequency < 526000000) in tda665x_set_frequency()
167 state->frequency = frequency; /* cache successful state */ in tda665x_set_frequency()
183 tda665x_set_frequency(fe, c->frequency); in tda665x_set_params()