Lines Matching refs:frontend

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