Lines Matching refs:frequency
36 u32 frequency; member
170 static int zl10036_set_frequency(struct zl10036_state *state, u32 frequency) in zl10036_set_frequency() argument
175 div = (frequency + _FR/2) / _FR; in zl10036_set_frequency()
176 state->frequency = div * _FR; in zl10036_set_frequency()
178 foffset = frequency - state->frequency; in zl10036_set_frequency()
184 frequency, state->frequency, foffset, div); in zl10036_set_frequency()
299 u32 frequency = p->frequency; in zl10036_set_params() local
306 if ((frequency < fe->ops.info.frequency_min_hz / kHz) in zl10036_set_params()
307 || (frequency > fe->ops.info.frequency_max_hz / kHz)) in zl10036_set_params()
324 if (frequency < 950000) in zl10036_set_params()
326 else if (frequency < 1250000) in zl10036_set_params()
328 else if (frequency < 1750000) in zl10036_set_params()
330 else if (frequency < 2175000) in zl10036_set_params()
342 ret = zl10036_set_frequency(state, p->frequency); in zl10036_set_params()
370 static int zl10036_get_frequency(struct dvb_frontend *fe, u32 *frequency) in zl10036_get_frequency() argument
374 *frequency = state->frequency; in zl10036_get_frequency()