Lines Matching full:frontend
51 struct dvb_frontend *frontend[CX231XX_DVB_MAX_FRONTENDS]; member
313 if (!demux->dmx.frontend) in start_feed()
380 if (!dev->dvb->frontend[0]) {
381 dev_err(dev->dev, "%s/2: dvb frontend not attached. Can't attach xc5000\n",
386 fe = dvb_attach(xc5000_attach, dev->dvb->frontend[0], &cfg);
389 dvb_frontend_detach(dev->dvb->frontend[0]);
390 dev->dvb->frontend[0] = NULL;
402 if (dev->dvb && dev->dvb->frontend[0]) { in cx231xx_set_analog_freq()
404 struct dvb_tuner_ops *dops = &dev->dvb->frontend[0]->ops.tuner_ops; in cx231xx_set_analog_freq()
415 dops->set_analog_params(dev->dvb->frontend[0], ¶ms); in cx231xx_set_analog_freq()
427 if (dev->dvb && dev->dvb->frontend[0]) { in cx231xx_reset_analog_tuner()
429 struct dvb_tuner_ops *dops = &dev->dvb->frontend[0]->ops.tuner_ops; in cx231xx_reset_analog_tuner()
435 status = dops->init(dev->dvb->frontend[0]); in cx231xx_reset_analog_tuner()
475 dvb->frontend[0]->ops.ts_bus_ctrl = cx231xx_dvb_bus_ctrl; in register_dvb()
476 if (dvb->frontend[1]) in register_dvb()
477 dvb->frontend[1]->ops.ts_bus_ctrl = cx231xx_dvb_bus_ctrl; in register_dvb()
481 /* register frontend */ in register_dvb()
482 result = dvb_register_frontend(&dvb->adapter, dvb->frontend[0]); in register_dvb()
490 if (dvb->frontend[1]) { in register_dvb()
491 result = dvb_register_frontend(&dvb->adapter, dvb->frontend[1]); in register_dvb()
578 if (dvb->frontend[1]) in register_dvb()
579 dvb_unregister_frontend(dvb->frontend[1]); in register_dvb()
580 dvb_unregister_frontend(dvb->frontend[0]); in register_dvb()
582 if (dvb->frontend[1]) in register_dvb()
583 dvb_frontend_detach(dvb->frontend[1]); in register_dvb()
585 dvb_frontend_detach(dvb->frontend[0]); in register_dvb()
598 if (dvb->frontend[1]) in unregister_dvb()
599 dvb_unregister_frontend(dvb->frontend[1]); in unregister_dvb()
600 dvb_unregister_frontend(dvb->frontend[0]); in unregister_dvb()
601 if (dvb->frontend[1]) in unregister_dvb()
602 dvb_frontend_detach(dvb->frontend[1]); in unregister_dvb()
603 dvb_frontend_detach(dvb->frontend[0]); in unregister_dvb()
646 /* init frontend */ in dvb_init()
651 dev->dvb->frontend[0] = dvb_attach(s5h1432_attach, in dvb_init()
655 if (!dev->dvb->frontend[0]) { in dvb_init()
663 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
665 if (!dvb_attach(xc5000_attach, dev->dvb->frontend[0], in dvb_init()
676 dev->dvb->frontend[0] = dvb_attach(s5h1411_attach, in dvb_init()
680 if (!dev->dvb->frontend[0]) { in dvb_init()
688 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
690 if (!dvb_attach(xc5000_attach, dev->dvb->frontend[0], in dvb_init()
699 dev->dvb->frontend[0] = dvb_attach(s5h1432_attach, in dvb_init()
703 if (!dev->dvb->frontend[0]) { in dvb_init()
711 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
713 if (!dvb_attach(tda18271_attach, dev->dvb->frontend[0], in dvb_init()
723 dev->dvb->frontend[0] = dvb_attach(s5h1411_attach, in dvb_init()
727 if (!dev->dvb->frontend[0]) { in dvb_init()
735 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
737 if (!dvb_attach(tda18271_attach, dev->dvb->frontend[0], in dvb_init()
750 dev->dvb->frontend[0] = dvb_attach(lgdt3305_attach, in dvb_init()
754 if (!dev->dvb->frontend[0]) { in dvb_init()
762 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
764 dvb_attach(tda18271_attach, dev->dvb->frontend[0], in dvb_init()
774 si2165_pdata.fe = &dev->dvb->frontend[0]; in dvb_init()
788 dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; in dvb_init()
791 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
793 dvb_attach(tda18271_attach, dev->dvb->frontend[0], in dvb_init()
806 si2165_pdata.fe = &dev->dvb->frontend[0]; in dvb_init()
820 dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; in dvb_init()
823 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
826 si2157_config.fe = dev->dvb->frontend[0]; in dvb_init()
852 lgdt3306a_config.fe = &dev->dvb->frontend[0]; in dvb_init()
865 dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; in dvb_init()
868 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
871 si2157_config.fe = dev->dvb->frontend[0]; in dvb_init()
898 dev->dvb->frontend[0] = dvb_attach(mb86a20s_attach, in dvb_init()
902 if (!dev->dvb->frontend[0]) { in dvb_init()
910 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
912 dvb_attach(tda18271_attach, dev->dvb->frontend[0], in dvb_init()
924 si2168_config.fe = &dev->dvb->frontend[0]; in dvb_init()
939 si2157_config.fe = dev->dvb->frontend[0]; in dvb_init()
965 mn88473_config.fe = &dev->dvb->frontend[0]; in dvb_init()
978 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
981 dvb_attach(r820t_attach, dev->dvb->frontend[0], in dvb_init()
993 si2168_config.fe = &dev->dvb->frontend[0]; in dvb_init()
1006 dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; in dvb_init()
1009 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
1012 si2157_config.fe = dev->dvb->frontend[0]; in dvb_init()
1040 lgdt3306a_config.fe = &dev->dvb->frontend[0]; in dvb_init()
1055 si2168_config.fe = &dev->dvb->frontend[1]; in dvb_init()
1068 dvb->frontend[1]->id = 1; in dvb_init()
1071 dvb->frontend[0]->callback = cx231xx_tuner_callback; in dvb_init()
1072 dvb->frontend[1]->callback = cx231xx_tuner_callback; in dvb_init()
1075 si2157_config.fe = dev->dvb->frontend[0]; in dvb_init()
1093 dvb->frontend[1]->tuner_priv = dvb->frontend[0]->tuner_priv; in dvb_init()
1095 memcpy(&dvb->frontend[1]->ops.tuner_ops, in dvb_init()
1096 &dvb->frontend[0]->ops.tuner_ops, in dvb_init()
1102 "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", in dvb_init()
1106 if (!dvb->frontend[0]) { in dvb_init()
1108 "%s/2: frontend initialization failed\n", dev->name); in dvb_init()