Lines Matching full:fe

122 static int thomson_dtt7579_demod_init(struct dvb_frontend* fe)  in thomson_dtt7579_demod_init()  argument
131 mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); in thomson_dtt7579_demod_init()
133 mt352_write(fe, mt352_reset, sizeof(mt352_reset)); in thomson_dtt7579_demod_init()
134 mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); in thomson_dtt7579_demod_init()
136 mt352_write(fe, mt352_agc_cfg, sizeof(mt352_agc_cfg)); in thomson_dtt7579_demod_init()
137 mt352_write(fe, mt352_gpp_ctl_cfg, sizeof(mt352_gpp_ctl_cfg)); in thomson_dtt7579_demod_init()
138 mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); in thomson_dtt7579_demod_init()
143 static int thomson_dtt7579_tuner_calc_regs(struct dvb_frontend *fe, u8* pllbuf, int buf_len) in thomson_dtt7579_tuner_calc_regs() argument
145 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in thomson_dtt7579_tuner_calc_regs()
187 static int cx24108_tuner_set_params(struct dvb_frontend *fe) in cx24108_tuner_set_params() argument
189 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cx24108_tuner_set_params()
232 cx24110_pll_write(fe,band); in cx24108_tuner_set_params()
235 cx24110_pll_write(fe,0x500c0000); in cx24108_tuner_set_params()
236 cx24110_pll_write(fe,0x83f1f800); in cx24108_tuner_set_params()
237 cx24110_pll_write(fe,pll); in cx24108_tuner_set_params()
243 static int pinnsat_tuner_init(struct dvb_frontend* fe) in pinnsat_tuner_init() argument
245 struct dvb_bt8xx_card *card = fe->dvb->priv; in pinnsat_tuner_init()
253 static int pinnsat_tuner_sleep(struct dvb_frontend* fe) in pinnsat_tuner_sleep() argument
255 struct dvb_bt8xx_card *card = fe->dvb->priv; in pinnsat_tuner_sleep()
266 static int microtune_mt7202dtf_tuner_set_params(struct dvb_frontend *fe) in microtune_mt7202dtf_tuner_set_params() argument
268 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in microtune_mt7202dtf_tuner_set_params()
269 struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; in microtune_mt7202dtf_tuner_set_params()
301 if (fe->ops.i2c_gate_ctrl) in microtune_mt7202dtf_tuner_set_params()
302 fe->ops.i2c_gate_ctrl(fe, 1); in microtune_mt7202dtf_tuner_set_params()
307 static int microtune_mt7202dtf_request_firmware(struct dvb_frontend* fe, const struct firmware **fw… in microtune_mt7202dtf_request_firmware() argument
309 struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; in microtune_mt7202dtf_request_firmware()
319 static int advbt771_samsung_tdtc9251dh0_demod_init(struct dvb_frontend* fe) in advbt771_samsung_tdtc9251dh0_demod_init() argument
329 mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); in advbt771_samsung_tdtc9251dh0_demod_init()
331 mt352_write(fe, mt352_reset, sizeof(mt352_reset)); in advbt771_samsung_tdtc9251dh0_demod_init()
332 mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); in advbt771_samsung_tdtc9251dh0_demod_init()
334 mt352_write(fe, mt352_agc_cfg,sizeof(mt352_agc_cfg)); in advbt771_samsung_tdtc9251dh0_demod_init()
336 mt352_write(fe, mt352_av771_extra,sizeof(mt352_av771_extra)); in advbt771_samsung_tdtc9251dh0_demod_init()
337 mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); in advbt771_samsung_tdtc9251dh0_demod_init()
342 static int advbt771_samsung_tdtc9251dh0_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int bu… in advbt771_samsung_tdtc9251dh0_tuner_calc_regs() argument
344 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in advbt771_samsung_tdtc9251dh0_tuner_calc_regs()
405 static int or51211_request_firmware(struct dvb_frontend* fe, const struct firmware **fw, char* name) in or51211_request_firmware() argument
407 struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; in or51211_request_firmware()
412 static void or51211_setmode(struct dvb_frontend * fe, int mode) in or51211_setmode() argument
414 struct dvb_bt8xx_card *bt = fe->dvb->priv; in or51211_setmode()
419 static void or51211_reset(struct dvb_frontend * fe) in or51211_reset() argument
421 struct dvb_bt8xx_card *bt = fe->dvb->priv; in or51211_reset()
444 static void or51211_sleep(struct dvb_frontend * fe) in or51211_sleep() argument
446 struct dvb_bt8xx_card *bt = fe->dvb->priv; in or51211_sleep()
458 static int vp3021_alps_tded4_tuner_set_params(struct dvb_frontend *fe) in vp3021_alps_tded4_tuner_set_params() argument
460 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in vp3021_alps_tded4_tuner_set_params()
461 struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; in vp3021_alps_tded4_tuner_set_params()
482 if (fe->ops.i2c_gate_ctrl) in vp3021_alps_tded4_tuner_set_params()
483 fe->ops.i2c_gate_ctrl(fe, 1); in vp3021_alps_tded4_tuner_set_params()
493 static int digitv_alps_tded4_demod_init(struct dvb_frontend* fe) in digitv_alps_tded4_demod_init() argument
501 mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); in digitv_alps_tded4_demod_init()
503 mt352_write(fe, mt352_reset, sizeof(mt352_reset)); in digitv_alps_tded4_demod_init()
504 mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); in digitv_alps_tded4_demod_init()
505 mt352_write(fe, mt352_agc_cfg,sizeof(mt352_agc_cfg)); in digitv_alps_tded4_demod_init()
506 mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); in digitv_alps_tded4_demod_init()
511 static int digitv_alps_tded4_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int buf_len) in digitv_alps_tded4_tuner_calc_regs() argument
514 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in digitv_alps_tded4_tuner_calc_regs()
592 card->fe = dvb_attach(mt352_attach, &thomson_dtt7579_config, card->i2c_adapter); in frontend_init()
594 if (card->fe == NULL) in frontend_init()
595 card->fe = dvb_attach(zl10353_attach, &thomson_dtt7579_zl10353_config, in frontend_init()
598 if (card->fe != NULL) { in frontend_init()
599 card->fe->ops.tuner_ops.calc_regs = thomson_dtt7579_tuner_calc_regs; in frontend_init()
600 card->fe->ops.info.frequency_min_hz = 174 * MHz; in frontend_init()
601 card->fe->ops.info.frequency_max_hz = 862 * MHz; in frontend_init()
607 card->fe = dvb_attach(lgdt330x_attach, &tdvs_tua6034_config, in frontend_init()
609 if (card->fe != NULL) { in frontend_init()
610 dvb_attach(simple_tuner_attach, card->fe, in frontend_init()
625 card->fe = dvb_attach(nxt6000_attach, &vp3021_alps_tded4_config, card->i2c_adapter); in frontend_init()
626 if (card->fe != NULL) { in frontend_init()
627 card->fe->ops.tuner_ops.set_params = vp3021_alps_tded4_tuner_set_params; in frontend_init()
634 card->fe = dvb_attach(mt352_attach, &digitv_alps_tded4_config, card->i2c_adapter); in frontend_init()
636 if (card->fe != NULL) { in frontend_init()
637 card->fe->ops.tuner_ops.calc_regs = digitv_alps_tded4_tuner_calc_regs; in frontend_init()
643 card->fe = dvb_attach(sp887x_attach, &microtune_mt7202dtf_config, card->i2c_adapter); in frontend_init()
644 if (card->fe) { in frontend_init()
645 card->fe->ops.tuner_ops.set_params = microtune_mt7202dtf_tuner_set_params; in frontend_init()
650 card->fe = dvb_attach(mt352_attach, &advbt771_samsung_tdtc9251dh0_config, card->i2c_adapter); in frontend_init()
651 if (card->fe != NULL) { in frontend_init()
652 card->fe->ops.tuner_ops.calc_regs = advbt771_samsung_tdtc9251dh0_tuner_calc_regs; in frontend_init()
653 card->fe->ops.info.frequency_min_hz = 174 * MHz; in frontend_init()
654 card->fe->ops.info.frequency_max_hz = 862 * MHz; in frontend_init()
678 card->fe = &state->frontend; in frontend_init()
684 card->fe = dvb_attach(cx24110_attach, &pctvsat_config, card->i2c_adapter); in frontend_init()
685 if (card->fe) { in frontend_init()
686 card->fe->ops.tuner_ops.init = pinnsat_tuner_init; in frontend_init()
687 card->fe->ops.tuner_ops.sleep = pinnsat_tuner_sleep; in frontend_init()
688 card->fe->ops.tuner_ops.set_params = cx24108_tuner_set_params; in frontend_init()
693 card->fe = dvb_attach(or51211_attach, &or51211_config, card->i2c_adapter); in frontend_init()
694 if (card->fe != NULL) in frontend_init()
695 dvb_attach(simple_tuner_attach, card->fe, in frontend_init()
701 if (card->fe == NULL) in frontend_init()
708 if (dvb_register_frontend(&card->dvb_adapter, card->fe)) { in frontend_init()
710 dvb_frontend_detach(card->fe); in frontend_init()
711 card->fe = NULL; in frontend_init()
931 if (card->fe) { in dvb_bt8xx_remove()
932 dvb_unregister_frontend(card->fe); in dvb_bt8xx_remove()
933 dvb_frontend_detach(card->fe); in dvb_bt8xx_remove()