Lines Matching full:frontend

172 		pr_err("%s() No frontend found\n", __func__);  in cx88_dvb_bus_ctrl()
210 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl()
211 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl()
614 /* Get the first frontend */ in attach_xc3028()
619 if (!fe0->dvb.frontend) { in attach_xc3028()
620 pr_err("dvb frontend not attached. Can't attach xc3028\n"); in attach_xc3028()
631 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); in attach_xc3028()
634 dvb_frontend_detach(fe0->dvb.frontend); in attach_xc3028()
635 dvb_unregister_frontend(fe0->dvb.frontend); in attach_xc3028()
636 fe0->dvb.frontend = NULL; in attach_xc3028()
650 /* Get the first frontend */ in attach_xc4000()
655 if (!fe0->dvb.frontend) { in attach_xc4000()
656 pr_err("dvb frontend not attached. Can't attach xc4000\n"); in attach_xc4000()
660 fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap, in attach_xc4000()
664 dvb_frontend_detach(fe0->dvb.frontend); in attach_xc4000()
665 dvb_unregister_frontend(fe0->dvb.frontend); in attach_xc4000()
666 fe0->dvb.frontend = NULL; in attach_xc4000()
791 pr_info("%s: allocating %d frontend(s)\n", __func__, in cx8802_alloc_frontends()
1000 /* Get the first frontend */ in dvb_register()
1005 /* multi-frontend gate control is undefined or defaults to fe0 */ in dvb_register()
1011 /* init frontend(s) */ in dvb_register()
1014 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1017 if (fe0->dvb.frontend) { in dvb_register()
1018 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1028 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1031 if (fe0->dvb.frontend) { in dvb_register()
1032 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1042 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1045 if (fe0->dvb.frontend) { in dvb_register()
1046 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1053 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1056 if (fe0->dvb.frontend) { in dvb_register()
1057 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1064 /* MFE frontend 1 */ in dvb_register()
1068 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1071 if (fe0->dvb.frontend) { in dvb_register()
1073 fe0->dvb.frontend, in dvb_register()
1078 /* MFE frontend 2 */ in dvb_register()
1083 fe1->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1086 if (fe1->dvb.frontend) { in dvb_register()
1087 fe1->dvb.frontend->id = 1; in dvb_register()
1089 fe1->dvb.frontend, in dvb_register()
1096 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1099 if (fe0->dvb.frontend) { in dvb_register()
1100 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1106 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1109 if (fe0->dvb.frontend) { in dvb_register()
1110 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1120 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1123 if (fe0->dvb.frontend) { in dvb_register()
1124 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1130 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1133 if (fe0->dvb.frontend) { in dvb_register()
1134 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1140 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1143 if (fe0->dvb.frontend) { in dvb_register()
1144 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1152 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1155 if (fe0->dvb.frontend) { in dvb_register()
1156 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1164 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1167 if (fe0->dvb.frontend) { in dvb_register()
1168 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1178 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1181 if (fe0->dvb.frontend) { in dvb_register()
1182 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1189 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1192 if (!fe0->dvb.frontend) in dvb_register()
1193 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1201 if (fe0->dvb.frontend) in dvb_register()
1202 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1207 fe0->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000, in dvb_register()
1209 if (fe0->dvb.frontend) { in dvb_register()
1210 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1227 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1231 if (fe0->dvb.frontend) { in dvb_register()
1232 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1246 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1250 if (fe0->dvb.frontend) { in dvb_register()
1251 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1265 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1269 if (fe0->dvb.frontend) { in dvb_register()
1270 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1274 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, in dvb_register()
1287 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1291 if (fe0->dvb.frontend) { in dvb_register()
1292 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1296 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, in dvb_register()
1302 fe0->dvb.frontend = dvb_attach(nxt200x_attach, in dvb_register()
1305 if (fe0->dvb.frontend) { in dvb_register()
1306 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1314 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1317 if (fe0->dvb.frontend) { in dvb_register()
1325 if (!dvb_attach(isl6421_attach, fe0->dvb.frontend, in dvb_register()
1332 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1335 if (fe0->dvb.frontend) { in dvb_register()
1336 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1337 fe0->dvb.frontend->ops.set_voltage = kworld_dvbs_100_set_voltage; in dvb_register()
1341 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1344 if (fe0->dvb.frontend) { in dvb_register()
1345 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1346 fe0->dvb.frontend->ops.set_voltage = geniatech_dvbs_set_voltage; in dvb_register()
1350 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register()
1353 if (fe0->dvb.frontend) { in dvb_register()
1354 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, in dvb_register()
1361 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register()
1364 if (fe0->dvb.frontend) { in dvb_register()
1377 fe0->dvb.frontend, &cfg); in dvb_register()
1385 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1388 if (fe0->dvb.frontend) { in dvb_register()
1389 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1396 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1399 if (fe0->dvb.frontend) { in dvb_register()
1407 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1415 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1422 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register()
1429 fe0->dvb.frontend = dvb_attach(s5h1411_attach, in dvb_register()
1432 if (fe0->dvb.frontend) { in dvb_register()
1433 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, in dvb_register()
1440 /* MFE frontend 1 */ in dvb_register()
1444 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1447 if (fe0->dvb.frontend) { in dvb_register()
1449 fe0->dvb.frontend, in dvb_register()
1454 /* MFE frontend 2 */ in dvb_register()
1459 fe1->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1462 if (fe1->dvb.frontend) { in dvb_register()
1463 fe1->dvb.frontend->id = 1; in dvb_register()
1465 fe1->dvb.frontend, in dvb_register()
1472 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1475 if (fe0->dvb.frontend) { in dvb_register()
1477 fe0->dvb.frontend, in dvb_register()
1486 fe0->dvb.frontend = dvb_attach(stv0299_attach, in dvb_register()
1489 if (fe0->dvb.frontend) { in dvb_register()
1490 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, in dvb_register()
1493 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1494 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1497 fe0->dvb.frontend = dvb_attach(stv0288_attach, in dvb_register()
1500 if (fe0->dvb.frontend) { in dvb_register()
1502 fe0->dvb.frontend, 0x61, in dvb_register()
1505 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1506 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1511 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1514 if (fe0->dvb.frontend) in dvb_register()
1515 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1518 fe0->dvb.frontend = dvb_attach(ds3000_attach, in dvb_register()
1521 if (fe0->dvb.frontend) { in dvb_register()
1522 dvb_attach(ts2020_attach, fe0->dvb.frontend, in dvb_register()
1524 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1532 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1535 if (fe0->dvb.frontend) in dvb_register()
1536 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1539 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1542 if (fe0->dvb.frontend) { in dvb_register()
1543 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1551 fe0->dvb.frontend = dvb_attach(stv0900_attach, in dvb_register()
1554 if (fe0->dvb.frontend) { in dvb_register()
1555 if (!dvb_attach(stb6100_attach, fe0->dvb.frontend, in dvb_register()
1560 tuner_ops = &fe0->dvb.frontend->ops.tuner_ops; in dvb_register()
1567 fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1568 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1583 fe0->dvb.frontend = dvb_attach(stv0299_attach, in dvb_register()
1586 if (fe0->dvb.frontend) { in dvb_register()
1587 fe0->dvb.frontend->ops.tuner_ops.set_params = in dvb_register()
1589 fe0->dvb.frontend->tuner_priv = in dvb_register()
1591 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1593 fe0->dvb.frontend->ops.set_tone = in dvb_register()
1600 fe0->dvb.frontend = dvb_attach(mb86a16_attach, in dvb_register()
1603 if (fe0->dvb.frontend) { in dvb_register()
1605 fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1606 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1612 pr_err("The frontend of your DVB/ATSC card isn't supported yet\n"); in dvb_register()
1616 if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) { in dvb_register()
1617 pr_err("frontend initialization failed\n"); in dvb_register()
1621 fe0->dvb.frontend->callback = cx88_tuner_callback; in dvb_register()
1624 fe0->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; in dvb_register()
1626 fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; in dvb_register()
1770 pr_err("%s() failed to get frontend(%d)\n", in cx8802_dvb_probe()