Lines Matching refs:demod

41 	struct dvb_frontend demod;  member
181 dprintk("setting output mode for demod %p to %d\n", &state->demod, mode); in dib7000p_set_output_mode()
211 dprintk("Unhandled output_mode passed to be set for demod %p\n", &state->demod); in dib7000p_set_output_mode()
226 static int dib7000p_set_diversity_in(struct dvb_frontend *demod, int onoff) in dib7000p_set_diversity_in() argument
228 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_set_diversity_in()
415 static int dib7000p_set_wbd_ref(struct dvb_frontend *demod, u16 value) in dib7000p_set_wbd_ref() argument
417 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_set_wbd_ref()
556 static int dib7000p_set_gpio(struct dvb_frontend *demod, u8 num, u8 dir, u8 val) in dib7000p_set_gpio() argument
558 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_set_gpio()
742 if (state->cfg.update_lna(&state->demod, dyn_gain)) { in dib7000p_update_lna()
837 static int dib7000p_agc_startup(struct dvb_frontend *demod) in dib7000p_agc_startup() argument
839 struct dtv_frontend_properties *ch = &demod->dtv_property_cache; in dib7000p_agc_startup()
840 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_agc_startup()
867 if (demod->ops.tuner_ops.get_frequency) { in dib7000p_agc_startup()
870 demod->ops.tuner_ops.get_frequency(demod, &frequency_tuner); in dib7000p_agc_startup()
883 state->cfg.agc_control(&state->demod, 1); in dib7000p_agc_startup()
918 dprintk("SPLIT %p: %u\n", demod, agc_split); in dib7000p_agc_startup()
935 state->cfg.agc_control(&state->demod, 0); in dib7000p_agc_startup()
1103 dib7000p_set_diversity_in(&state->demod, state->div_state); in dib7000p_set_channel()
1130 static int dib7000p_autosearch_start(struct dvb_frontend *demod) in dib7000p_autosearch_start() argument
1132 struct dtv_frontend_properties *ch = &demod->dtv_property_cache; in dib7000p_autosearch_start()
1133 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_autosearch_start()
1175 static int dib7000p_autosearch_is_irq(struct dvb_frontend *demod) in dib7000p_autosearch_is_irq() argument
1177 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_autosearch_is_irq()
1277 static int dib7000p_tune(struct dvb_frontend *demod) in dib7000p_tune() argument
1279 struct dtv_frontend_properties *ch = &demod->dtv_property_cache; in dib7000p_tune()
1280 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_tune()
1380 dib7000p_reset_stats(demod); in dib7000p_tune()
1385 static int dib7000p_wakeup(struct dvb_frontend *demod) in dib7000p_wakeup() argument
1387 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_wakeup()
1395 static int dib7000p_sleep(struct dvb_frontend *demod) in dib7000p_sleep() argument
1397 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_sleep()
1664 static void dib7000p_reset_stats(struct dvb_frontend *demod) in dib7000p_reset_stats() argument
1666 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_reset_stats()
1667 struct dtv_frontend_properties *c = &demod->dtv_property_cache; in dib7000p_reset_stats()
1692 dib7000p_read_unc_blocks(demod, &ucb); in dib7000p_reset_stats()
1796 static u32 dib7000p_get_time_us(struct dvb_frontend *demod) in dib7000p_get_time_us() argument
1798 struct dtv_frontend_properties *c = &demod->dtv_property_cache; in dib7000p_get_time_us()
1896 static int dib7000p_get_stats(struct dvb_frontend *demod, enum fe_status stat) in dib7000p_get_stats() argument
1898 struct dib7000p_state *state = demod->demodulator_priv; in dib7000p_get_stats()
1899 struct dtv_frontend_properties *c = &demod->dtv_property_cache; in dib7000p_get_stats()
1907 dib7000p_read_signal_strength(demod, &strength); in dib7000p_get_stats()
1934 snr = dib7000p_get_snr(demod); in dib7000p_get_stats()
1943 dib7000p_read_unc_blocks(demod, &val); in dib7000p_get_stats()
1953 time_us = dib7000p_get_time_us(demod); in dib7000p_get_stats()
1967 time_us = dib7000p_get_time_us(demod); in dib7000p_get_stats()
1972 dib7000p_read_ber(demod, &val); in dib7000p_get_stats()
1982 dib7000p_read_unc_blocks(demod, &val); in dib7000p_get_stats()
1987 time_us = dib7000p_get_time_us(demod); in dib7000p_get_stats()
2004 static void dib7000p_release(struct dvb_frontend *demod) in dib7000p_release() argument
2006 struct dib7000p_state *st = demod->demodulator_priv; in dib7000p_release()
2061 static struct i2c_adapter *dib7000p_get_i2c_master(struct dvb_frontend *demod, enum dibx000_i2c_int… in dib7000p_get_i2c_master() argument
2063 struct dib7000p_state *st = demod->demodulator_priv; in dib7000p_get_i2c_master()
2609 dib7000p_set_diversity_in(&state->demod, onoff); in dib7090_set_diversity_in()
2739 struct dvb_frontend *demod; in dib7000p_init() local
2757 demod = &st->demod; in dib7000p_init()
2758 demod->demodulator_priv = st; in dib7000p_init()
2759 memcpy(&st->demod.ops, &dib7000p_ops, sizeof(struct dvb_frontend_ops)); in dib7000p_init()
2787 dib7000p_reset_stats(demod); in dib7000p_init()
2790 dib7090_set_output_mode(demod, st->cfg.output_mode); in dib7000p_init()
2791 dib7090_set_diversity_in(demod, 0); in dib7000p_init()
2794 return demod; in dib7000p_init()