Searched refs:frontend (Results 1 - 200 of 375) sorted by relevance

12

/linux-4.4.14/drivers/media/pci/cx88/
H A Dcx88-dvb.c182 printk(KERN_ERR "%s() No frontend found\n", __func__); cx88_dvb_bus_ctrl()
220 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) cx88_dvb_gate_ctrl()
221 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); cx88_dvb_gate_ctrl()
623 /* Get the first frontend */ attach_xc3028()
628 if (!fe0->dvb.frontend) { attach_xc3028()
629 printk(KERN_ERR "%s/2: dvb frontend not attached. " attach_xc3028()
642 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); attach_xc3028()
646 dvb_frontend_detach(fe0->dvb.frontend); attach_xc3028()
647 dvb_unregister_frontend(fe0->dvb.frontend); attach_xc3028()
648 fe0->dvb.frontend = NULL; attach_xc3028()
663 /* Get the first frontend */ attach_xc4000()
668 if (!fe0->dvb.frontend) { attach_xc4000()
669 printk(KERN_ERR "%s/2: dvb frontend not attached. " attach_xc4000()
675 fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap, attach_xc4000()
680 dvb_frontend_detach(fe0->dvb.frontend); attach_xc4000()
681 dvb_unregister_frontend(fe0->dvb.frontend); attach_xc4000()
682 fe0->dvb.frontend = NULL; attach_xc4000()
804 printk(KERN_INFO "%s() allocating %d frontend(s)\n", __func__, cx8802_alloc_frontends()
1017 /* Get the first frontend */ dvb_register()
1022 /* multi-frontend gate control is undefined or defaults to fe0 */ dvb_register()
1028 /* init frontend(s) */ dvb_register()
1031 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1034 if (fe0->dvb.frontend != NULL) { dvb_register()
1035 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1045 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1048 if (fe0->dvb.frontend != NULL) { dvb_register()
1049 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1059 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1062 if (fe0->dvb.frontend != NULL) { dvb_register()
1063 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1070 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1073 if (fe0->dvb.frontend != NULL) { dvb_register()
1074 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1081 /* MFE frontend 1 */ dvb_register()
1085 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1088 if (fe0->dvb.frontend) { dvb_register()
1090 fe0->dvb.frontend, dvb_register()
1095 /* MFE frontend 2 */ dvb_register()
1100 fe1->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1103 if (fe1->dvb.frontend) { dvb_register()
1104 fe1->dvb.frontend->id = 1; dvb_register()
1106 fe1->dvb.frontend, dvb_register()
1113 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1116 if (fe0->dvb.frontend != NULL) { dvb_register()
1117 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1123 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1126 if (fe0->dvb.frontend != NULL) { dvb_register()
1127 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1135 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1138 if (fe0->dvb.frontend != NULL) { dvb_register()
1139 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1145 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1148 if (fe0->dvb.frontend != NULL) { dvb_register()
1149 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1155 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1158 if (fe0->dvb.frontend != NULL) { dvb_register()
1159 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1167 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1170 if (fe0->dvb.frontend != NULL) { dvb_register()
1171 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1179 fe0->dvb.frontend = dvb_attach(mt352_attach, &dntv_live_dvbt_pro_config, dvb_register()
1181 if (fe0->dvb.frontend != NULL) { dvb_register()
1182 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1193 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1196 if (fe0->dvb.frontend != NULL) { dvb_register()
1197 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1204 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1207 if (fe0->dvb.frontend == NULL) dvb_register()
1208 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1216 if (fe0->dvb.frontend) dvb_register()
1217 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1222 fe0->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000, dvb_register()
1224 if (fe0->dvb.frontend != NULL) { dvb_register()
1225 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1242 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1245 if (fe0->dvb.frontend != NULL) { dvb_register()
1246 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1260 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1263 if (fe0->dvb.frontend != NULL) { dvb_register()
1264 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1278 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1281 if (fe0->dvb.frontend != NULL) { dvb_register()
1282 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1286 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, dvb_register()
1299 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1302 if (fe0->dvb.frontend != NULL) { dvb_register()
1303 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1307 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, dvb_register()
1313 fe0->dvb.frontend = dvb_attach(nxt200x_attach, dvb_register()
1316 if (fe0->dvb.frontend != NULL) { dvb_register()
1317 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1325 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1328 if (fe0->dvb.frontend) { dvb_register()
1336 if (!dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb_register()
1343 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1346 if (fe0->dvb.frontend) { dvb_register()
1347 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1348 fe0->dvb.frontend->ops.set_voltage = kworld_dvbs_100_set_voltage; dvb_register()
1352 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1355 if (fe0->dvb.frontend) { dvb_register()
1356 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1357 fe0->dvb.frontend->ops.set_voltage = geniatech_dvbs_set_voltage; dvb_register()
1361 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1364 if (fe0->dvb.frontend != NULL) { dvb_register()
1365 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1372 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1375 if (fe0->dvb.frontend != NULL) { dvb_register()
1388 fe0->dvb.frontend, &cfg); dvb_register()
1395 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1398 if (fe0->dvb.frontend) { dvb_register()
1399 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1406 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1409 if (fe0->dvb.frontend) { dvb_register()
1417 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1425 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1432 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1439 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_register()
1442 if (fe0->dvb.frontend != NULL) { dvb_register()
1443 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1450 /* MFE frontend 1 */ dvb_register()
1454 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1457 if (fe0->dvb.frontend) { dvb_register()
1459 fe0->dvb.frontend, dvb_register()
1464 /* MFE frontend 2 */ dvb_register()
1469 fe1->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1472 if (fe1->dvb.frontend) { dvb_register()
1473 fe1->dvb.frontend->id = 1; dvb_register()
1475 fe1->dvb.frontend, dvb_register()
1482 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1485 if (fe0->dvb.frontend) { dvb_register()
1487 fe0->dvb.frontend, dvb_register()
1496 fe0->dvb.frontend = dvb_attach(stv0299_attach, dvb_register()
1499 if (fe0->dvb.frontend != NULL) { dvb_register()
1500 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, dvb_register()
1503 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1504 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb_register()
1507 fe0->dvb.frontend = dvb_attach(stv0288_attach, dvb_register()
1510 if (fe0->dvb.frontend != NULL) { dvb_register()
1511 if (!dvb_attach(stb6000_attach, fe0->dvb.frontend, 0x61, dvb_register()
1514 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1515 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb_register()
1520 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1523 if (fe0->dvb.frontend != NULL) dvb_register()
1524 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb_register()
1527 fe0->dvb.frontend = dvb_attach(ds3000_attach, dvb_register()
1530 if (fe0->dvb.frontend != NULL) { dvb_register()
1531 dvb_attach(ts2020_attach, fe0->dvb.frontend, dvb_register()
1533 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1541 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1544 if (fe0->dvb.frontend != NULL) dvb_register()
1545 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb_register()
1548 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1551 if (fe0->dvb.frontend) { dvb_register()
1552 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1560 fe0->dvb.frontend = dvb_attach(stv0900_attach, dvb_register()
1563 if (fe0->dvb.frontend != NULL) { dvb_register()
1564 if (!dvb_attach(stb6100_attach, fe0->dvb.frontend, dvb_register()
1569 tuner_ops = &fe0->dvb.frontend->ops.tuner_ops; dvb_register()
1576 fe0->dvb.frontend->ops.set_voltage; dvb_register()
1577 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1592 fe0->dvb.frontend = dvb_attach(stv0299_attach, dvb_register()
1595 if (fe0->dvb.frontend) { dvb_register()
1596 fe0->dvb.frontend->ops.tuner_ops.set_params = dvb_register()
1598 fe0->dvb.frontend->tuner_priv = dvb_register()
1600 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1602 fe0->dvb.frontend->ops.set_tone = dvb_register()
1609 fe0->dvb.frontend = dvb_attach(mb86a16_attach, dvb_register()
1612 if (fe0->dvb.frontend) { dvb_register()
1614 fe0->dvb.frontend->ops.set_voltage; dvb_register()
1615 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1621 printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", dvb_register()
1626 if ( (NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend) ) { dvb_register()
1628 "%s/2: frontend initialization failed\n", dvb_register()
1633 fe0->dvb.frontend->callback = cx88_tuner_callback; dvb_register()
1636 fe0->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; dvb_register()
1638 fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; dvb_register()
1780 printk(KERN_ERR "%s() failed to get frontend(%d)\n", cx8802_dvb_probe()
/linux-4.4.14/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c601 /* Get the first frontend */ configure_tda827x_fe()
607 fe0->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, &dev->i2c_adap); configure_tda827x_fe()
608 if (fe0->dvb.frontend) { configure_tda827x_fe()
610 fe0->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; configure_tda827x_fe()
611 if (dvb_attach(tda827x_attach, fe0->dvb.frontend, configure_tda827x_fe()
1217 /* FIXME: add support for multi-frontend */ dvb_init()
1221 pr_info("%s() allocating 1 frontend\n", __func__); dvb_init()
1250 fe0->dvb.frontend = dvb_attach(mt352_attach, &pinnacle_300i, dvb_init()
1252 if (fe0->dvb.frontend) { dvb_init()
1253 fe0->dvb.frontend->ops.tuner_ops.set_params = mt352_pinnacle_tuner_set_params; dvb_init()
1259 fe0->dvb.frontend = dvb_attach(mt352_attach, &avermedia_777, dvb_init()
1261 if (fe0->dvb.frontend) { dvb_init()
1262 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1269 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_init()
1275 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1278 if (fe0->dvb.frontend) { dvb_init()
1279 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1285 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1288 if (fe0->dvb.frontend) { dvb_init()
1289 fe0->dvb.frontend->ops.tuner_ops.init = philips_tu1216_init; dvb_init()
1290 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_tda6651_pll_set; dvb_init()
1302 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1305 if (fe0->dvb.frontend) { dvb_init()
1306 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb_init()
1307 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb_init()
1308 fe0->dvb.frontend->ops.tuner_ops.init = philips_europa_tuner_init; dvb_init()
1309 fe0->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep; dvb_init()
1310 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb_init()
1314 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1317 if (fe0->dvb.frontend) { dvb_init()
1318 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb_init()
1319 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb_init()
1320 fe0->dvb.frontend->ops.tuner_ops.init = philips_europa_tuner_init; dvb_init()
1321 fe0->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep; dvb_init()
1322 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb_init()
1326 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1329 if (fe0->dvb.frontend) { dvb_init()
1330 fe0->dvb.frontend->ops.tuner_ops.init = philips_tu1216_init; dvb_init()
1331 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_tda6651_pll_set; dvb_init()
1340 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_init()
1343 if (fe0->dvb.frontend != NULL) { dvb_init()
1344 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1347 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1368 fe0->dvb.frontend = dvb_attach(lgdt3305_attach, dvb_init()
1371 if (fe0->dvb.frontend) { dvb_init()
1372 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1375 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1396 fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, &dev->i2c_adap); dvb_init()
1397 if (fe0->dvb.frontend) { dvb_init()
1398 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x63, dvb_init()
1404 if (dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb_init()
1416 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1419 if (fe0->dvb.frontend) { dvb_init()
1420 if (dvb_attach(tda827x_attach,fe0->dvb.frontend, dvb_init()
1441 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1443 if (fe0->dvb.frontend) { dvb_init()
1444 struct dvb_frontend *fe = fe0->dvb.frontend; dvb_init()
1449 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, dvb_init()
1483 fe0->dvb.frontend = dvb_attach(nxt200x_attach, &avertvhda180, dvb_init()
1485 if (fe0->dvb.frontend) dvb_init()
1486 dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x61, dvb_init()
1491 fe0->dvb.frontend = dvb_attach(nxt200x_attach, &kworldatsc110, dvb_init()
1493 if (fe0->dvb.frontend) dvb_init()
1494 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1502 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_init()
1505 if (fe0->dvb.frontend != NULL) { dvb_init()
1506 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1509 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1515 fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, dvb_init()
1517 if (fe0->dvb.frontend) { dvb_init()
1518 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x60, dvb_init()
1523 if (dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb_init()
1532 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1535 if (fe0->dvb.frontend) { dvb_init()
1536 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb_init()
1537 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb_init()
1539 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1545 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1548 if (fe0->dvb.frontend) { dvb_init()
1549 fe0->dvb.frontend->ops.tuner_ops.init = philips_td1316_tuner_init; dvb_init()
1550 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb_init()
1589 fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, dvb_init()
1591 if (fe0->dvb.frontend) { dvb_init()
1592 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x60, dvb_init()
1597 if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb_init()
1619 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_init()
1625 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1627 if (fe0->dvb.frontend) { dvb_init()
1629 if (dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, dvb_init()
1636 fe = fe0->dvb.frontend; dvb_init()
1655 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_init()
1666 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1668 if (fe0->dvb.frontend) { dvb_init()
1670 fe0->dvb.frontend, 0x60, dvb_init()
1676 if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb_init()
1691 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1693 if (fe0->dvb.frontend) { dvb_init()
1695 fe0->dvb.frontend, 0x60, dvb_init()
1701 if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb_init()
1716 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1719 if (fe0->dvb.frontend) { dvb_init()
1720 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1726 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1729 if (fe0->dvb.frontend) { dvb_init()
1730 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_init()
1735 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1738 if (fe0->dvb.frontend) { dvb_init()
1739 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_init()
1746 fe0->dvb.frontend = dvb_attach(mt312_attach, dvb_init()
1748 if (fe0->dvb.frontend) { dvb_init()
1749 if (dvb_attach(zl10036_attach, fe0->dvb.frontend, dvb_init()
1757 fe0->dvb.frontend = dvb_attach(mt312_attach, dvb_init()
1759 if (fe0->dvb.frontend) dvb_init()
1760 if (dvb_attach(zl10039_attach, fe0->dvb.frontend, dvb_init()
1767 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1770 if (fe0->dvb.frontend != NULL) { dvb_init()
1772 fe0->dvb.frontend, dvb_init()
1779 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_init()
1782 if (fe0->dvb.frontend != NULL) { dvb_init()
1783 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1786 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1792 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_init()
1795 if (fe0->dvb.frontend != NULL) { dvb_init()
1796 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1799 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1808 fe0->dvb.frontend = dvb_attach(mb86a20s_attach, dvb_init()
1811 if (fe0->dvb.frontend != NULL) { dvb_init()
1812 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1815 fe0->dvb.frontend->ops.i2c_gate_ctrl = kworld_sbtvd_gate_ctrl; dvb_init()
1816 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1824 fe0->dvb.frontend = dvb_attach(lgs8gxx_attach, dvb_init()
1827 if (fe0->dvb.frontend != NULL) { dvb_init()
1828 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1831 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1845 fe0->dvb.frontend = dvb_attach(mt312_attach, dvb_init()
1847 if (fe0->dvb.frontend) { dvb_init()
1848 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_init()
1849 if (dvb_attach(zl10039_attach, fe0->dvb.frontend, dvb_init()
1867 if (!fe0->dvb.frontend) dvb_init()
1870 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); dvb_init()
1878 if (NULL == fe0->dvb.frontend) { dvb_init()
1879 pr_err("%s/dvb: frontend initialization failed\n", dev->name); dvb_init()
1883 fe0->dvb.frontend->callback = saa7134_tuner_callback; dvb_init()
1893 if (fe0->dvb.frontend->ops.init) dvb_init()
1894 fe0->dvb.frontend->ops.init(fe0->dvb.frontend); dvb_init()
1895 if (fe0->dvb.frontend->ops.sleep) dvb_init()
1896 fe0->dvb.frontend->ops.sleep(fe0->dvb.frontend); dvb_init()
1897 if (fe0->dvb.frontend->ops.tuner_ops.sleep) dvb_init()
1898 fe0->dvb.frontend->ops.tuner_ops.sleep(fe0->dvb.frontend); dvb_init()
1912 /* Get the first frontend */ dvb_fini()
1936 fe = fe0->dvb.frontend; dvb_fini()
/linux-4.4.14/drivers/media/pci/cx23885/
H A Dcx23885-dvb.c154 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) cx23885_dvb_gate_ctrl()
155 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); cx23885_dvb_gate_ctrl()
616 /* call the frontend set_voltage function */ dvbsky_t9580_set_voltage()
644 /* call the frontend set_voltage function */ dvbsky_s952_portc_set_voltage()
1198 /* Get the first frontend */ dvb_register()
1206 /* multi-frontend gate control is undefined or defaults to fe0 */ dvb_register()
1212 /* init frontend */ dvb_register()
1216 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1219 if (fe0->dvb.frontend == NULL) dvb_register()
1221 dvb_attach(mt2131_attach, fe0->dvb.frontend, dvb_register()
1228 fe0->dvb.frontend = dvb_attach(lgdt3305_attach, dvb_register()
1231 if (fe0->dvb.frontend == NULL) dvb_register()
1233 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_register()
1237 cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb_register()
1242 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_register()
1245 if (fe0->dvb.frontend == NULL) dvb_register()
1248 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_register()
1261 fe0->dvb.frontend = dvb_register()
1265 if (fe0->dvb.frontend == NULL) dvb_register()
1268 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_register()
1271 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_register()
1277 fe0->dvb.frontend = dvb_register()
1281 if (fe0->dvb.frontend == NULL) dvb_register()
1283 dvb_attach(mt2131_attach, fe0->dvb.frontend, dvb_register()
1290 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1293 if (fe0->dvb.frontend == NULL) dvb_register()
1295 dvb_attach(mt2131_attach, fe0->dvb.frontend, dvb_register()
1301 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1304 if (fe0->dvb.frontend == NULL) dvb_register()
1306 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1312 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1315 if (fe0->dvb.frontend == NULL) dvb_register()
1317 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1323 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1326 if (fe0->dvb.frontend != NULL) { dvb_register()
1339 fe0->dvb.frontend, &cfg); dvb_register()
1347 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_register()
1350 if (fe0->dvb.frontend == NULL) dvb_register()
1352 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_register()
1355 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_register()
1361 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_register()
1364 if (fe0->dvb.frontend != NULL) { dvb_register()
1365 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_register()
1376 fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, dvb_register()
1378 if (fe0->dvb.frontend != NULL) { dvb_register()
1394 fe0->dvb.frontend, &cfg); dvb_register()
1402 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1405 if (fe0->dvb.frontend == NULL) dvb_register()
1406 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_register()
1409 if (fe0->dvb.frontend != NULL) dvb_register()
1410 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1417 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1420 if (fe0->dvb.frontend != NULL) { dvb_register()
1432 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, dvb_register()
1451 fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, 0x80, &dib7070p_dib7000p_config); dvb_register()
1452 if (fe0->dvb.frontend != NULL) { dvb_register()
1455 fe0->dvb.frontend->sec_priv = kmalloc(sizeof(dib7000p_ops), GFP_KERNEL); dvb_register()
1456 memcpy(fe0->dvb.frontend->sec_priv, &dib7000p_ops, sizeof(dib7000p_ops)); dvb_register()
1457 tun_i2c = dib7000p_ops.get_i2c_master(fe0->dvb.frontend, DIBX000_I2C_INTERFACE_TUNER, 1); dvb_register()
1458 if (!dvb_attach(dib0070_attach, fe0->dvb.frontend, tun_i2c, &dib7070p_dib0070_config)) dvb_register()
1468 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1471 if (fe0->dvb.frontend != NULL) { dvb_register()
1483 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, dvb_register()
1492 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1495 if (fe0->dvb.frontend != NULL) { dvb_register()
1505 fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, dvb_register()
1517 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1520 if (fe0->dvb.frontend != NULL) dvb_register()
1521 fe0->dvb.frontend->ops.set_voltage = f300_set_voltage; dvb_register()
1531 fe0->dvb.frontend = dvb_attach(cx24117_attach, dvb_register()
1537 fe0->dvb.frontend = dvb_attach(cx24117_attach, dvb_register()
1546 fe0->dvb.frontend = dvb_attach(ds3000_attach, dvb_register()
1549 if (fe0->dvb.frontend != NULL) { dvb_register()
1550 dvb_attach(ts2020_attach, fe0->dvb.frontend, dvb_register()
1552 fe0->dvb.frontend->ops.set_voltage = f300_set_voltage; dvb_register()
1559 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1568 fe0->dvb.frontend = dvb_attach(stv0900_attach, dvb_register()
1571 if (fe0->dvb.frontend != NULL) { dvb_register()
1573 fe0->dvb.frontend, dvb_register()
1577 fe0->dvb.frontend, dvb_register()
1589 fe0->dvb.frontend = dvb_attach(stv0900_attach, dvb_register()
1592 if (fe0->dvb.frontend != NULL) { dvb_register()
1594 fe0->dvb.frontend, dvb_register()
1598 fe0->dvb.frontend, dvb_register()
1613 fe0->dvb.frontend = dvb_attach(lgs8gxx_attach, dvb_register()
1616 if (fe0->dvb.frontend == NULL) dvb_register()
1618 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1620 cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb_register()
1625 fe0->dvb.frontend = dvb_attach(mb86a20s_attach, dvb_register()
1628 if (fe0->dvb.frontend == NULL) dvb_register()
1631 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1634 cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb_register()
1639 fe0->dvb.frontend = dvb_attach(lgs8gxx_attach, dvb_register()
1642 if (fe0->dvb.frontend == NULL) dvb_register()
1644 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1647 cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb_register()
1651 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_register()
1654 if (fe0->dvb.frontend == NULL) dvb_register()
1656 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_register()
1667 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_register()
1670 if (fe0->dvb.frontend == NULL) dvb_register()
1672 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_register()
1681 fe0->dvb.frontend = dvb_attach(atbm8830_attach, dvb_register()
1684 if (fe0->dvb.frontend == NULL) dvb_register()
1686 dvb_attach(max2165_attach, fe0->dvb.frontend, dvb_register()
1693 fe0->dvb.frontend = dvb_attach(atbm8830_attach, dvb_register()
1696 if (fe0->dvb.frontend == NULL) dvb_register()
1698 dvb_attach(max2165_attach, fe0->dvb.frontend, dvb_register()
1708 /* MFE frontend 1 DVB-T */ dvb_register()
1709 fe0->dvb.frontend = dvb_attach(stv0367ter_attach, dvb_register()
1712 if (fe0->dvb.frontend == NULL) dvb_register()
1714 if (NULL == dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1719 fe0->dvb.frontend->ops.tuner_ops.init(fe0->dvb.frontend); dvb_register()
1721 /* MFE frontend 2 */ dvb_register()
1726 fe1->dvb.frontend = dvb_attach(stv0367cab_attach, dvb_register()
1729 if (fe1->dvb.frontend == NULL) dvb_register()
1732 fe1->dvb.frontend->id = 1; dvb_register()
1734 fe1->dvb.frontend, dvb_register()
1746 fe0->dvb.frontend = dvb_attach(drxk_attach, dvb_register()
1749 if (fe0->dvb.frontend == NULL) dvb_register()
1752 fe0->dvb.frontend, dvb_register()
1759 fe0->dvb.frontend = dvb_attach(drxk_attach, dvb_register()
1762 if (fe0->dvb.frontend == NULL) dvb_register()
1765 fe0->dvb.frontend, dvb_register()
1775 fe0->dvb.frontend = dvb_attach(ds3000_attach, dvb_register()
1778 if (fe0->dvb.frontend == NULL) dvb_register()
1780 dvb_attach(ts2020_attach, fe0->dvb.frontend, dvb_register()
1786 fe0->dvb.frontend = dvb_attach(stv090x_attach, dvb_register()
1790 if (fe0->dvb.frontend == NULL) dvb_register()
1793 fe0->dvb.frontend, dvb_register()
1798 fe0->dvb.frontend->ops.set_voltage = p8000_set_voltage; dvb_register()
1822 fe0->dvb.frontend = tda10071_pdata.get_dvb_frontend(client_demod); dvb_register()
1826 a8293_pdata.dvb_frontend = fe0->dvb.frontend; dvb_register()
1843 fe0->dvb.frontend = dvb_attach(si2165_attach, dvb_register()
1846 if (fe0->dvb.frontend == NULL) dvb_register()
1848 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1850 fe0->dvb.frontend, dvb_register()
1877 fe0->dvb.frontend = tda10071_pdata.get_dvb_frontend(client_demod); dvb_register()
1881 a8293_pdata.dvb_frontend = fe0->dvb.frontend; dvb_register()
1904 /* attach frontend */ dvb_register()
1905 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
1908 if (fe0->dvb.frontend == NULL) dvb_register()
1913 ts2020_config.fe = fe0->dvb.frontend; dvb_register()
1930 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
1931 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
1938 fe0->dvb.frontend->ops.set_voltage; dvb_register()
1939 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1947 /* attach frontend */ dvb_register()
1950 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
1969 si2157_config.fe = fe0->dvb.frontend; dvb_register()
1994 /* attach frontend */ dvb_register()
1997 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
2015 si2157_config.fe = fe0->dvb.frontend; dvb_register()
2036 /* attach frontend */ dvb_register()
2037 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
2040 if (fe0->dvb.frontend == NULL) dvb_register()
2045 ts2020_config.fe = fe0->dvb.frontend; dvb_register()
2061 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
2062 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
2082 /* attach frontend */ dvb_register()
2083 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
2086 if (fe0->dvb.frontend == NULL) dvb_register()
2091 ts2020_config.fe = fe0->dvb.frontend; dvb_register()
2107 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
2108 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
2115 fe0->dvb.frontend->ops.set_voltage; dvb_register()
2116 fe0->dvb.frontend->ops.set_voltage = p_set_voltage; dvb_register()
2135 /* attach frontend */ dvb_register()
2137 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
2154 si2157_config.fe = fe0->dvb.frontend; dvb_register()
2178 /* attach frontend */ dvb_register()
2179 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
2182 if (fe0->dvb.frontend == NULL) dvb_register()
2186 a8293_pdata.dvb_frontend = fe0->dvb.frontend; dvb_register()
2203 m88rs6000t_config.fe = fe0->dvb.frontend; dvb_register()
2219 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
2220 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
2224 /* attach frontend */ dvb_register()
2227 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
2245 si2157_config.fe = fe0->dvb.frontend; dvb_register()
2271 printk(KERN_INFO "%s: The frontend of your DVB/ATSC card " dvb_register()
2277 if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) { dvb_register()
2278 printk(KERN_ERR "%s: frontend initialization failed\n", dvb_register()
2284 fe0->dvb.frontend->callback = cx23885_tuner_callback; dvb_register()
2286 fe1->dvb.frontend->callback = cx23885_tuner_callback; dvb_register()
2289 fe0->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl; dvb_register()
2291 fe1->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl; dvb_register()
2297 if (fe0->dvb.frontend->ops.analog_ops.standby) dvb_register()
2298 fe0->dvb.frontend->ops.analog_ops.standby(fe0->dvb.frontend); dvb_register()
2352 * code then the second frontend would never be allocated (later) cx23885_dvb_register()
2356 * future addition of any multi-frontend cx23885 based boards. cx23885_dvb_register()
2358 printk(KERN_INFO "%s() allocating %d frontend(s)\n", __func__, cx23885_dvb_register()
2384 /* We have to init the queue for each frontend on a port. */ cx23885_dvb_register()
2445 if (fe0 && fe0->dvb.frontend) cx23885_dvb_unregister()
/linux-4.4.14/drivers/media/usb/cx231xx/
H A Dcx231xx-dvb.c54 struct dvb_frontend *frontend; member in struct:cx231xx_dvb
322 if (!demux->dmx.frontend) start_feed()
389 if (!dev->dvb->frontend) {
390 dev_err(dev->dev, "%s/2: dvb frontend not attached. "
395 fe = dvb_attach(xc5000_attach, dev->dvb->frontend, &cfg);
398 dvb_frontend_detach(dev->dvb->frontend);
399 dev->dvb->frontend = NULL;
411 if ((dev->dvb != NULL) && (dev->dvb->frontend != NULL)) { cx231xx_set_analog_freq()
413 struct dvb_tuner_ops *dops = &dev->dvb->frontend->ops.tuner_ops; cx231xx_set_analog_freq()
424 dops->set_analog_params(dev->dvb->frontend, &params); cx231xx_set_analog_freq()
436 if ((dev->dvb != NULL) && (dev->dvb->frontend != NULL)) { cx231xx_reset_analog_tuner()
438 struct dvb_tuner_ops *dops = &dev->dvb->frontend->ops.tuner_ops; cx231xx_reset_analog_tuner()
444 status = dops->init(dev->dvb->frontend); cx231xx_reset_analog_tuner()
484 dvb->frontend->ops.ts_bus_ctrl = cx231xx_dvb_bus_ctrl; register_dvb()
488 /* register frontend */ register_dvb()
489 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); register_dvb()
567 dvb_unregister_frontend(dvb->frontend); register_dvb()
569 dvb_frontend_detach(dvb->frontend); register_dvb()
589 dvb_unregister_frontend(dvb->frontend); unregister_dvb()
590 dvb_frontend_detach(dvb->frontend); unregister_dvb()
622 /* init frontend */ dvb_init()
627 dev->dvb->frontend = dvb_attach(s5h1432_attach, dvb_init()
631 if (dev->dvb->frontend == NULL) { dvb_init()
639 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
641 if (!dvb_attach(xc5000_attach, dev->dvb->frontend, dvb_init()
652 dev->dvb->frontend = dvb_attach(s5h1411_attach, dvb_init()
656 if (dev->dvb->frontend == NULL) { dvb_init()
664 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
666 if (!dvb_attach(xc5000_attach, dev->dvb->frontend, dvb_init()
675 dev->dvb->frontend = dvb_attach(s5h1432_attach, dvb_init()
679 if (dev->dvb->frontend == NULL) { dvb_init()
687 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
689 if (!dvb_attach(tda18271_attach, dev->dvb->frontend, dvb_init()
699 dev->dvb->frontend = dvb_attach(s5h1411_attach, dvb_init()
703 if (dev->dvb->frontend == NULL) { dvb_init()
711 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
713 if (!dvb_attach(tda18271_attach, dev->dvb->frontend, dvb_init()
726 dev->dvb->frontend = dvb_attach(lgdt3305_attach, dvb_init()
730 if (dev->dvb->frontend == NULL) { dvb_init()
738 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
740 dvb_attach(tda18271_attach, dev->dvb->frontend, dvb_init()
747 dev->dvb->frontend = dvb_attach(si2165_attach, dvb_init()
752 if (dev->dvb->frontend == NULL) { dvb_init()
759 dev->dvb->frontend->ops.i2c_gate_ctrl = NULL; dvb_init()
762 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
764 dvb_attach(tda18271_attach, dev->dvb->frontend, dvb_init()
780 dev->dvb->frontend = dvb_attach(si2165_attach, dvb_init()
785 if (dev->dvb->frontend == NULL) { dvb_init()
792 dev->dvb->frontend->ops.i2c_gate_ctrl = NULL; dvb_init()
795 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
799 si2157_config.fe = dev->dvb->frontend; dvb_init()
811 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
818 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
836 dev->dvb->frontend = dvb_attach(lgdt3306a_attach, dvb_init()
841 if (dev->dvb->frontend == NULL) { dvb_init()
843 "Failed to attach LGDT3306A frontend.\n"); dvb_init()
848 dev->dvb->frontend->ops.i2c_gate_ctrl = NULL; dvb_init()
851 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
855 si2157_config.fe = dev->dvb->frontend; dvb_init()
867 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
874 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
891 dev->dvb->frontend = dvb_attach(mb86a20s_attach, dvb_init()
895 if (dev->dvb->frontend == NULL) { dvb_init()
903 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
905 dvb_attach(tda18271_attach, dev->dvb->frontend, dvb_init()
912 "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", dvb_init()
916 if (NULL == dvb->frontend) { dvb_init()
918 "%s/2: frontend initialization failed\n", dev->name); dvb_init()
/linux-4.4.14/drivers/media/usb/au0828/
H A Dau0828-dvb.c272 if (!demux->dmx.frontend) au0828_dvb_start_feed()
275 if (dvb->frontend) { au0828_dvb_start_feed()
304 if (dvb->frontend) { au0828_dvb_stop_feed()
420 /* register frontend */ dvb_register()
421 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); dvb_register()
428 /* Hook dvb frontend */ dvb_register()
429 dvb->set_frontend = dvb->frontend->ops.set_frontend; dvb_register()
430 dvb->frontend->ops.set_frontend = au0828_set_frontend; dvb_register()
494 dvb_unregister_frontend(dvb->frontend); dvb_register()
496 dvb_frontend_detach(dvb->frontend); dvb_register()
515 if (dvb->frontend == NULL) au0828_dvb_unregister()
525 dvb_unregister_frontend(dvb->frontend); au0828_dvb_unregister()
526 dvb_frontend_detach(dvb->frontend); au0828_dvb_unregister()
534 dvb->frontend = NULL; au0828_dvb_unregister()
548 /* init frontend */ au0828_dvb_register()
552 dvb->frontend = dvb_attach(au8522_attach, au0828_dvb_register()
555 if (dvb->frontend != NULL) au0828_dvb_register()
559 dvb_attach(xc5000_attach, dvb->frontend, au0828_dvb_register()
564 dvb_attach(xc5000_attach, dvb->frontend, au0828_dvb_register()
571 dvb->frontend = dvb_attach(au8522_attach, au0828_dvb_register()
574 if (dvb->frontend != NULL) au0828_dvb_register()
575 dvb_attach(mxl5007t_attach, dvb->frontend, au0828_dvb_register()
580 dvb->frontend = dvb_attach(au8522_attach, au0828_dvb_register()
583 if (dvb->frontend != NULL) au0828_dvb_register()
584 dvb_attach(tda18271_attach, dvb->frontend, au0828_dvb_register()
589 dvb->frontend = dvb_attach(au8522_attach, au0828_dvb_register()
592 if (dvb->frontend != NULL) { au0828_dvb_register()
593 dvb_attach(xc5000_attach, dvb->frontend, au0828_dvb_register()
599 pr_warn("The frontend of your DVB/ATSC card isn't supported yet\n"); au0828_dvb_register()
602 if (NULL == dvb->frontend) { au0828_dvb_register()
608 dvb->frontend->callback = au0828_tuner_callback; au0828_dvb_register()
613 if (dvb->frontend->ops.release) au0828_dvb_register()
614 dvb->frontend->ops.release(dvb->frontend); au0828_dvb_register()
615 dvb->frontend = NULL; au0828_dvb_register()
627 if (dvb->frontend) { au0828_dvb_suspend()
637 /* suspend frontend - does tuner and fe to sleep */ au0828_dvb_suspend()
638 rc = dvb_frontend_suspend(dvb->frontend); au0828_dvb_suspend()
648 if (dvb->frontend) { au0828_dvb_resume()
649 /* resume frontend - does fe and tuner init */ au0828_dvb_resume()
650 rc = dvb_frontend_resume(dvb->frontend); au0828_dvb_resume()
/linux-4.4.14/drivers/media/usb/tm6000/
H A Dtm6000-dvb.c248 dvb->frontend = dvb_attach(zl10353_attach, &config, tm6000_dvb_attach_frontend()
251 printk(KERN_ERR "tm6000: no frontend defined for the device!\n"); tm6000_dvb_attach_frontend()
255 return (!dvb->frontend) ? -1 : 0; tm6000_dvb_attach_frontend()
269 /* attach the frontend */ register_dvb()
272 printk(KERN_ERR "tm6000: couldn't attach the frontend!\n"); register_dvb()
280 if (dvb->frontend) { register_dvb()
288 dvb->frontend->callback = tm6000_tuner_callback; register_dvb()
289 ret = dvb_register_frontend(&dvb->adapter, dvb->frontend); register_dvb()
292 "tm6000: couldn't register frontend\n"); register_dvb()
296 if (!dvb_attach(xc2028_attach, dvb->frontend, &cfg)) { register_dvb()
298 "frontend (xc3028)\n"); register_dvb()
303 "attached to frontend!\n"); register_dvb()
311 dvb->frontend->callback = tm6000_xc5000_callback; register_dvb()
312 ret = dvb_register_frontend(&dvb->adapter, dvb->frontend); register_dvb()
315 "tm6000: couldn't register frontend\n"); register_dvb()
319 if (!dvb_attach(xc5000_attach, dvb->frontend, &dev->i2c_adap, &cfg)) { register_dvb()
321 "frontend (xc5000)\n"); register_dvb()
326 "attached to frontend!\n"); register_dvb()
331 printk(KERN_ERR "tm6000: no frontend found\n"); register_dvb()
362 if (dvb->frontend) { register_dvb()
363 dvb_unregister_frontend(dvb->frontend); register_dvb()
364 dvb_frontend_detach(dvb->frontend); register_dvb()
386 if (dvb->frontend) { unregister_dvb()
387 dvb_unregister_frontend(dvb->frontend); unregister_dvb()
388 dvb_frontend_detach(dvb->frontend); unregister_dvb()
/linux-4.4.14/drivers/media/dvb-frontends/
H A Ddvb_dummy_fe.c32 struct dvb_frontend frontend; member in struct:dvb_dummy_fe_state
131 memcpy(&state->frontend.ops, &dvb_dummy_fe_ofdm_ops, sizeof(struct dvb_frontend_ops)); dvb_dummy_fe_ofdm_attach()
132 state->frontend.demodulator_priv = state; dvb_dummy_fe_ofdm_attach()
133 return &state->frontend; dvb_dummy_fe_ofdm_attach()
148 memcpy(&state->frontend.ops, &dvb_dummy_fe_qpsk_ops, sizeof(struct dvb_frontend_ops)); dvb_dummy_fe_qpsk_attach()
149 state->frontend.demodulator_priv = state; dvb_dummy_fe_qpsk_attach()
150 return &state->frontend; dvb_dummy_fe_qpsk_attach()
165 memcpy(&state->frontend.ops, &dvb_dummy_fe_qam_ops, sizeof(struct dvb_frontend_ops)); dvb_dummy_fe_qam_attach()
166 state->frontend.demodulator_priv = state; dvb_dummy_fe_qam_attach()
167 return &state->frontend; dvb_dummy_fe_qam_attach()
H A Dmn88472.h20 #include <linux/dvb/frontend.h>
43 * DVB frontend.
H A Dmn88473.h20 #include <linux/dvb/frontend.h>
33 * DVB frontend.
H A Dsi2168.h20 #include <linux/dvb/frontend.h>
27 * frontend
H A Dsp887x.h8 #include <linux/dvb/frontend.h>
H A Dsi21xx.h5 #include <linux/dvb/frontend.h>
H A Ddib3000.h2 * public header file of the frontend drivers for mobile DVB-T demodulators
27 #include <linux/dvb/frontend.h>
H A Dmb86a20s.h20 #include <linux/dvb/frontend.h>
23 * struct mb86a20s_config - Define the per-device attributes of the frontend
H A Drtl2830.h21 #include <linux/dvb/frontend.h>
30 * @get_dvb_frontend: Get DVB frontend.
H A Dtda10071.h24 #include <linux/dvb/frontend.h>
39 * @get_dvb_frontend: Get DVB frontend.
H A Dtda8083.h8 adoption to the new DVB frontend API and diagnostic ioctl's
30 #include <linux/dvb/frontend.h>
H A Da8293.h29 * @dvb_frontend: DVB frontend.
H A Ddvb-pll.h33 * Attach a dvb-pll to the supplied frontend structure.
H A Ds921.h21 #include <linux/dvb/frontend.h>
H A Dtc90522.h35 /* [OUT] frontend returned by driver */
H A Dtda10023.c47 struct dvb_frontend frontend; member in struct:tda10023_state
74 int num = state->frontend.dvb ? state->frontend.dvb->num : -1; tda10023_readreg()
90 int num = state->frontend.dvb ? state->frontend.dvb->num : -1; tda10023_writereg()
475 state->frontend.dvb->num, afc, tda10023_get_frontend()
541 memcpy(&state->frontend.ops, &tda10023_ops, sizeof(struct dvb_frontend_ops)); tda10023_attach()
561 state->frontend.ops.info.symbol_rate_min = (state->sysclk/2)/64; tda10023_attach()
562 state->frontend.ops.info.symbol_rate_max = (state->sysclk/2)/4; tda10023_attach()
568 state->frontend.demodulator_priv = state; tda10023_attach()
569 return &state->frontend; tda10023_attach()
H A Drtl2832.h25 #include <linux/dvb/frontend.h>
32 * @get_dvb_frontend: Get DVB frontend.
H A Dstb6100.h25 #include <linux/dvb/frontend.h>
88 struct dvb_frontend *frontend; member in struct:stb6100_state
H A Dts2020.h26 #include <linux/dvb/frontend.h>
55 * pointer to DVB frontend
H A Dtda8083.c8 adoption to the new DVB frontend API and diagnostic ioctl's
41 struct dvb_frontend frontend; member in struct:tda8083_state
271 if (sync & 0x20) /* frontend can not lock */ tda8083_read_status()
443 memcpy(&state->frontend.ops, &tda8083_ops, sizeof(struct dvb_frontend_ops)); tda8083_attach()
444 state->frontend.demodulator_priv = state; tda8083_attach()
445 return &state->frontend; tda8083_attach()
491 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dlgs8gl5.c58 struct dvb_frontend frontend; member in struct:lgs8gl5_state
402 memcpy(&state->frontend.ops, &lgs8gl5_ops, lgs8gl5_attach()
404 state->frontend.demodulator_priv = state; lgs8gl5_attach()
405 return &state->frontend; lgs8gl5_attach()
449 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Datbm8830.c37 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
489 memcpy(&priv->frontend.ops, &atbm8830_ops, atbm8830_attach()
491 priv->frontend.demodulator_priv = priv; atbm8830_attach()
493 atbm8830_init(&priv->frontend); atbm8830_attach()
495 atbm8830_i2c_gate_ctrl(&priv->frontend, 1); atbm8830_attach()
497 return &priv->frontend; atbm8830_attach()
H A Ds921.c3 * This device is labeled as just S. 921 at the top of the frontend can
33 MODULE_PARM_DESC(debug, "Activates frontend debugging (default:0)");
51 struct dvb_frontend frontend; member in struct:s921_state
500 memcpy(&state->frontend.ops, &s921_ops, s921_attach()
502 state->frontend.demodulator_priv = state; s921_attach()
504 return &state->frontend; s921_attach()
H A Dves1820.c39 struct dvb_frontend frontend; member in struct:ves1820_state
399 memcpy(&state->frontend.ops, &ves1820_ops, sizeof(struct dvb_frontend_ops)); ves1820_attach()
400 state->frontend.ops.info.symbol_rate_min = (state->config->xin / 2) / 64; /* SACLK/64 == (XIN/2)/64 */ ves1820_attach()
401 state->frontend.ops.info.symbol_rate_max = (state->config->xin / 2) / 4; /* SACLK/4 */ ves1820_attach()
402 state->frontend.demodulator_priv = state; ves1820_attach()
404 return &state->frontend; ves1820_attach()
H A Das102_fe.c22 struct dvb_frontend frontend; member in struct:as102_state
189 /* Set frontend arguments */ as102_fe_set_frontend()
463 fe = &state->frontend; as102_attach()
469 /* init frontend callback ops */ as102_attach()
H A Dascot2e.h26 #include <linux/dvb/frontend.h>
H A Datbm8830.h26 #include <linux/dvb/frontend.h>
H A Dau8522.h26 #include <linux/dvb/frontend.h>
H A Dbcm3510.h25 #include <linux/dvb/frontend.h>
H A Dcx22700.h26 #include <linux/dvb/frontend.h>
H A Dcx22702.h32 #include <linux/dvb/frontend.h>
H A Dcx24110.h28 #include <linux/dvb/frontend.h>
H A Dcx24116.h25 #include <linux/dvb/frontend.h>
H A Dcx24117.h26 #include <linux/dvb/frontend.h>
H A Dcx24120.h24 #include <linux/dvb/frontend.h>
H A Dcx24123.h25 #include <linux/dvb/frontend.h>
H A Dcxd2841er.h26 #include <linux/dvb/frontend.h>
H A Dds3000.h26 #include <linux/dvb/frontend.h>
H A Ddvb_dummy_fe.h26 #include <linux/dvb/frontend.h>
H A Dec100.c27 struct dvb_frontend frontend; member in struct:ec100_state
307 memcpy(&state->frontend.ops, &ec100_ops, ec100_attach()
309 state->frontend.demodulator_priv = state; ec100_attach()
311 return &state->frontend; ec100_attach()
H A Dec100.h26 #include <linux/dvb/frontend.h>
H A Dhd29l2.h27 #include <linux/dvb/frontend.h>
H A Dhorus3a.h26 #include <linux/dvb/frontend.h>
H A Disl6421.h31 #include <linux/dvb/frontend.h>
H A Disl6423.h24 #include <linux/dvb/frontend.h>
H A Dix2505v.h28 * Attach a ix2505v tuner to the supplied frontend structure.
H A Dl64781.h26 #include <linux/dvb/frontend.h>
H A Dlgdt330x.h25 #include <linux/dvb/frontend.h>
H A Dlgs8gl5.h27 #include <linux/dvb/frontend.h>
H A Dlnbh24.h38 #include <linux/dvb/frontend.h>
H A Dlnbh25.h26 #include <linux/dvb/frontend.h>
H A Dlnbp22.h40 #include <linux/dvb/frontend.h>
H A Dm88rs2000.h24 #include <linux/dvb/frontend.h>
H A Dmb86a16.h24 #include <linux/dvb/frontend.h>
H A Dmt312.h29 #include <linux/dvb/frontend.h>
H A Dnxt200x.h27 #include <linux/dvb/frontend.h>
H A Dnxt6000.h25 #include <linux/dvb/frontend.h>
H A Dor51132.h26 #include <linux/dvb/frontend.h>
H A Dor51211.h25 #include <linux/dvb/frontend.h>
H A Ds5h1420.h27 #include <linux/dvb/frontend.h>
H A Dsi2165.h23 #include <linux/dvb/frontend.h>
H A Dsp8870.h26 #include <linux/dvb/frontend.h>
H A Dstb6000.h31 * Attach a stb6000 tuner to the supplied frontend structure.
H A Dstv0288.h31 #include <linux/dvb/frontend.h>
H A Dstv0297.h24 #include <linux/dvb/frontend.h>
H A Dstv0367.h30 #include <linux/dvb/frontend.h>
H A Dtda10048.h26 #include <linux/dvb/frontend.h>
H A Dtda10086.h26 #include <linux/dvb/frontend.h>
H A Dtda826x.h30 * Attach a tda826x tuner to the supplied frontend structure.
H A Dves1820.h24 #include <linux/dvb/frontend.h>
H A Dves1x93.h29 #include <linux/dvb/frontend.h>
H A Dzl10036.h29 * Attach a zl10036 tuner to the supplied frontend structure.
H A Dzl10353.h25 #include <linux/dvb/frontend.h>
H A Dsp8870.c48 struct dvb_frontend frontend; member in struct:sp8870_state
468 The firmware of the sp8870 sometimes locks up after setting frontend parameters. sp8870_set_frontend()
471 the frontend parameters again. sp8870_set_frontend()
574 memcpy(&state->frontend.ops, &sp8870_ops, sizeof(struct dvb_frontend_ops)); sp8870_attach()
575 state->frontend.demodulator_priv = state; sp8870_attach()
576 return &state->frontend; sp8870_attach()
614 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dcx22700.c38 struct dvb_frontend frontend; member in struct:cx22700_state
402 memcpy(&state->frontend.ops, &cx22700_ops, sizeof(struct dvb_frontend_ops)); cx22700_attach()
403 state->frontend.demodulator_priv = state; cx22700_attach()
404 return &state->frontend; cx22700_attach()
441 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dau8522_dig.c874 memcpy(&state->frontend.ops, &au8522_ops, au8522_attach()
876 state->frontend.demodulator_priv = state; au8522_attach()
878 state->frontend.ops.analog_ops.i2c_gate_ctrl = au8522_analog_i2c_gate_ctrl; au8522_attach()
880 if (au8522_init(&state->frontend) != 0) { au8522_attach()
887 au8522_i2c_gate_ctrl(&state->frontend, 1); au8522_attach()
889 return &state->frontend; au8522_attach()
H A Dtda10021.c40 struct dvb_frontend frontend; member in struct:tda10021_state
82 state->frontend.dvb->num, __func__, reg, data, ret); _tda10021_writereg()
403 state->frontend.dvb->num, afc, tda10021_get_frontend()
478 memcpy(&state->frontend.ops, &tda10021_ops, sizeof(struct dvb_frontend_ops)); tda10021_attach()
479 state->frontend.demodulator_priv = state; tda10021_attach()
480 return &state->frontend; tda10021_attach()
H A Dzl10353.c36 struct dvb_frontend frontend; member in struct:zl10353_state
630 memcpy(&state->frontend.ops, &zl10353_ops, sizeof(struct dvb_frontend_ops)); zl10353_attach()
631 state->frontend.demodulator_priv = state; zl10353_attach()
633 return &state->frontend; zl10353_attach()
675 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
678 MODULE_PARM_DESC(debug_regs, "Turn on/off frontend register dumps (default:off).");
H A Dm88ds3103.h20 #include <linux/dvb/frontend.h>
44 * @get_dvb_frontend: Get DVB frontend.
H A Dmt312.c46 struct dvb_frontend frontend; member in struct:mt312_state
809 memcpy(&state->frontend.ops, &mt312_ops, mt312_attach()
811 state->frontend.demodulator_priv = state; mt312_attach()
815 strcpy(state->frontend.ops.info.name, "Zarlink VP310 DVB-S"); mt312_attach()
820 strcpy(state->frontend.ops.info.name, "Zarlink MT312 DVB-S"); mt312_attach()
825 strcpy(state->frontend.ops.info.name, "Zarlink ZL10313 DVB-S"); mt312_attach()
835 return &state->frontend; mt312_attach()
844 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dstb6000.c25 #include <linux/dvb/frontend.h>
252 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dtda10048.c145 struct dvb_frontend frontend; member in struct:tda10048_state
1122 memcpy(&state->frontend.ops, &tda10048_ops, tda10048_attach()
1124 state->frontend.demodulator_priv = state; tda10048_attach()
1138 tda10048_establish_defaults(&state->frontend); tda10048_attach()
1141 if (tda10048_set_if(&state->frontend, 8000000) != 0) tda10048_attach()
1145 if (tda10048_set_bandwidth(&state->frontend, 8000000) != 0) tda10048_attach()
1149 tda10048_i2c_gate_ctrl(&state->frontend, 0); tda10048_attach()
1151 return &state->frontend; tda10048_attach()
H A Dtda1004x.h26 #include <linux/dvb/frontend.h>
114 struct dvb_frontend frontend; member in struct:tda1004x_state
H A Dtda826x.c25 #include <linux/dvb/frontend.h>
184 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Daf9013.h29 #include <linux/dvb/frontend.h>
H A Daf9033.h89 * frontend
H A Datbm8830_priv.h29 struct dvb_frontend frontend; member in struct:atbm_state
H A Dcxd2820r.h26 #include <linux/dvb/frontend.h>
H A Disl6405.h31 #include <linux/dvb/frontend.h>
H A Dlgs8gxx.h30 #include <linux/dvb/frontend.h>
H A Dlgs8gxx_priv.h33 struct dvb_frontend frontend; member in struct:lgs8gxx_state
H A Dlnbp21.h58 #include <linux/dvb/frontend.h>
H A Dmt352.h36 #include <linux/dvb/frontend.h>
H A Drtl2832_sdr.h40 * @dvb_frontend: rtl2832 DVB frontend.
H A Ds5h1409.h26 #include <linux/dvb/frontend.h>
H A Ds5h1411.h26 #include <linux/dvb/frontend.h>
H A Ds5h1432.c37 struct dvb_frontend frontend; member in struct:s5h1432_state
364 memcpy(&state->frontend.ops, &s5h1432_ops, s5h1432_attach()
367 state->frontend.demodulator_priv = state; s5h1432_attach()
369 return &state->frontend; s5h1432_attach()
H A Ds5h1432.h26 #include <linux/dvb/frontend.h>
H A Dstv0900.h30 #include <linux/dvb/frontend.h>
H A Dtda1002x.h27 #include <linux/dvb/frontend.h>
H A Dl64781.c35 struct dvb_frontend frontend; member in struct:l64781_state
49 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
563 memcpy(&state->frontend.ops, &l64781_ops, sizeof(struct dvb_frontend_ops)); l64781_attach()
564 state->frontend.demodulator_priv = state; l64781_attach()
565 return &state->frontend; l64781_attach()
H A Dmt352.c46 struct dvb_frontend frontend; member in struct:mt352_state
560 memcpy(&state->frontend.ops, &mt352_ops, sizeof(struct dvb_frontend_ops)); mt352_attach()
561 state->frontend.demodulator_priv = state; mt352_attach()
562 return &state->frontend; mt352_attach()
604 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dnxt6000.c38 struct dvb_frontend frontend; member in struct:nxt6000_state
570 memcpy(&state->frontend.ops, &nxt6000_ops, sizeof(struct dvb_frontend_ops)); nxt6000_attach()
571 state->frontend.demodulator_priv = state; nxt6000_attach()
572 return &state->frontend; nxt6000_attach()
614 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dor51211.c61 struct dvb_frontend frontend; member in struct:or51211_state
530 memcpy(&state->frontend.ops, &or51211_ops, sizeof(struct dvb_frontend_ops)); or51211_attach()
531 state->frontend.demodulator_priv = state; or51211_attach()
532 return &state->frontend; or51211_attach()
563 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dsp887x.c27 struct dvb_frontend frontend; member in struct:sp887x_state
585 memcpy(&state->frontend.ops, &sp887x_ops, sizeof(struct dvb_frontend_ops)); sp887x_attach()
586 state->frontend.demodulator_priv = state; sp887x_attach()
587 return &state->frontend; sp887x_attach()
624 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dstv0288.c42 struct dvb_frontend frontend; member in struct:stv0288_state
605 memcpy(&state->frontend.ops, &stv0288_ops, stv0288_attach()
607 state->frontend.demodulator_priv = state; stv0288_attach()
608 return &state->frontend; stv0288_attach()
622 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dbcm3510.c54 struct dvb_frontend frontend; member in struct:bcm3510_state
362 /* tuner frontend programming */ bcm3510_tuner_cmd()
749 if ((ret = bcm3510_download_firmware(&st->frontend)) < 0 || bcm3510_init_cold()
811 memcpy(&state->frontend.ops, &bcm3510_ops, sizeof(struct dvb_frontend_ops)); bcm3510_attach()
812 state->frontend.demodulator_priv = state; bcm3510_attach()
829 return &state->frontend; bcm3510_attach()
840 .name = "Broadcom BCM3510 VSB/QAM frontend",
H A Dsi2165.c43 struct dvb_frontend frontend; member in struct:si2165_state
982 memcpy(&state->frontend.ops, &si2165_ops, si2165_attach()
984 state->frontend.demodulator_priv = state; si2165_attach()
1036 strlcat(state->frontend.ops.info.name, chip_name, si2165_attach()
1037 sizeof(state->frontend.ops.info.name)); si2165_attach()
1041 state->frontend.ops.delsys[n++] = SYS_DVBT; si2165_attach()
1042 strlcat(state->frontend.ops.info.name, " DVB-T", si2165_attach()
1043 sizeof(state->frontend.ops.info.name)); si2165_attach()
1049 return &state->frontend; si2165_attach()
1058 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dstb0899_drv.c29 #include <linux/dvb/frontend.h>
1487 stb0899_i2c_gate_ctrl(&state->frontend, 1); stb0899_search()
1495 stb0899_i2c_gate_ctrl(&state->frontend, 0); stb0899_search()
1526 stb0899_i2c_gate_ctrl(&state->frontend, 1); stb0899_search()
1534 stb0899_i2c_gate_ctrl(&state->frontend, 0); stb0899_search()
1642 state->frontend.ops = stb0899_ops; stb0899_attach()
1643 state->frontend.demodulator_priv = state; stb0899_attach()
1647 stb0899_wakeup(&state->frontend); stb0899_attach()
1654 return &state->frontend; stb0899_attach()
1663 MODULE_DESCRIPTION("STB0899 Multi-Std frontend");
H A Dcx24110.c40 struct dvb_frontend frontend; member in struct:cx24110_state
491 /* no provision in hardware. Read the frontend AGC accumulator. No idea how to scale this, but I know it is 2s complement */ cx24110_read_signal_strength()
619 memcpy(&state->frontend.ops, &cx24110_ops, sizeof(struct dvb_frontend_ops)); cx24110_attach()
620 state->frontend.demodulator_priv = state; cx24110_attach()
621 return &state->frontend; cx24110_attach()
663 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dlgdt330x.c54 MODULE_PARM_DESC(debug,"Turn on/off lgdt330x frontend debugging (default:off).");
67 struct dvb_frontend frontend; member in struct:lgdt330x_state
752 memcpy(&state->frontend.ops, &lgdt3302_ops, sizeof(struct dvb_frontend_ops)); lgdt330x_attach()
755 memcpy(&state->frontend.ops, &lgdt3303_ops, sizeof(struct dvb_frontend_ops)); lgdt330x_attach()
760 state->frontend.demodulator_priv = state; lgdt330x_attach()
769 return &state->frontend; lgdt330x_attach()
H A Dor51132.c63 struct dvb_frontend frontend; member in struct:or51132_state
409 /* FIXME: Read frequency from frontend, take AFC into account */ or51132_get_parameters()
583 memcpy(&state->frontend.ops, &or51132_ops, sizeof(struct dvb_frontend_ops)); or51132_attach()
584 state->frontend.demodulator_priv = state; or51132_attach()
585 return &state->frontend; or51132_attach()
618 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Ds5h1409.c38 struct dvb_frontend frontend; member in struct:s5h1409_state
977 memcpy(&state->frontend.ops, &s5h1409_ops, s5h1409_attach()
979 state->frontend.demodulator_priv = state; s5h1409_attach()
981 if (s5h1409_init(&state->frontend) != 0) { s5h1409_attach()
988 s5h1409_i2c_gate_ctrl(&state->frontend, 1); s5h1409_attach()
990 return &state->frontend; s5h1409_attach()
H A Ds5h1411.c38 struct dvb_frontend frontend; member in struct:s5h1411_state
892 memcpy(&state->frontend.ops, &s5h1411_ops, s5h1411_attach()
895 state->frontend.demodulator_priv = state; s5h1411_attach()
897 if (s5h1411_init(&state->frontend) != 0) { s5h1411_attach()
907 s5h1411_set_powerstate(&state->frontend, 1); s5h1411_attach()
909 return &state->frontend; s5h1411_attach()
H A Dstb0899_algo.c153 stb0899_i2c_gate_ctrl(&state->frontend, 1); stb0899_first_subrange()
154 config->tuner_get_bandwidth(&state->frontend, &bandwidth); stb0899_first_subrange()
155 stb0899_i2c_gate_ctrl(&state->frontend, 0); stb0899_first_subrange()
604 stb0899_i2c_gate_ctrl(&state->frontend, 1); stb0899_dvbs_algo()
609 state->config->tuner_set_frequency(&state->frontend, internal->freq); stb0899_dvbs_algo()
612 state->config->tuner_get_frequency(&state->frontend, &internal->freq); stb0899_dvbs_algo()
620 config->tuner_get_bandwidth(&state->frontend, &bandwidth); stb0899_dvbs_algo()
623 stb0899_i2c_gate_ctrl(&state->frontend, 0); stb0899_dvbs_algo()
1353 stb0899_i2c_gate_ctrl(&state->frontend, 1); stb0899_dvbs2_algo()
1357 state->config->tuner_set_frequency(&state->frontend, internal->freq); stb0899_dvbs2_algo()
1359 state->config->tuner_get_frequency(&state->frontend, &internal->freq); stb0899_dvbs2_algo()
1362 stb0899_i2c_gate_ctrl(&state->frontend, 0); stb0899_dvbs2_algo()
H A DMakefile2 # Makefile for the kernel DVB frontend device drivers.
H A Da8293.c96 /* override frontend ops */ a8293_probe()
H A Dcx22702.c44 struct dvb_frontend frontend; member in struct:cx22702_state
610 memcpy(&state->frontend.ops, &cx22702_ops, cx22702_attach()
612 state->frontend.demodulator_priv = state; cx22702_attach()
613 return &state->frontend; cx22702_attach()
H A Dlnbp22.c139 /* override frontend ops */ lnbp22_attach()
H A Dnxt200x.c62 struct dvb_frontend frontend; member in struct:nxt200x_state
860 /* the value reported back from the frontend will be FFFF=32db 0000=0db */ nxt200x_read_snr()
919 /* soft reset everything (agc,frontend,eq,fec)*/ nxt2002_init()
986 /* soft reset everything (agc,frontend,eq,fec)*/ nxt2004_init()
1206 memcpy(&state->frontend.ops, &nxt200x_ops, sizeof(struct dvb_frontend_ops)); nxt200x_attach()
1207 state->frontend.demodulator_priv = state; nxt200x_attach()
1208 return &state->frontend; nxt200x_attach()
1219 .name = "Nextwave NXT200X VSB/QAM frontend",
1244 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dstv0297.c36 struct dvb_frontend frontend; member in struct:stv0297_state
684 memcpy(&state->frontend.ops, &stv0297_ops, sizeof(struct dvb_frontend_ops)); stv0297_attach()
685 state->frontend.demodulator_priv = state; stv0297_attach()
686 return &state->frontend; stv0297_attach()
H A Dstv0299.h48 #include <linux/dvb/frontend.h>
H A Dves1x93.c41 struct dvb_frontend frontend; member in struct:ves1x93_state
506 memcpy(&state->frontend.ops, &ves1x93_ops, sizeof(struct dvb_frontend_ops)); ves1x93_attach()
507 state->frontend.demodulator_priv = state; ves1x93_attach()
508 return &state->frontend; ves1x93_attach()
H A Dcx24123.c43 MODULE_PARM_DESC(debug, "Activates frontend debugging (default:0)");
60 struct dvb_frontend frontend; member in struct:cx24123_state
461 if ((srate > state->frontend.ops.info.symbol_rate_max) || cx24123_set_symbolrate()
462 (srate < state->frontend.ops.info.symbol_rate_min)) cx24123_set_symbolrate()
704 dprintk("init frontend\n"); cx24123_initfe()
1086 memcpy(&state->frontend.ops, &cx24123_ops, cx24123_attach()
1088 state->frontend.demodulator_priv = state; cx24123_attach()
1105 return &state->frontend; cx24123_attach()
/linux-4.4.14/drivers/media/pci/saa7164/
H A Dsaa7164-dvb.c304 if (!demux->dmx.frontend) saa7164_dvb_start_feed()
410 /* register frontend */ dvb_register()
411 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); dvb_register()
480 dvb_unregister_frontend(dvb->frontend); dvb_register()
482 dvb_frontend_detach(dvb->frontend); dvb_register()
510 if (dvb->frontend == NULL) saa7164_dvb_unregister()
532 dvb_unregister_frontend(dvb->frontend); saa7164_dvb_unregister()
533 dvb_frontend_detach(dvb->frontend); saa7164_dvb_unregister()
556 /* init frontend */ saa7164_dvb_register()
566 port->dvb.frontend = dvb_attach(tda10048_attach, saa7164_dvb_register()
570 if (port->dvb.frontend != NULL) { saa7164_dvb_register()
572 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
579 port->dvb.frontend = dvb_attach(tda10048_attach, saa7164_dvb_register()
583 if (port->dvb.frontend != NULL) { saa7164_dvb_register()
585 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
598 port->dvb.frontend = dvb_attach(s5h1411_attach, saa7164_dvb_register()
602 if (port->dvb.frontend != NULL) { saa7164_dvb_register()
606 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
611 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
623 port->dvb.frontend = dvb_attach(lgdt3306a_attach, saa7164_dvb_register()
626 port->dvb.frontend = dvb_attach(lgdt3306a_attach, saa7164_dvb_register()
630 if (port->dvb.frontend != NULL) { saa7164_dvb_register()
634 port->dvb.frontend, 0xc0, saa7164_dvb_register()
638 port->dvb.frontend, 0xc0, saa7164_dvb_register()
646 /* attach frontend */ saa7164_dvb_register()
649 si2168_config.fe = &port->dvb.frontend; saa7164_dvb_register()
670 si2157_config.fe = port->dvb.frontend; saa7164_dvb_register()
691 /* attach frontend */ saa7164_dvb_register()
694 si2168_config.fe = &port->dvb.frontend; saa7164_dvb_register()
714 si2157_config.fe = port->dvb.frontend; saa7164_dvb_register()
739 printk(KERN_ERR "%s: The frontend isn't supported\n", saa7164_dvb_register()
743 if (NULL == dvb->frontend) { saa7164_dvb_register()
752 if (dvb->frontend->ops.release) saa7164_dvb_register()
753 dvb->frontend->ops.release(dvb->frontend); saa7164_dvb_register()
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/
H A Dc8sectpfe-common.c212 if (tsin && tsin->frontend) { c8sectpfe_tuner_unregister_frontend()
213 dvb_unregister_frontend(tsin->frontend); c8sectpfe_tuner_unregister_frontend()
214 dvb_frontend_detach(tsin->frontend); c8sectpfe_tuner_unregister_frontend()
236 struct dvb_frontend *frontend; c8sectpfe_tuner_register_frontend() local
246 res = c8sectpfe_frontend_attach(&frontend, *c8sectpfe, tsin, n); c8sectpfe_tuner_register_frontend()
250 res = dvb_register_frontend(&c8sectpfe[0]->adapter, frontend); c8sectpfe_tuner_register_frontend()
257 tsin->frontend = frontend; c8sectpfe_tuner_register_frontend()
H A Dc8sectpfe-common.h17 #include <linux/dvb/frontend.h>
H A Dc8sectpfe-dvb.c48 default: return "unknown dvb frontend card"; dvb_card_str()
233 "%s: DVB frontend card %s not yet supported\n", c8sectpfe_frontend_attach()
241 "DVB frontend card %s successfully attached", c8sectpfe_frontend_attach()
/linux-4.4.14/include/media/
H A Dvideobuf-dvb.h13 struct dvb_frontend *frontend; member in struct:videobuf_dvb
39 int active_fe_id; /* Indicates which frontend in the felist is in use */
H A Dvideobuf2-dvb.h20 struct dvb_frontend *frontend; member in struct:vb2_dvb
45 int active_fe_id; /* Indicates which frontend in the felist is in use */
/linux-4.4.14/drivers/staging/rtl8192u/
H A Dr8190_rtl8256.h7 radio frontend.
/linux-4.4.14/drivers/char/agp/
H A DMakefile1 agpgart-y := backend.o frontend.o generic.o isoch.o
/linux-4.4.14/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c63 const char *devid, *type, *frontend; backend_bus_id() local
76 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, backend_bus_id()
77 "frontend", NULL, &frontend, backend_bus_id()
81 if (strlen(frontend) == 0) backend_bus_id()
83 if (!err && !xenbus_exists(XBT_NIL, frontend, "")) backend_bus_id()
85 kfree(frontend); backend_bus_id()
133 /* backend/<typename>/<frontend-uuid>/<name> */ xenbus_probe_backend_unit()
153 /* backend/<typename>/<frontend-domid> */ xenbus_probe_backend()
192 .levels = 3, /* backend/type/<frontend>/<id> */
222 return xenbus_read_otherend_details(xendev, "frontend-id", "frontend"); read_frontend_details()
H A Dxenbus_probe_frontend.c41 pr_warn("bad frontend %s\n", nodename); frontend_bus_id()
286 * This needs to be on a late_initcall, to happen after the frontend device
361 * Reset frontend if it is in Connected or Closed state.
406 char *backend, *frontend; xenbus_check_frontend() local
408 frontend = kasprintf(GFP_NOIO | __GFP_HIGH, "device/%s/%s", class, dev); xenbus_check_frontend()
409 if (!frontend) xenbus_check_frontend()
412 err = xenbus_scanf(XBT_NIL, frontend, "state", "%i", &fe_state); xenbus_check_frontend()
419 printk(KERN_DEBUG "XENBUS: frontend %s %s\n", xenbus_check_frontend()
420 frontend, xenbus_strstate(fe_state)); xenbus_check_frontend()
421 backend = xenbus_read(XBT_NIL, frontend, "backend", NULL); xenbus_check_frontend()
426 xenbus_reset_frontend(frontend, backend, be_state); xenbus_check_frontend()
433 kfree(frontend); xenbus_check_frontend()
491 pr_warn("create xenbus frontend workqueue failed, S3 resume is likely to fail\n"); xenbus_probe_frontend_init()
/linux-4.4.14/drivers/media/v4l2-core/
H A Dvideobuf2-dvb.c45 if (!demux->dmx.frontend) vb2_dvb_start_feed()
106 /* register frontend */ vb2_dvb_register_frontend()
107 result = dvb_register_frontend(adapter, dvb->frontend); vb2_dvb_register_frontend()
182 dvb_unregister_frontend(dvb->frontend); vb2_dvb_register_frontend()
184 dvb_frontend_detach(dvb->frontend); vb2_dvb_register_frontend()
185 dvb->frontend = NULL; vb2_dvb_register_frontend()
279 if (fe->dvb.frontend == p) { vb2_dvb_find_frontend()
326 dvb_unregister_frontend(fe->dvb.frontend); vb2_dvb_dealloc_frontends()
328 if (fe->dvb.frontend) vb2_dvb_dealloc_frontends()
330 dvb_frontend_detach(fe->dvb.frontend); vb2_dvb_dealloc_frontends()
332 kfree(fe); /* free frontend allocation */ vb2_dvb_dealloc_frontends()
H A Dvideobuf-dvb.c99 if (!demux->dmx.frontend) videobuf_dvb_start_feed()
166 /* register frontend */ videobuf_dvb_register_frontend()
167 result = dvb_register_frontend(adapter, dvb->frontend); videobuf_dvb_register_frontend()
242 dvb_unregister_frontend(dvb->frontend); videobuf_dvb_register_frontend()
244 dvb_frontend_detach(dvb->frontend); videobuf_dvb_register_frontend()
245 dvb->frontend = NULL; videobuf_dvb_register_frontend()
339 if (fe->dvb.frontend == p) { videobuf_dvb_find_frontend()
388 dvb_unregister_frontend(fe->dvb.frontend); videobuf_dvb_dealloc_frontends()
390 if (fe->dvb.frontend) videobuf_dvb_dealloc_frontends()
392 dvb_frontend_detach(fe->dvb.frontend); videobuf_dvb_dealloc_frontends()
394 kfree(fe); /* free frontend allocation */ videobuf_dvb_dealloc_frontends()
/linux-4.4.14/drivers/media/firewire/
H A Dfiredtv-dvb.c132 (demux->dmx.frontend->source != DMX_MEMORY_FE))) { fdtv_stop_feed()
195 fdtv->frontend.source = DMX_FRONTEND_0; fdtv_dvb_register()
197 err = fdtv->demux.dmx.add_frontend(&fdtv->demux.dmx, &fdtv->frontend); fdtv_dvb_register()
202 &fdtv->frontend); fdtv_dvb_register()
226 fdtv->demux.dmx.remove_frontend(&fdtv->demux.dmx, &fdtv->frontend); fdtv_dvb_register()
244 fdtv->demux.dmx.remove_frontend(&fdtv->demux.dmx, &fdtv->frontend); fdtv_dvb_unregister()
H A Dfiredtv.h18 #include <linux/dvb/frontend.h>
83 struct dmx_frontend frontend; member in struct:firedtv
/linux-4.4.14/drivers/media/tuners/
H A Dm88rs6000t.h24 * pointer to DVB frontend
H A Dqt1010.h32 * Attach a qt1010 tuner to the supplied frontend structure.
34 * @param fe frontend to attach to
H A De4000.h32 * frontend
H A Dsi2157.h29 * frontend
H A Dtda18212.h40 * pointer to DVB frontend
H A Dtua9001.h29 * @dvb_frontend: DVB frontend.
H A Dfc2580.h36 * @dvb_frontend: DVB frontend.
H A Dit913x.h34 * pointer to DVB frontend
H A Dtda827x.h46 * Attach a tda827x tuner to the supplied frontend structure.
/linux-4.4.14/crypto/
H A Dapi.c459 const struct crypto_type *frontend) crypto_create_tfm()
467 tfmsize = frontend->tfmsize; crypto_create_tfm()
468 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); crypto_create_tfm()
477 err = frontend->init_tfm(tfm); crypto_create_tfm()
500 const struct crypto_type *frontend, crypto_find_alg()
506 if (frontend) { crypto_find_alg()
507 type &= frontend->maskclear; crypto_find_alg()
508 mask &= frontend->maskclear; crypto_find_alg()
509 type |= frontend->type; crypto_find_alg()
510 mask |= frontend->maskset; crypto_find_alg()
512 if (frontend->lookup) crypto_find_alg()
513 lookup = frontend->lookup; crypto_find_alg()
523 * @frontend: Frontend algorithm type
541 const struct crypto_type *frontend, u32 type, u32 mask) crypto_alloc_tfm()
549 alg = crypto_find_alg(alg_name, frontend, type, mask); crypto_alloc_tfm()
555 tfm = crypto_create_tfm(alg, frontend); crypto_alloc_tfm()
458 crypto_create_tfm(struct crypto_alg *alg, const struct crypto_type *frontend) crypto_create_tfm() argument
499 crypto_find_alg(const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask) crypto_find_alg() argument
540 crypto_alloc_tfm(const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask) crypto_alloc_tfm() argument
H A Dinternal.h94 const struct crypto_type *frontend);
96 const struct crypto_type *frontend,
99 const struct crypto_type *frontend, u32 type, u32 mask);
H A Dalgapi.c610 const struct crypto_type *frontend) crypto_init_spawn2()
614 if ((alg->cra_flags ^ frontend->type) & frontend->maskset) crypto_init_spawn2()
617 spawn->frontend = frontend; crypto_init_spawn2()
618 err = crypto_init_spawn(spawn, alg, inst, frontend->maskset); crypto_init_spawn2()
631 alg = crypto_find_alg(name, spawn->frontend, type, mask); crypto_grab_spawn()
708 tfm = crypto_create_tfm(alg, spawn->frontend); crypto_spawn_tfm2()
784 const struct crypto_type *frontend, crypto_attr_alg2()
793 return crypto_find_alg(name, frontend, type, mask); crypto_attr_alg2()
608 crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg, struct crypto_instance *inst, const struct crypto_type *frontend) crypto_init_spawn2() argument
783 crypto_attr_alg2(struct rtattr *rta, const struct crypto_type *frontend, u32 type, u32 mask) crypto_attr_alg2() argument
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx39xxj.h25 #include <linux/dvb/frontend.h>
32 struct dvb_frontend frontend; member in struct:drx39xxj_state
/linux-4.4.14/include/xen/interface/io/
H A Dtpmif.h18 * 2. Backend transitions to InitWait (frontend does not wait on this step)
38 * frontend should only change to SUBMIT or CANCEL. */
H A Dnetif.h16 * Older implementation of Xen network frontend / backend has an
19 * expected when frontend and backend have different MAX_SKB_FRAGS.
28 * which doesn't negotiate with frontend should expect frontend to
46 * To make use of this feature, frontend should allocate two event
48 * "event-channel-tx" and "event-channel-rx" respectively. If frontend
72 * to avoid distinguishing between a frontend that doesn't understand the
79 * are indexed from zero. For example, a frontend with two queues and split
97 * requested than the frontend provided details for.
100 * transmitting system (backend or frontend) and is not negotiated
H A Dfbif.h29 /* Out events (frontend -> backend) */
39 * Capable frontend sets feature-update in xenstore.
76 /* In events (backend -> frontend) */
H A Dblkif.h41 * or not it is worthwhile for the frontend to attempt barrier requests.
55 * is worthwhile for the frontend to attempt flushes. If a backend does
68 * or not it is worthwhile for the frontend to attempt discard requests.
109 * present, the frontend might use blkif_request_indirect structs in order to
112 * frontend can issue requests with any number of indirect segments as long as
114 * in blkif_request_indirect should be filled by the frontend with the
H A Dkbdif.h29 /* In events (backend -> frontend) */
78 /* Out events (frontend -> backend) */
H A Dvscsiif.h68 * A string specifying the frontend device in form of a 4-tuple "h:c:t:l"
107 /* Requests from the frontend to the backend */
192 uint8_t act; /* command between backend and frontend */
/linux-4.4.14/drivers/media/usb/dvb-usb/
H A Ddtt200u-fe.c20 struct dvb_frontend frontend; member in struct:dtt200u_fe_state
168 deb_info("attaching frontend dtt200u\n"); dtt200u_fe_attach()
172 memcpy(&state->frontend.ops,&dtt200u_fe_ops,sizeof(struct dvb_frontend_ops)); dtt200u_fe_attach()
173 state->frontend.demodulator_priv = state; dtt200u_fe_attach()
175 return &state->frontend; dtt200u_fe_attach()
H A Dfriio-fe.c21 struct dvb_frontend frontend; member in struct:jdvbt90502_state
135 state->frontend.ops.info.frequency_stepsize); jdvbt90502_pll_set_freq()
138 f = freq / state->frontend.ops.info.frequency_stepsize; jdvbt90502_pll_set_freq()
428 state->frontend.ops = jdvbt90502_ops; jdvbt90502_attach()
429 state->frontend.demodulator_priv = state; jdvbt90502_attach()
431 if (jdvbt90502_init(&state->frontend) < 0) jdvbt90502_attach()
434 return &state->frontend; jdvbt90502_attach()
H A Dvp702x-fe.c1 /* DVB frontend part of the Linux driver for the TwinhanDTV StarBox USB2.0
12 * the frontend-controlling separately.
165 deb_fe("setting frontend to: %u -> %u (%x) LNB-based GHz, symbolrate: %d -> %lu (%lx)\n", vp702x_fe_set_frontend()
351 .name = "Twinhan DST-like frontend (VP7021/VP7020) DVB-S",
H A Ddvb-usb.h128 * @frontend_ctrl: called to power on/off active frontend.
349 * @dvb_frontend: device's frontend.
353 * @fe_init: rerouted frontend-init (wakeup) function.
354 * @fe_sleep: rerouted frontend-sleep function.
H A Dvp7045-fe.c1 /* DVB frontend part of the Linux driver for TwinhanDTV Alpha/MagicBoxII USB2.0
H A Ddvb-usb-dvb.c279 "doesn't want to attach a frontend.", dvb_usb_adapter_frontend_init()
289 err("no frontend was attached by '%s'", dvb_usb_adapter_frontend_init()
/linux-4.4.14/drivers/media/usb/ttusb-dec/
H A Dttusbdecfe.c34 struct dvb_frontend frontend; member in struct:ttusbdecfe_state
223 memcpy(&state->frontend.ops, &ttusbdecfe_dvbt_ops, sizeof(struct dvb_frontend_ops)); ttusbdecfe_dvbt_attach()
224 state->frontend.demodulator_priv = state; ttusbdecfe_dvbt_attach()
225 return &state->frontend; ttusbdecfe_dvbt_attach()
245 memcpy(&state->frontend.ops, &ttusbdecfe_dvbs_ops, sizeof(struct dvb_frontend_ops)); ttusbdecfe_dvbs_attach()
246 state->frontend.demodulator_priv = state; ttusbdecfe_dvbs_attach()
247 return &state->frontend; ttusbdecfe_dvbs_attach()
H A Dttusbdecfe.h25 #include <linux/dvb/frontend.h>
H A Dttusb_dec.c105 struct dmx_frontend frontend; member in struct:ttusb_dec
1052 if (!dvbdmx->dmx.frontend) ttusb_dec_start_feed()
1481 dec->frontend.source = DMX_FRONTEND_0; ttusb_dec_init_dvb()
1484 &dec->frontend)) < 0) { ttusb_dec_init_dvb()
1496 &dec->frontend)) < 0) { ttusb_dec_init_dvb()
1500 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); ttusb_dec_init_dvb()
1519 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); ttusb_dec_exit_dvb()
1670 printk("dvb-ttusb-dec: A frontend driver was not found for device [%04x:%04x]\n", ttusb_dec_probe()
/linux-4.4.14/drivers/media/common/siano/
H A Dsmsdvb-main.c130 container_of(fe, struct smsdvb_client_t, frontend); smsdvb_stats_not_ready()
226 struct dvb_frontend *fe = &client->frontend; smsdvb_update_tx_params()
243 struct dvb_frontend *fe = &client->frontend; smsdvb_update_per_slices()
283 struct dvb_frontend *fe = &client->frontend; smsdvb_update_dvb_stats()
335 struct dvb_frontend *fe = &client->frontend; smsdvb_update_isdbt_stats()
431 struct dvb_frontend *fe = &client->frontend; smsdvb_update_isdbt_stats_ex()
522 struct dvb_frontend *fe = &client->frontend; smsdvb_onresponse()
633 dvb_unregister_frontend(&client->frontend); smsdvb_unregister_client()
760 client = container_of(fe, struct smsdvb_client_t, frontend); smsdvb_read_status()
776 client = container_of(fe, struct smsdvb_client_t, frontend); smsdvb_read_ber()
794 client = container_of(fe, struct smsdvb_client_t, frontend); smsdvb_read_signal_strength()
816 client = container_of(fe, struct smsdvb_client_t, frontend); smsdvb_read_snr()
834 client = container_of(fe, struct smsdvb_client_t, frontend); smsdvb_read_ucblocks()
860 container_of(fe, struct smsdvb_client_t, frontend); smsdvb_dvbt_set_frontend()
926 container_of(fe, struct smsdvb_client_t, frontend); smsdvb_isdbt_set_frontend()
996 container_of(fe, struct smsdvb_client_t, frontend); smsdvb_set_frontend()
1026 container_of(fe, struct smsdvb_client_t, frontend); smsdvb_init()
1037 container_of(fe, struct smsdvb_client_t, frontend); smsdvb_sleep()
1133 /* init and register frontend */ smsdvb_hotplug()
1134 memcpy(&client->frontend.ops, &smsdvb_fe_ops, smsdvb_hotplug()
1140 client->frontend.ops.delsys[0] = SYS_DVBT; smsdvb_hotplug()
1144 client->frontend.ops.delsys[0] = SYS_ISDBT; smsdvb_hotplug()
1148 rc = dvb_register_frontend(&client->adapter, &client->frontend); smsdvb_hotplug()
1150 pr_err("frontend registration failed %d\n", rc); smsdvb_hotplug()
1192 dvb_unregister_frontend(&client->frontend); smsdvb_hotplug()
H A Dsmsdvb.h41 struct dvb_frontend frontend; member in struct:smsdvb_client_t
/linux-4.4.14/include/uapi/linux/dvb/
H A Dfrontend.h2 * frontend.h
64 FE_CAN_MULTISTREAM = 0x4000000, /* frontend supports multistream filtering */
65 FE_CAN_TURBO_FEC = 0x8000000, /* frontend supports "turbo fec modulation" */
66 FE_CAN_2G_MODULATION = 0x10000000, /* frontend supports "2nd generation modulation" (DVB-S2) */
67 FE_NEEDS_BENDING = 0x20000000, /* not supported anymore, don't use (frontend requires frequency bending) */
68 FE_CAN_RECOVER = 0x40000000, /* frontend can recover from a cable unplug automatically */
69 FE_CAN_MUTE_TS = 0x80000000 /* frontend can stop spurious TS data output */
119 * enum fe_status - enumerates the possible frontend status
126 * @FE_REINIT: frontend was reinitialized, application is recommended
572 * status, and hence no frontend events will be generated. If a frontend device
/linux-4.4.14/drivers/media/dvb-core/
H A Ddvb_frontend.h41 #include <linux/dvb/frontend.h>
46 * Maximum number of Delivery systems per frontend. It
52 * struct dvb_frontend_tune_settings - parameters to adjust frontend tuning
75 * @bandwidth_min: minimal frontend bandwidth supported
76 * @bandwidth_max: maximum frontend bandwidth supported
77 * @bandwidth_step: frontend bandwidth step
139 * algorithms in the frontend driver, rather than simply doing a
168 * The frontend search algorithm completed and returned successfully
171 * The frontend search algorithm is sleeping
174 * The frontend search for a signal failed
177 * The frontend search algorith was probably supplied with invalid
181 * The frontend search algorithm failed due to some error
184 * The frontend search algorithm was requested to search again
199 * @release: callback function called when frontend is dettached.
224 * @get_status: returns the frontend lock status
312 * @release: callback function called when frontend is dettached.
344 * @delsys: Delivery systems supported by the frontend
345 * @release: callback function called when frontend is dettached.
371 * @read_status: returns the locking status of the frontend.
414 * @set_property: callback function to allow the frontend to validade
416 * @get_property: callback function to allow the frontend to override
440 /* get frontend tuning algorithm from the module */
657 * @frontend_priv: frontend private data
664 * @exit: Used to inform the DVB core that the frontend
H A Ddvb_frontend.c2 * dvb_frontend.c: DVB frontend tuning interface/thread
58 MODULE_PARM_DESC(frontend_debug, "Turn on/off frontend core debugging (default:off).");
68 MODULE_PARM_DESC(dvb_mfe_wait_time, "Wait up to <mfe_wait_time> seconds on open() for multi-frontend to become available (default:5 seconds)");
89 * FESTATE_TUNED. The frontend has successfully locked on.
103 /* thread/frontend values */
193 * there's no frontend driver from this type yet dvbv3_type()
285 "%s: initialising adapter %i frontend %i (%s)...\n", dvb_frontend_init()
327 * Performs automatic twiddling of frontend parameters.
329 * @param fe The frontend concerned.
411 /* set the frontend itself */ dvb_frontend_swzigzag_autotune()
445 /* in SCAN mode, we just set the frontend when asked and leave it alone */ dvb_frontend_swzigzag()
462 /* get the frontend status */ dvb_frontend_swzigzag()
502 * the frontend is set to FE_CAN_RECOVER, and the max_drift is 0 */ dvb_frontend_swzigzag()
548 * FE_SET_FRONTEND ioctl before the first frontend tune dvb_frontend_swzigzag()
605 * frontend. It has two different behaviors:
611 * the same frontend, it will print an error message and return -EINVAL.
614 * or 0 if everything is OK, if no tuner is linked to the frontend or if the
649 * If a frontend has more than one tuner linked, it is up to the driver dvb_enable_media_tuner()
650 * to select with one will be the active one, as the frontend core can't dvb_enable_media_tuner()
967 dev_warn(fe->dvb->device, "DVB: adapter %i frontend %u frequency limits undefined - fix the driver\n", dvb_frontend_get_frequency_limits()
981 dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i frequency %u out of range (%u..%u)\n", dvb_frontend_check_parameters()
998 dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i symbol rate %u out of range (%u..%u)\n", dvb_frontend_check_parameters()
1271 /* Ensure the cached values are set correctly in the frontend
1588 /* Allow the frontend to override outgoing properties */ dtv_property_process_get()
1614 * @fe: struct frontend;
1619 * using a DVB-S2 only frontend just like it were a DVB-S, if the frontent
1661 * @fe: frontend struct
1754 * @fe: frontend struct
1829 /* Allow the frontend to validate incoming properties */ dtv_property_process_set()
1839 * Reset a cache of data specific to the frontend here. This does dtv_property_process_set()
1845 /* interpret the cache of data, build either a traditional frontend dtv_property_process_set()
2101 * the data retrieved from get_frontend, if the frontend dvb_frontend_ioctl_properties()
2142 * the user. FE_SET_FRONTEND triggers an initial frontend event dtv_set_frontend()
2212 /* get frontend-specific tuning settings */ dtv_set_frontend()
2242 * defined by the frontend, why not use it??? dtv_set_frontend()
2288 * It should be noticed that, on multi-frontend devices with dvb_frontend_ioctl_legacy()
2603 frontend thread already exists then the dvb_init() routine dvb_frontend_open()
2756 "DVB: registering adapter %i frontend %i (%s)...\n", dvb_register_frontend()
H A Ddemux.h301 * enum dmx_frontend_source - Used to identify the type of frontend
307 * @DMX_FRONTEND_0: The source of the demux is a frontend connected
321 * @source: Type of the frontend.
370 * @frontend: Front-end connected to the demux
481 * the frontend structure and initialize its fields before calling this
483 * initialization. The caller must not free the memory of the frontend
487 * The @frontend function parameter contains a pointer to the front-end
498 * calling this function, the caller can free the memory of the frontend
503 * The @frontend function parameter contains a pointer to the front-end
530 * The @frontend function parameter contains a pointer to the front-end
557 struct dmx_frontend *frontend; member in struct:dmx_demux
574 struct dmx_frontend *frontend);
576 struct dmx_frontend *frontend);
579 struct dmx_frontend *frontend);
H A Ddvb_demux.c1157 if ((!demux->frontend) || (demux->frontend->source != DMX_MEMORY_FE)) dvbdmx_write()
1177 struct dmx_frontend *frontend) dvbdmx_add_frontend()
1182 list_add(&(frontend->connectivity_list), head); dvbdmx_add_frontend()
1188 struct dmx_frontend *frontend) dvbdmx_remove_frontend()
1194 if (DMX_FE_ENTRY(pos) == frontend) { list_for_each_safe()
1214 struct dmx_frontend *frontend) dvbdmx_connect_frontend()
1218 if (demux->frontend) dvbdmx_connect_frontend()
1223 demux->frontend = frontend; dvbdmx_connect_frontend()
1234 demux->frontend = NULL; dvbdmx_disconnect_frontend()
1297 dmx->frontend = NULL; dvb_dmx_init()
1176 dvbdmx_add_frontend(struct dmx_demux *demux, struct dmx_frontend *frontend) dvbdmx_add_frontend() argument
1187 dvbdmx_remove_frontend(struct dmx_demux *demux, struct dmx_frontend *frontend) dvbdmx_remove_frontend() argument
1213 dvbdmx_connect_frontend(struct dmx_demux *demux, struct dmx_frontend *frontend) dvbdmx_connect_frontend() argument
H A Ddvbdev.h92 struct dvb_device *mfe_dvbdev; /* frontend device in use */
124 * This structure is used by the DVB core (frontend, CA, net, demux) in
/linux-4.4.14/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_core.c409 fe0->dvb.frontend = dvb_attach(cxd2841er_attach_s, netup_unidvb_dvb_init()
411 if (fe0->dvb.frontend == NULL) { netup_unidvb_dvb_init()
413 "%s(): unable to attach DVB-S/S2 frontend\n", netup_unidvb_dvb_init()
418 if (!dvb_attach(horus3a_attach, fe0->dvb.frontend, netup_unidvb_dvb_init()
421 "%s(): unable to attach DVB-S/S2 tuner frontend\n", netup_unidvb_dvb_init()
425 if (!dvb_attach(lnbh25_attach, fe0->dvb.frontend, netup_unidvb_dvb_init()
428 "%s(): unable to attach SEC frontend\n", __func__); netup_unidvb_dvb_init()
431 /* DVB-T/T2 frontend */ netup_unidvb_dvb_init()
432 fe1->dvb.frontend = dvb_attach(cxd2841er_attach_t, netup_unidvb_dvb_init()
434 if (fe1->dvb.frontend == NULL) { netup_unidvb_dvb_init()
436 "%s(): unable to attach DVB-T frontend\n", __func__); netup_unidvb_dvb_init()
439 fe1->dvb.frontend->id = 1; netup_unidvb_dvb_init()
441 if (!dvb_attach(ascot2e_attach, fe1->dvb.frontend, netup_unidvb_dvb_init()
444 "%s(): unable to attach DVB-T tuner frontend\n", netup_unidvb_dvb_init()
448 /* DVB-C/C2 frontend */ netup_unidvb_dvb_init()
449 fe2->dvb.frontend = dvb_attach(cxd2841er_attach_c, netup_unidvb_dvb_init()
451 if (fe2->dvb.frontend == NULL) { netup_unidvb_dvb_init()
453 "%s(): unable to attach DVB-C frontend\n", __func__); netup_unidvb_dvb_init()
456 fe2->dvb.frontend->id = 2; netup_unidvb_dvb_init()
457 if (!dvb_attach(ascot2e_attach, fe2->dvb.frontend, netup_unidvb_dvb_init()
460 "%s(): unable to attach DVB-T/C tuner frontend\n", netup_unidvb_dvb_init()
/linux-4.4.14/Documentation/DocBook/media/
H A DMakefile17 frontend.h.xml \
63 $(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/dvb/frontend.h) \
70 $(shell perl -ne 'print "$$1 " if /\#define\s+(DTV_[^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/frontend.h) \
74 $(shell perl -ne 'print "$$1 " if /^typedef\s+.*\s+(\S+)\;/' $(srctree)/include/uapi/linux/dvb/frontend.h)
82 $(srctree)/include/uapi/linux/dvb/frontend.h \
92 $(srctree)/include/uapi/linux/dvb/frontend.h)
99 $(shell perl -ne 'print "$$1 " if (!/dtv\_cmds\_h/ && /^struct\s+([^\s]+)\s+/)' $(srctree)/include/uapi/linux/dvb/frontend.h) \
262 $(MEDIA_OBJ_DIR)/frontend.h.xml: $(srctree)/include/uapi/linux/dvb/frontend.h $(MEDIA_OBJ_DIR)/v4l2.xml
/linux-4.4.14/drivers/media/pci/mantis/
H A Dmantis_vp2033.c142 "found Philips CU1216 DVB-C frontend (TDA10021) @ 0x%02x", vp2033_frontend_init()
151 "found Philips CU1216 DVB-C frontend (TDA10023) @ 0x%02x", vp2033_frontend_init()
158 dprintk(MANTIS_ERROR, 1, "Mantis DVB-C Philips CU1216 frontend attach success"); vp2033_frontend_init()
H A Dmantis_vp2040.c142 "found Philips CU1216 DVB-C frontend (TDA10021) @ 0x%02x", vp2040_frontend_init()
151 "found Philips CU1216 DVB-C frontend (TDA10023) @ 0x%02x", vp2040_frontend_init()
158 dprintk(MANTIS_ERROR, 1, "Mantis DVB-C Philips CU1216 frontend attach success"); vp2040_frontend_init()
H A Dmantis_dvb.c109 if (!dvbdmx->dmx.frontend) { mantis_dvb_start_feed()
110 dprintk(MANTIS_DEBUG, 1, "no frontend ?"); mantis_dvb_start_feed()
132 if (!dvbdmx->dmx.frontend) { mantis_dvb_stop_feed()
133 dprintk(MANTIS_DEBUG, 1, "no frontend ?"); mantis_dvb_stop_feed()
H A Dmantis_vp1033.c180 dprintk(MANTIS_ERROR, 1, "found STV0299 DVB-S frontend @ 0x%02x", vp1033_frontend_init()
183 dprintk(MANTIS_ERROR, 1, "Mantis DVB-S STV0299 frontend attach success"); vp1033_frontend_init()
H A Dmantis_vp1034.c89 "found MB86A16 DVB-S/DSS frontend @0x%02x", vp1034_frontend_init()
/linux-4.4.14/drivers/xen/xen-pciback/
H A Dxenbus.c2 * PCI Backend Xenbus Setup - handles setup with frontend and xend
26 " 0 - (default) Hide the true PCI topology and makes the frontend\n"\
31 " frontend (for example, a device at 06:01.b will still appear at\n"\
32 " 06:01.b to the frontend). This is similar to how Xen 2.0.x\n"\
115 "Attaching to frontend resources - gnt_ref=%d evtchn=%d\n", xen_pcibk_do_attach()
156 /* Wait for frontend to state that it has published the configuration */ xen_pcibk_attach()
161 dev_dbg(&pdev->xdev->dev, "Reading frontend config\n"); xen_pcibk_attach()
170 "Error reading configuration from frontend"); xen_pcibk_attach()
445 "buses for frontend"); xen_pcibk_reconfigure()
552 dev_dbg(&xdev->dev, "frontend is gone! unregister device\n"); xen_pcibk_frontend_changed()
641 "for frontend"); xen_pcibk_setup_backend()
/linux-4.4.14/drivers/media/usb/as102/
H A Das102_drv.c186 /* Set frontend arguments */ as102_set_tune()
334 /* Attach the frontend */ as102_dvb_register()
381 /* unregister as102 frontend */ as102_dvb_unregister()
384 /* detach frontend */ as102_dvb_unregister()
/linux-4.4.14/drivers/block/zram/
H A Dzcomp.h42 /* dynamic per-device compression frontend */
/linux-4.4.14/drivers/s390/char/
H A Dtape_char.c2 * character device frontend for tape device driver
32 * file operation structure for tape character frontend
267 * Character frontend tape device open function.
300 * Character frontend tape device release function.
478 * Initialize character device frontend.
/linux-4.4.14/drivers/media/common/b2c2/
H A Dflexcop-fe-tuner.c3 * flexcop-fe-tuner.c - methods for frontend attachment and DiSEqC controlling
619 /* Reset for next frontend to try */ cablestar2_attach()
680 /* try to figure out the frontend */ flexcop_frontend_init()
692 /* Clean up partially attached frontend */ flexcop_frontend_init()
699 err("no frontend driver found for this B2C2/FlexCop adapter"); flexcop_frontend_init()
705 err("frontend registration failed!"); flexcop_frontend_init()
/linux-4.4.14/drivers/block/xen-blkback/
H A Dcommon.h51 * requests. This value will also be passed to the frontend.
115 * feature-max-indirect-segments entry), so the frontend knows how
179 * feature-max-indirect-segments entry), so the frontend knows how
222 * Default protocol if the frontend doesn't specify one.
448 * ID so failure can be reported to the frontend. blkif_get_x86_32_req()
496 * ID so failure can be reported to the frontend. blkif_get_x86_64_req()
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Ddst_common.h25 #include <linux/dvb/frontend.h>
106 struct dvb_frontend frontend; member in struct:dst_state
H A Ddvb-bt8xx.c79 if (!dvbdmx->dmx.frontend) dvb_bt8xx_start_feed()
99 if (!dvbdmx->dmx.frontend) dvb_bt8xx_stop_feed()
555 * Reset the frontend, must be called before trying digitv_alps_tded4_reset()
557 * will fail. Same goes for the nxt6000 frontend. digitv_alps_tded4_reset()
586 /* Set pin 27 of the lgdt3303 chip high to reset the frontend */ lgdt330x_reset()
629 * It is possible to determine the correct frontend using the I2C bus (see the Nebula SDK); frontend_init()
630 * this would be a cleaner solution than trying each frontend in turn. frontend_init()
669 /* DST is not a frontend driver !!! */ frontend_init()
680 /* DST is not a frontend, attaching the ASIC */ frontend_init()
687 card->fe = &state->frontend; frontend_init()
711 pr_err("A frontend driver was not found for device [%04x:%04x] subsystem [%04x:%04x]\n", frontend_init()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb.h37 * device file: /dev/dvb/adapter[0-1]/frontend[0-2]
53 * fe = pointer to frontend (struct dvb_frontend *)
220 * @frontend_ctrl: called to power on/off active frontend
323 * @fe_init: rerouted frontend-init function
324 * @fe_sleep: rerouted frontend-sleep function
/linux-4.4.14/include/crypto/
H A Dalgapi.h67 const struct crypto_type *frontend; member in struct:crypto_spawn
148 const struct crypto_type *frontend);
167 const struct crypto_type *frontend,
/linux-4.4.14/drivers/media/usb/pwc/
H A Dpwc-uncompress.c2 Decompression frontend.
/linux-4.4.14/include/linux/
H A Dzpool.h6 * This is a common frontend for the zbud and zsmalloc memory
/linux-4.4.14/arch/arm/include/asm/xen/
H A Dpage.h87 /* TODO: this shouldn't be here but it is because the frontend drivers

Completed in 4641 milliseconds

12