Lines Matching refs:frontend
170 pr_err("%s() No frontend found\n", __func__);
208 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl)
209 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open);
612 /* Get the first frontend */
617 if (!fe0->dvb.frontend) {
618 pr_err("dvb frontend not attached. Can't attach xc3028\n");
629 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg);
632 dvb_frontend_detach(fe0->dvb.frontend);
633 dvb_unregister_frontend(fe0->dvb.frontend);
634 fe0->dvb.frontend = NULL;
648 /* Get the first frontend */
653 if (!fe0->dvb.frontend) {
654 pr_err("dvb frontend not attached. Can't attach xc4000\n");
658 fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap,
662 dvb_frontend_detach(fe0->dvb.frontend);
663 dvb_unregister_frontend(fe0->dvb.frontend);
664 fe0->dvb.frontend = NULL;
789 pr_info("%s: allocating %d frontend(s)\n", __func__,
998 /* Get the first frontend */
1003 /* multi-frontend gate control is undefined or defaults to fe0 */
1009 /* init frontend(s) */
1012 fe0->dvb.frontend = dvb_attach(cx22702_attach,
1015 if (fe0->dvb.frontend) {
1016 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1026 fe0->dvb.frontend = dvb_attach(cx22702_attach,
1029 if (fe0->dvb.frontend) {
1030 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1040 fe0->dvb.frontend = dvb_attach(cx22702_attach,
1043 if (fe0->dvb.frontend) {
1044 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1051 fe0->dvb.frontend = dvb_attach(cx22702_attach,
1054 if (fe0->dvb.frontend) {
1055 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1062 /* MFE frontend 1 */
1066 fe0->dvb.frontend = dvb_attach(cx24123_attach,
1069 if (fe0->dvb.frontend) {
1071 fe0->dvb.frontend,
1076 /* MFE frontend 2 */
1081 fe1->dvb.frontend = dvb_attach(cx22702_attach,
1084 if (fe1->dvb.frontend) {
1085 fe1->dvb.frontend->id = 1;
1087 fe1->dvb.frontend,
1094 fe0->dvb.frontend = dvb_attach(mt352_attach,
1097 if (fe0->dvb.frontend) {
1098 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1104 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1107 if (fe0->dvb.frontend) {
1108 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1118 fe0->dvb.frontend = dvb_attach(mt352_attach,
1121 if (fe0->dvb.frontend) {
1122 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1128 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1131 if (fe0->dvb.frontend) {
1132 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1138 fe0->dvb.frontend = dvb_attach(mt352_attach,
1141 if (fe0->dvb.frontend) {
1142 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1150 fe0->dvb.frontend = dvb_attach(mt352_attach,
1153 if (fe0->dvb.frontend) {
1154 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend,
1162 fe0->dvb.frontend = dvb_attach(mt352_attach,
1165 if (fe0->dvb.frontend) {
1166 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1176 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1179 if (fe0->dvb.frontend) {
1180 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1187 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1190 if (!fe0->dvb.frontend)
1191 fe0->dvb.frontend = dvb_attach(mt352_attach,
1199 if (fe0->dvb.frontend)
1200 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL;
1205 fe0->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000,
1207 if (fe0->dvb.frontend) {
1208 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1225 fe0->dvb.frontend = dvb_attach(lgdt330x_attach,
1229 if (fe0->dvb.frontend) {
1230 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1244 fe0->dvb.frontend = dvb_attach(lgdt330x_attach,
1248 if (fe0->dvb.frontend) {
1249 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1263 fe0->dvb.frontend = dvb_attach(lgdt330x_attach,
1267 if (fe0->dvb.frontend) {
1268 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1272 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend,
1285 fe0->dvb.frontend = dvb_attach(lgdt330x_attach,
1289 if (fe0->dvb.frontend) {
1290 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1294 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend,
1300 fe0->dvb.frontend = dvb_attach(nxt200x_attach,
1303 if (fe0->dvb.frontend) {
1304 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1312 fe0->dvb.frontend = dvb_attach(cx24123_attach,
1315 if (fe0->dvb.frontend) {
1323 if (!dvb_attach(isl6421_attach, fe0->dvb.frontend,
1330 fe0->dvb.frontend = dvb_attach(cx24123_attach,
1333 if (fe0->dvb.frontend) {
1334 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage;
1335 fe0->dvb.frontend->ops.set_voltage = kworld_dvbs_100_set_voltage;
1339 fe0->dvb.frontend = dvb_attach(cx24123_attach,
1342 if (fe0->dvb.frontend) {
1343 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage;
1344 fe0->dvb.frontend->ops.set_voltage = geniatech_dvbs_set_voltage;
1348 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1351 if (fe0->dvb.frontend) {
1352 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend,
1359 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1362 if (fe0->dvb.frontend) {
1375 fe0->dvb.frontend, &cfg);
1383 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1386 if (fe0->dvb.frontend) {
1387 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL;
1394 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1397 if (fe0->dvb.frontend) {
1405 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL;
1413 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1420 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1427 fe0->dvb.frontend = dvb_attach(s5h1411_attach,
1430 if (fe0->dvb.frontend) {
1431 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend,
1438 /* MFE frontend 1 */
1442 fe0->dvb.frontend = dvb_attach(cx24116_attach,
1445 if (fe0->dvb.frontend) {
1447 fe0->dvb.frontend,
1452 /* MFE frontend 2 */
1457 fe1->dvb.frontend = dvb_attach(cx22702_attach,
1460 if (fe1->dvb.frontend) {
1461 fe1->dvb.frontend->id = 1;
1463 fe1->dvb.frontend,
1470 fe0->dvb.frontend = dvb_attach(cx24116_attach,
1473 if (fe0->dvb.frontend) {
1475 fe0->dvb.frontend,
1484 fe0->dvb.frontend = dvb_attach(stv0299_attach,
1487 if (fe0->dvb.frontend) {
1488 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60,
1491 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage;
1492 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
1495 fe0->dvb.frontend = dvb_attach(stv0288_attach,
1498 if (fe0->dvb.frontend) {
1500 fe0->dvb.frontend, 0x61,
1503 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage;
1504 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
1509 fe0->dvb.frontend = dvb_attach(cx24116_attach,
1512 if (fe0->dvb.frontend)
1513 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
1516 fe0->dvb.frontend = dvb_attach(ds3000_attach,
1519 if (fe0->dvb.frontend) {
1520 dvb_attach(ts2020_attach, fe0->dvb.frontend,
1522 fe0->dvb.frontend->ops.set_voltage =
1530 fe0->dvb.frontend = dvb_attach(cx24116_attach,
1533 if (fe0->dvb.frontend)
1534 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
1537 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1540 if (fe0->dvb.frontend) {
1541 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL;
1549 fe0->dvb.frontend = dvb_attach(stv0900_attach,
1552 if (fe0->dvb.frontend) {
1553 if (!dvb_attach(stb6100_attach, fe0->dvb.frontend,
1558 tuner_ops = &fe0->dvb.frontend->ops.tuner_ops;
1565 fe0->dvb.frontend->ops.set_voltage;
1566 fe0->dvb.frontend->ops.set_voltage =
1581 fe0->dvb.frontend = dvb_attach(stv0299_attach,
1584 if (fe0->dvb.frontend) {
1585 fe0->dvb.frontend->ops.tuner_ops.set_params =
1587 fe0->dvb.frontend->tuner_priv =
1589 fe0->dvb.frontend->ops.set_voltage =
1591 fe0->dvb.frontend->ops.set_tone =
1598 fe0->dvb.frontend = dvb_attach(mb86a16_attach,
1601 if (fe0->dvb.frontend) {
1603 fe0->dvb.frontend->ops.set_voltage;
1604 fe0->dvb.frontend->ops.set_voltage =
1610 pr_err("The frontend of your DVB/ATSC card isn't supported yet\n");
1614 if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) {
1615 pr_err("frontend initialization failed\n");
1619 fe0->dvb.frontend->callback = cx88_tuner_callback;
1622 fe0->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl;
1624 fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl;
1768 pr_err("%s() failed to get frontend(%d)\n",