Lines Matching full:frontend
171 pr_err("%s() No frontend found\n", __func__); in cx88_dvb_bus_ctrl()
209 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl()
210 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl()
613 /* Get the first frontend */ in attach_xc3028()
618 if (!fe0->dvb.frontend) { in attach_xc3028()
619 pr_err("dvb frontend not attached. Can't attach xc3028\n"); in attach_xc3028()
630 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); in attach_xc3028()
633 dvb_frontend_detach(fe0->dvb.frontend); in attach_xc3028()
634 dvb_unregister_frontend(fe0->dvb.frontend); in attach_xc3028()
635 fe0->dvb.frontend = NULL; in attach_xc3028()
649 /* Get the first frontend */ in attach_xc4000()
654 if (!fe0->dvb.frontend) { in attach_xc4000()
655 pr_err("dvb frontend not attached. Can't attach xc4000\n"); in attach_xc4000()
659 fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap, in attach_xc4000()
663 dvb_frontend_detach(fe0->dvb.frontend); in attach_xc4000()
664 dvb_unregister_frontend(fe0->dvb.frontend); in attach_xc4000()
665 fe0->dvb.frontend = NULL; in attach_xc4000()
790 pr_info("%s: allocating %d frontend(s)\n", __func__, in cx8802_alloc_frontends()
999 /* Get the first frontend */ in dvb_register()
1004 /* multi-frontend gate control is undefined or defaults to fe0 */ in dvb_register()
1010 /* init frontend(s) */ in dvb_register()
1013 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1016 if (fe0->dvb.frontend) { in dvb_register()
1017 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1027 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1030 if (fe0->dvb.frontend) { in dvb_register()
1031 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1041 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1044 if (fe0->dvb.frontend) { in dvb_register()
1045 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1052 fe0->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1055 if (fe0->dvb.frontend) { in dvb_register()
1056 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1063 /* MFE frontend 1 */ in dvb_register()
1067 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1070 if (fe0->dvb.frontend) { in dvb_register()
1072 fe0->dvb.frontend, in dvb_register()
1077 /* MFE frontend 2 */ in dvb_register()
1082 fe1->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1085 if (fe1->dvb.frontend) { in dvb_register()
1086 fe1->dvb.frontend->id = 1; in dvb_register()
1088 fe1->dvb.frontend, in dvb_register()
1095 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1098 if (fe0->dvb.frontend) { in dvb_register()
1099 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1105 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1108 if (fe0->dvb.frontend) { in dvb_register()
1109 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1119 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1122 if (fe0->dvb.frontend) { in dvb_register()
1123 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1129 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1132 if (fe0->dvb.frontend) { in dvb_register()
1133 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1139 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1142 if (fe0->dvb.frontend) { in dvb_register()
1143 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1151 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1154 if (fe0->dvb.frontend) { in dvb_register()
1155 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, in dvb_register()
1163 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1166 if (fe0->dvb.frontend) { in dvb_register()
1167 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1177 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1180 if (fe0->dvb.frontend) { in dvb_register()
1181 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1188 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1191 if (!fe0->dvb.frontend) in dvb_register()
1192 fe0->dvb.frontend = dvb_attach(mt352_attach, in dvb_register()
1200 if (fe0->dvb.frontend) in dvb_register()
1201 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1206 fe0->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000, in dvb_register()
1208 if (fe0->dvb.frontend) { in dvb_register()
1209 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1226 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1230 if (fe0->dvb.frontend) { in dvb_register()
1231 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1245 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1249 if (fe0->dvb.frontend) { in dvb_register()
1250 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1264 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1268 if (fe0->dvb.frontend) { in dvb_register()
1269 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1273 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, in dvb_register()
1286 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, in dvb_register()
1290 if (fe0->dvb.frontend) { in dvb_register()
1291 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1295 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, in dvb_register()
1301 fe0->dvb.frontend = dvb_attach(nxt200x_attach, in dvb_register()
1304 if (fe0->dvb.frontend) { in dvb_register()
1305 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, in dvb_register()
1313 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1316 if (fe0->dvb.frontend) { in dvb_register()
1324 if (!dvb_attach(isl6421_attach, fe0->dvb.frontend, in dvb_register()
1331 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1334 if (fe0->dvb.frontend) { in dvb_register()
1335 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1336 fe0->dvb.frontend->ops.set_voltage = kworld_dvbs_100_set_voltage; in dvb_register()
1340 fe0->dvb.frontend = dvb_attach(cx24123_attach, in dvb_register()
1343 if (fe0->dvb.frontend) { in dvb_register()
1344 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1345 fe0->dvb.frontend->ops.set_voltage = geniatech_dvbs_set_voltage; in dvb_register()
1349 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register()
1352 if (fe0->dvb.frontend) { in dvb_register()
1353 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, in dvb_register()
1360 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register()
1363 if (fe0->dvb.frontend) { in dvb_register()
1376 fe0->dvb.frontend, &cfg); in dvb_register()
1384 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1387 if (fe0->dvb.frontend) { in dvb_register()
1388 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1395 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1398 if (fe0->dvb.frontend) { in dvb_register()
1406 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1414 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1421 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register()
1428 fe0->dvb.frontend = dvb_attach(s5h1411_attach, in dvb_register()
1431 if (fe0->dvb.frontend) { in dvb_register()
1432 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, in dvb_register()
1439 /* MFE frontend 1 */ in dvb_register()
1443 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1446 if (fe0->dvb.frontend) { in dvb_register()
1448 fe0->dvb.frontend, in dvb_register()
1453 /* MFE frontend 2 */ in dvb_register()
1458 fe1->dvb.frontend = dvb_attach(cx22702_attach, in dvb_register()
1461 if (fe1->dvb.frontend) { in dvb_register()
1462 fe1->dvb.frontend->id = 1; in dvb_register()
1464 fe1->dvb.frontend, in dvb_register()
1471 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1474 if (fe0->dvb.frontend) { in dvb_register()
1476 fe0->dvb.frontend, in dvb_register()
1485 fe0->dvb.frontend = dvb_attach(stv0299_attach, in dvb_register()
1488 if (fe0->dvb.frontend) { in dvb_register()
1489 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, in dvb_register()
1492 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1493 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1496 fe0->dvb.frontend = dvb_attach(stv0288_attach, in dvb_register()
1499 if (fe0->dvb.frontend) { in dvb_register()
1501 fe0->dvb.frontend, 0x61, in dvb_register()
1504 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1505 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1510 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1513 if (fe0->dvb.frontend) in dvb_register()
1514 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1517 fe0->dvb.frontend = dvb_attach(ds3000_attach, in dvb_register()
1520 if (fe0->dvb.frontend) { in dvb_register()
1521 dvb_attach(ts2020_attach, fe0->dvb.frontend, in dvb_register()
1523 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1531 fe0->dvb.frontend = dvb_attach(cx24116_attach, in dvb_register()
1534 if (fe0->dvb.frontend) in dvb_register()
1535 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; in dvb_register()
1538 fe0->dvb.frontend = dvb_attach(zl10353_attach, in dvb_register()
1541 if (fe0->dvb.frontend) { in dvb_register()
1542 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; in dvb_register()
1550 fe0->dvb.frontend = dvb_attach(stv0900_attach, in dvb_register()
1553 if (fe0->dvb.frontend) { in dvb_register()
1554 if (!dvb_attach(stb6100_attach, fe0->dvb.frontend, in dvb_register()
1559 tuner_ops = &fe0->dvb.frontend->ops.tuner_ops; in dvb_register()
1566 fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1567 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1582 fe0->dvb.frontend = dvb_attach(stv0299_attach, in dvb_register()
1585 if (fe0->dvb.frontend) { in dvb_register()
1586 fe0->dvb.frontend->ops.tuner_ops.set_params = in dvb_register()
1588 fe0->dvb.frontend->tuner_priv = in dvb_register()
1590 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1592 fe0->dvb.frontend->ops.set_tone = in dvb_register()
1599 fe0->dvb.frontend = dvb_attach(mb86a16_attach, in dvb_register()
1602 if (fe0->dvb.frontend) { in dvb_register()
1604 fe0->dvb.frontend->ops.set_voltage; in dvb_register()
1605 fe0->dvb.frontend->ops.set_voltage = in dvb_register()
1611 pr_err("The frontend of your DVB/ATSC card isn't supported yet\n"); in dvb_register()
1615 if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) { in dvb_register()
1616 pr_err("frontend initialization failed\n"); in dvb_register()
1620 fe0->dvb.frontend->callback = cx88_tuner_callback; in dvb_register()
1623 fe0->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; in dvb_register()
1625 fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; in dvb_register()
1769 pr_err("%s() failed to get frontend(%d)\n", in cx8802_dvb_probe()