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

12

/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-dvb.c179 printk(KERN_ERR "%s() No frontend found\n", __func__); cx88_dvb_bus_ctrl()
217 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) cx88_dvb_gate_ctrl()
218 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); cx88_dvb_gate_ctrl()
620 /* Get the first frontend */ attach_xc3028()
625 if (!fe0->dvb.frontend) { attach_xc3028()
626 printk(KERN_ERR "%s/2: dvb frontend not attached. " attach_xc3028()
639 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); attach_xc3028()
643 dvb_frontend_detach(fe0->dvb.frontend); attach_xc3028()
644 dvb_unregister_frontend(fe0->dvb.frontend); attach_xc3028()
645 fe0->dvb.frontend = NULL; attach_xc3028()
660 /* Get the first frontend */ attach_xc4000()
665 if (!fe0->dvb.frontend) { attach_xc4000()
666 printk(KERN_ERR "%s/2: dvb frontend not attached. " attach_xc4000()
672 fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap, attach_xc4000()
677 dvb_frontend_detach(fe0->dvb.frontend); attach_xc4000()
678 dvb_unregister_frontend(fe0->dvb.frontend); attach_xc4000()
679 fe0->dvb.frontend = NULL; attach_xc4000()
801 printk(KERN_INFO "%s() allocating %d frontend(s)\n", __func__, cx8802_alloc_frontends()
1014 /* Get the first frontend */ dvb_register()
1019 /* multi-frontend gate control is undefined or defaults to fe0 */ dvb_register()
1025 /* init frontend(s) */ dvb_register()
1028 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1031 if (fe0->dvb.frontend != NULL) { dvb_register()
1032 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1042 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1045 if (fe0->dvb.frontend != NULL) { dvb_register()
1046 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1056 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1059 if (fe0->dvb.frontend != NULL) { dvb_register()
1060 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1067 fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1070 if (fe0->dvb.frontend != NULL) { dvb_register()
1071 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1078 /* MFE frontend 1 */ dvb_register()
1082 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1085 if (fe0->dvb.frontend) { dvb_register()
1087 fe0->dvb.frontend, dvb_register()
1092 /* MFE frontend 2 */ dvb_register()
1097 fe1->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1100 if (fe1->dvb.frontend) { dvb_register()
1101 fe1->dvb.frontend->id = 1; dvb_register()
1103 fe1->dvb.frontend, dvb_register()
1110 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1113 if (fe0->dvb.frontend != NULL) { dvb_register()
1114 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1120 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1123 if (fe0->dvb.frontend != NULL) { dvb_register()
1124 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1132 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1135 if (fe0->dvb.frontend != NULL) { dvb_register()
1136 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1142 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1145 if (fe0->dvb.frontend != NULL) { dvb_register()
1146 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1152 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1155 if (fe0->dvb.frontend != NULL) { dvb_register()
1156 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1164 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1167 if (fe0->dvb.frontend != NULL) { dvb_register()
1168 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb_register()
1176 fe0->dvb.frontend = dvb_attach(mt352_attach, &dntv_live_dvbt_pro_config, dvb_register()
1178 if (fe0->dvb.frontend != NULL) { dvb_register()
1179 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1190 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1193 if (fe0->dvb.frontend != NULL) { dvb_register()
1194 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1201 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1204 if (fe0->dvb.frontend == NULL) dvb_register()
1205 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_register()
1213 if (fe0->dvb.frontend) dvb_register()
1214 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1219 fe0->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000, dvb_register()
1221 if (fe0->dvb.frontend != NULL) { dvb_register()
1222 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1239 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1242 if (fe0->dvb.frontend != NULL) { dvb_register()
1243 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1257 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1260 if (fe0->dvb.frontend != NULL) { dvb_register()
1261 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1275 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1278 if (fe0->dvb.frontend != NULL) { dvb_register()
1279 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1283 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, dvb_register()
1296 fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb_register()
1299 if (fe0->dvb.frontend != NULL) { dvb_register()
1300 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1304 if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, dvb_register()
1310 fe0->dvb.frontend = dvb_attach(nxt200x_attach, dvb_register()
1313 if (fe0->dvb.frontend != NULL) { dvb_register()
1314 if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_register()
1322 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1325 if (fe0->dvb.frontend) { dvb_register()
1333 if (!dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb_register()
1340 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1343 if (fe0->dvb.frontend) { dvb_register()
1344 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1345 fe0->dvb.frontend->ops.set_voltage = kworld_dvbs_100_set_voltage; dvb_register()
1349 fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb_register()
1352 if (fe0->dvb.frontend) { dvb_register()
1353 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1354 fe0->dvb.frontend->ops.set_voltage = geniatech_dvbs_set_voltage; dvb_register()
1358 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1361 if (fe0->dvb.frontend != NULL) { dvb_register()
1362 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1369 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1372 if (fe0->dvb.frontend != NULL) { dvb_register()
1385 fe0->dvb.frontend, &cfg); dvb_register()
1392 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1395 if (fe0->dvb.frontend) { dvb_register()
1396 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1403 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1406 if (fe0->dvb.frontend) { dvb_register()
1414 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1422 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1429 fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb_register()
1436 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_register()
1439 if (fe0->dvb.frontend != NULL) { dvb_register()
1440 if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_register()
1447 /* MFE frontend 1 */ dvb_register()
1451 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1454 if (fe0->dvb.frontend) { dvb_register()
1456 fe0->dvb.frontend, dvb_register()
1461 /* MFE frontend 2 */ dvb_register()
1466 fe1->dvb.frontend = dvb_attach(cx22702_attach, dvb_register()
1469 if (fe1->dvb.frontend) { dvb_register()
1470 fe1->dvb.frontend->id = 1; dvb_register()
1472 fe1->dvb.frontend, dvb_register()
1479 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1482 if (fe0->dvb.frontend) { dvb_register()
1484 fe0->dvb.frontend, dvb_register()
1493 fe0->dvb.frontend = dvb_attach(stv0299_attach, dvb_register()
1496 if (fe0->dvb.frontend != NULL) { dvb_register()
1497 if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, dvb_register()
1500 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1501 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb_register()
1504 fe0->dvb.frontend = dvb_attach(stv0288_attach, dvb_register()
1507 if (fe0->dvb.frontend != NULL) { dvb_register()
1508 if (!dvb_attach(stb6000_attach, fe0->dvb.frontend, 0x61, dvb_register()
1511 core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb_register()
1512 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; 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 = tevii_dvbs_set_voltage; dvb_register()
1524 fe0->dvb.frontend = dvb_attach(ds3000_attach, dvb_register()
1527 if (fe0->dvb.frontend != NULL) { dvb_register()
1528 dvb_attach(ts2020_attach, fe0->dvb.frontend, dvb_register()
1530 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1538 fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb_register()
1541 if (fe0->dvb.frontend != NULL) dvb_register()
1542 fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb_register()
1545 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_register()
1548 if (fe0->dvb.frontend) { dvb_register()
1549 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1557 fe0->dvb.frontend = dvb_attach(stv0900_attach, dvb_register()
1560 if (fe0->dvb.frontend != NULL) { dvb_register()
1561 if (!dvb_attach(stb6100_attach, fe0->dvb.frontend, dvb_register()
1566 tuner_ops = &fe0->dvb.frontend->ops.tuner_ops; dvb_register()
1573 fe0->dvb.frontend->ops.set_voltage; dvb_register()
1574 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1589 fe0->dvb.frontend = dvb_attach(stv0299_attach, dvb_register()
1592 if (fe0->dvb.frontend) { dvb_register()
1593 fe0->dvb.frontend->ops.tuner_ops.set_params = dvb_register()
1595 fe0->dvb.frontend->tuner_priv = dvb_register()
1597 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1599 fe0->dvb.frontend->ops.set_tone = dvb_register()
1606 fe0->dvb.frontend = dvb_attach(mb86a16_attach, dvb_register()
1609 if (fe0->dvb.frontend) { dvb_register()
1611 fe0->dvb.frontend->ops.set_voltage; dvb_register()
1612 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1618 printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", dvb_register()
1623 if ( (NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend) ) { dvb_register()
1625 "%s/2: frontend initialization failed\n", dvb_register()
1630 fe0->dvb.frontend->callback = cx88_tuner_callback; dvb_register()
1633 fe0->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; dvb_register()
1635 fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; dvb_register()
1777 printk(KERN_ERR "%s() failed to get frontend(%d)\n", cx8802_dvb_probe()
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c607 /* Get the first frontend */ configure_tda827x_fe()
613 fe0->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, &dev->i2c_adap); configure_tda827x_fe()
614 if (fe0->dvb.frontend) { configure_tda827x_fe()
616 fe0->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; configure_tda827x_fe()
617 if (dvb_attach(tda827x_attach, fe0->dvb.frontend, configure_tda827x_fe()
1221 /* FIXME: add support for multi-frontend */ dvb_init()
1225 printk(KERN_INFO "%s() allocating 1 frontend\n", __func__); dvb_init()
1254 fe0->dvb.frontend = dvb_attach(mt352_attach, &pinnacle_300i, dvb_init()
1256 if (fe0->dvb.frontend) { dvb_init()
1257 fe0->dvb.frontend->ops.tuner_ops.set_params = mt352_pinnacle_tuner_set_params; dvb_init()
1263 fe0->dvb.frontend = dvb_attach(mt352_attach, &avermedia_777, dvb_init()
1265 if (fe0->dvb.frontend) { dvb_init()
1266 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1273 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_init()
1279 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1282 if (fe0->dvb.frontend) { dvb_init()
1283 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1289 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1292 if (fe0->dvb.frontend) { dvb_init()
1293 fe0->dvb.frontend->ops.tuner_ops.init = philips_tu1216_init; dvb_init()
1294 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_tda6651_pll_set; dvb_init()
1306 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1309 if (fe0->dvb.frontend) { dvb_init()
1310 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb_init()
1311 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb_init()
1312 fe0->dvb.frontend->ops.tuner_ops.init = philips_europa_tuner_init; dvb_init()
1313 fe0->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep; dvb_init()
1314 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb_init()
1318 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1321 if (fe0->dvb.frontend) { dvb_init()
1322 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb_init()
1323 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb_init()
1324 fe0->dvb.frontend->ops.tuner_ops.init = philips_europa_tuner_init; dvb_init()
1325 fe0->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep; dvb_init()
1326 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb_init()
1330 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1333 if (fe0->dvb.frontend) { dvb_init()
1334 fe0->dvb.frontend->ops.tuner_ops.init = philips_tu1216_init; dvb_init()
1335 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_tda6651_pll_set; dvb_init()
1344 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_init()
1347 if (fe0->dvb.frontend != NULL) { dvb_init()
1348 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1351 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1372 fe0->dvb.frontend = dvb_attach(lgdt3305_attach, dvb_init()
1375 if (fe0->dvb.frontend) { dvb_init()
1376 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1379 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1400 fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, &dev->i2c_adap); dvb_init()
1401 if (fe0->dvb.frontend) { dvb_init()
1402 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x63, dvb_init()
1407 if (dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb_init()
1418 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1421 if (fe0->dvb.frontend) { dvb_init()
1422 if (dvb_attach(tda827x_attach,fe0->dvb.frontend, dvb_init()
1443 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1445 if (fe0->dvb.frontend) { dvb_init()
1446 struct dvb_frontend *fe = fe0->dvb.frontend; dvb_init()
1451 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, dvb_init()
1485 fe0->dvb.frontend = dvb_attach(nxt200x_attach, &avertvhda180, dvb_init()
1487 if (fe0->dvb.frontend) dvb_init()
1488 dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x61, dvb_init()
1493 fe0->dvb.frontend = dvb_attach(nxt200x_attach, &kworldatsc110, dvb_init()
1495 if (fe0->dvb.frontend) dvb_init()
1496 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1504 fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb_init()
1507 if (fe0->dvb.frontend != NULL) { dvb_init()
1508 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1511 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1517 fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, dvb_init()
1519 if (fe0->dvb.frontend) { dvb_init()
1520 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x60, dvb_init()
1525 if (dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb_init()
1534 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1537 if (fe0->dvb.frontend) { dvb_init()
1538 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb_init()
1539 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb_init()
1541 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1547 fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb_init()
1550 if (fe0->dvb.frontend) { dvb_init()
1551 fe0->dvb.frontend->ops.tuner_ops.init = philips_td1316_tuner_init; dvb_init()
1552 fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb_init()
1591 fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, dvb_init()
1593 if (fe0->dvb.frontend) { dvb_init()
1594 if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x60, dvb_init()
1599 if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb_init()
1621 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_init()
1627 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1629 if (fe0->dvb.frontend) { dvb_init()
1631 if (dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, dvb_init()
1638 fe = fe0->dvb.frontend; dvb_init()
1657 fe0->dvb.frontend = dvb_attach(mt352_attach, dvb_init()
1668 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1670 if (fe0->dvb.frontend) { dvb_init()
1672 fe0->dvb.frontend, 0x60, dvb_init()
1678 if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb_init()
1693 fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb_init()
1695 if (fe0->dvb.frontend) { dvb_init()
1697 fe0->dvb.frontend, 0x60, dvb_init()
1703 if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb_init()
1718 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1721 if (fe0->dvb.frontend) { dvb_init()
1722 dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb_init()
1728 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1731 if (fe0->dvb.frontend) { dvb_init()
1732 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_init()
1737 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1740 if (fe0->dvb.frontend) { dvb_init()
1741 dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb_init()
1748 fe0->dvb.frontend = dvb_attach(mt312_attach, dvb_init()
1750 if (fe0->dvb.frontend) { dvb_init()
1751 if (dvb_attach(zl10036_attach, fe0->dvb.frontend, dvb_init()
1759 fe0->dvb.frontend = dvb_attach(mt312_attach, dvb_init()
1761 if (fe0->dvb.frontend) dvb_init()
1762 if (dvb_attach(zl10039_attach, fe0->dvb.frontend, dvb_init()
1769 fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb_init()
1772 if (fe0->dvb.frontend != NULL) { dvb_init()
1774 fe0->dvb.frontend, dvb_init()
1781 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_init()
1784 if (fe0->dvb.frontend != NULL) { dvb_init()
1785 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1788 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1794 fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb_init()
1797 if (fe0->dvb.frontend != NULL) { dvb_init()
1798 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1801 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1810 fe0->dvb.frontend = dvb_attach(mb86a20s_attach, dvb_init()
1813 if (fe0->dvb.frontend != NULL) { dvb_init()
1814 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1817 fe0->dvb.frontend->ops.i2c_gate_ctrl = kworld_sbtvd_gate_ctrl; dvb_init()
1818 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1826 fe0->dvb.frontend = dvb_attach(lgs8gxx_attach, dvb_init()
1829 if (fe0->dvb.frontend != NULL) { dvb_init()
1830 dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb_init()
1833 dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb_init()
1847 fe0->dvb.frontend = dvb_attach(mt312_attach, dvb_init()
1849 if (fe0->dvb.frontend) { dvb_init()
1850 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_init()
1851 if (dvb_attach(zl10039_attach, fe0->dvb.frontend, dvb_init()
1869 if (!fe0->dvb.frontend) dvb_init()
1872 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); dvb_init()
1880 if (NULL == fe0->dvb.frontend) { dvb_init()
1881 printk(KERN_ERR "%s/dvb: frontend initialization failed\n", dev->name); dvb_init()
1885 fe0->dvb.frontend->callback = saa7134_tuner_callback; dvb_init()
1895 if (fe0->dvb.frontend->ops.init) dvb_init()
1896 fe0->dvb.frontend->ops.init(fe0->dvb.frontend); dvb_init()
1897 if (fe0->dvb.frontend->ops.sleep) dvb_init()
1898 fe0->dvb.frontend->ops.sleep(fe0->dvb.frontend); dvb_init()
1899 if (fe0->dvb.frontend->ops.tuner_ops.sleep) dvb_init()
1900 fe0->dvb.frontend->ops.tuner_ops.sleep(fe0->dvb.frontend); dvb_init()
1914 /* Get the first frontend */ dvb_fini()
1938 fe = fe0->dvb.frontend; dvb_fini()
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcx23885-dvb.c151 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) cx23885_dvb_gate_ctrl()
152 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); cx23885_dvb_gate_ctrl()
612 /* call the frontend set_voltage function */ dvbsky_t9580_set_voltage()
640 /* 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()
1806 fe0->dvb.frontend = dvb_attach(tda10071_attach, dvb_register()
1809 if (fe0->dvb.frontend == NULL) dvb_register()
1811 if (!dvb_attach(a8293_attach, fe0->dvb.frontend, dvb_register()
1818 fe0->dvb.frontend = dvb_attach(si2165_attach, dvb_register()
1821 if (fe0->dvb.frontend == NULL) dvb_register()
1823 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb_register()
1825 fe0->dvb.frontend, dvb_register()
1834 fe0->dvb.frontend = dvb_attach(tda10071_attach, dvb_register()
1837 if (fe0->dvb.frontend != NULL) { dvb_register()
1838 dvb_attach(a8293_attach, fe0->dvb.frontend, dvb_register()
1850 /* attach frontend */ dvb_register()
1851 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
1854 if (fe0->dvb.frontend == NULL) dvb_register()
1859 ts2020_config.fe = fe0->dvb.frontend; dvb_register()
1875 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
1876 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
1883 fe0->dvb.frontend->ops.set_voltage; dvb_register()
1884 fe0->dvb.frontend->ops.set_voltage = dvb_register()
1892 /* attach frontend */ dvb_register()
1895 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
1914 si2157_config.fe = fe0->dvb.frontend; dvb_register()
1938 /* attach frontend */ dvb_register()
1941 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
1959 si2157_config.fe = fe0->dvb.frontend; dvb_register()
1979 /* attach frontend */ dvb_register()
1980 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
1983 if (fe0->dvb.frontend == NULL) dvb_register()
1988 ts2020_config.fe = fe0->dvb.frontend; dvb_register()
2003 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
2004 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
2024 /* attach frontend */ dvb_register()
2025 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
2028 if (fe0->dvb.frontend == NULL) dvb_register()
2033 ts2020_config.fe = fe0->dvb.frontend; dvb_register()
2048 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
2049 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
2056 fe0->dvb.frontend->ops.set_voltage; dvb_register()
2057 fe0->dvb.frontend->ops.set_voltage = p_set_voltage; dvb_register()
2076 /* attach frontend */ dvb_register()
2078 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
2095 si2157_config.fe = fe0->dvb.frontend; dvb_register()
2117 /* attach frontend */ dvb_register()
2118 fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb_register()
2121 if (fe0->dvb.frontend == NULL) dvb_register()
2125 if (!dvb_attach(a8293_attach, fe0->dvb.frontend, dvb_register()
2132 m88rs6000t_config.fe = fe0->dvb.frontend; dvb_register()
2148 fe0->dvb.frontend->ops.read_signal_strength = dvb_register()
2149 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb_register()
2153 /* attach frontend */ dvb_register()
2156 si2168_config.fe = &fe0->dvb.frontend; dvb_register()
2174 si2157_config.fe = fe0->dvb.frontend; dvb_register()
2199 printk(KERN_INFO "%s: The frontend of your DVB/ATSC card " dvb_register()
2205 if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) { dvb_register()
2206 printk(KERN_ERR "%s: frontend initialization failed\n", dvb_register()
2212 fe0->dvb.frontend->callback = cx23885_tuner_callback; dvb_register()
2214 fe1->dvb.frontend->callback = cx23885_tuner_callback; dvb_register()
2217 fe0->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl; dvb_register()
2219 fe1->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl; dvb_register()
2225 if (fe0->dvb.frontend->ops.analog_ops.standby) dvb_register()
2226 fe0->dvb.frontend->ops.analog_ops.standby(fe0->dvb.frontend); dvb_register()
2272 * code then the second frontend would never be allocated (later) cx23885_dvb_register()
2276 * future addition of any multi-frontend cx23885 based boards. cx23885_dvb_register()
2278 printk(KERN_INFO "%s() allocating %d frontend(s)\n", __func__, cx23885_dvb_register()
2304 /* We have to init the queue for each frontend on a port. */ cx23885_dvb_register()
2358 if (fe0 && fe0->dvb.frontend) cx23885_dvb_unregister()
/linux-4.1.27/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()
810 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
817 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
835 dev->dvb->frontend = dvb_attach(lgdt3306a_attach, dvb_init()
840 if (dev->dvb->frontend == NULL) { dvb_init()
842 "Failed to attach LGDT3306A frontend.\n"); dvb_init()
847 dev->dvb->frontend->ops.i2c_gate_ctrl = NULL; dvb_init()
850 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
854 si2157_config.fe = dev->dvb->frontend; dvb_init()
865 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
872 dvb_frontend_detach(dev->dvb->frontend); dvb_init()
889 dev->dvb->frontend = dvb_attach(mb86a20s_attach, dvb_init()
893 if (dev->dvb->frontend == NULL) { dvb_init()
901 dvb->frontend->callback = cx231xx_tuner_callback; dvb_init()
903 dvb_attach(tda18271_attach, dev->dvb->frontend, dvb_init()
910 "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", dvb_init()
914 if (NULL == dvb->frontend) { dvb_init()
916 "%s/2: frontend initialization failed\n", dev->name); dvb_init()
/linux-4.1.27/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.1.27/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.1.27/drivers/media/dvb-frontends/
H A Ddvb_dummy_fe.c32 struct dvb_frontend frontend; member in struct:dvb_dummy_fe_state
128 memcpy(&state->frontend.ops, &dvb_dummy_fe_ofdm_ops, sizeof(struct dvb_frontend_ops)); dvb_dummy_fe_ofdm_attach()
129 state->frontend.demodulator_priv = state; dvb_dummy_fe_ofdm_attach()
130 return &state->frontend; dvb_dummy_fe_ofdm_attach()
145 memcpy(&state->frontend.ops, &dvb_dummy_fe_qpsk_ops, sizeof(struct dvb_frontend_ops)); dvb_dummy_fe_qpsk_attach()
146 state->frontend.demodulator_priv = state; dvb_dummy_fe_qpsk_attach()
147 return &state->frontend; dvb_dummy_fe_qpsk_attach()
162 memcpy(&state->frontend.ops, &dvb_dummy_fe_qam_ops, sizeof(struct dvb_frontend_ops)); dvb_dummy_fe_qam_attach()
163 state->frontend.demodulator_priv = state; dvb_dummy_fe_qam_attach()
164 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 Dtda8083.h8 adoption to the new DVB frontend API and diagnostic ioctl's
30 #include <linux/dvb/frontend.h>
H A Dts2020.h26 #include <linux/dvb/frontend.h>
52 * pointer to 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()
474 state->frontend.dvb->num, afc, tda10023_get_frontend()
540 memcpy(&state->frontend.ops, &tda10023_ops, sizeof(struct dvb_frontend_ops)); tda10023_attach()
560 state->frontend.ops.info.symbol_rate_min = (state->sysclk/2)/64; tda10023_attach()
561 state->frontend.ops.info.symbol_rate_max = (state->sysclk/2)/4; tda10023_attach()
567 state->frontend.demodulator_priv = state; tda10023_attach()
568 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 Dtda8083.c8 adoption to the new DVB frontend API and diagnostic ioctl's
41 struct dvb_frontend frontend; member in struct:tda8083_state
264 if (sync & 0x20) /* frontend can not lock */ tda8083_read_status()
433 memcpy(&state->frontend.ops, &tda8083_ops, sizeof(struct dvb_frontend_ops)); tda8083_attach()
434 state->frontend.demodulator_priv = state; tda8083_attach()
435 return &state->frontend; tda8083_attach()
481 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).");
488 memcpy(&priv->frontend.ops, &atbm8830_ops, atbm8830_attach()
490 priv->frontend.demodulator_priv = priv; atbm8830_attach()
492 atbm8830_init(&priv->frontend); atbm8830_attach()
494 atbm8830_i2c_gate_ctrl(&priv->frontend, 1); atbm8830_attach()
496 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
397 memcpy(&state->frontend.ops, &ves1820_ops, sizeof(struct dvb_frontend_ops)); ves1820_attach()
398 state->frontend.ops.info.symbol_rate_min = (state->config->xin / 2) / 64; /* SACLK/64 == (XIN/2)/64 */ ves1820_attach()
399 state->frontend.ops.info.symbol_rate_max = (state->config->xin / 2) / 4; /* SACLK/4 */ ves1820_attach()
400 state->frontend.demodulator_priv = state; ves1820_attach()
402 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 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 Dcx24123.h25 #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 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 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
467 The firmware of the sp8870 sometimes locks up after setting frontend parameters. sp8870_set_frontend()
470 the frontend parameters again. sp8870_set_frontend()
573 memcpy(&state->frontend.ops, &sp8870_ops, sizeof(struct dvb_frontend_ops)); sp8870_attach()
574 state->frontend.demodulator_priv = state; sp8870_attach()
575 return &state->frontend; sp8870_attach()
613 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dcx22700.c38 struct dvb_frontend frontend; member in struct:cx22700_state
401 memcpy(&state->frontend.ops, &cx22700_ops, sizeof(struct dvb_frontend_ops)); cx22700_attach()
402 state->frontend.demodulator_priv = state; cx22700_attach()
403 return &state->frontend; cx22700_attach()
440 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()
402 state->frontend.dvb->num, afc, tda10021_get_frontend()
477 memcpy(&state->frontend.ops, &tda10021_ops, sizeof(struct dvb_frontend_ops)); tda10021_attach()
478 state->frontend.demodulator_priv = state; tda10021_attach()
479 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 Dmt312.c46 struct dvb_frontend frontend; member in struct:mt312_state
806 memcpy(&state->frontend.ops, &mt312_ops, mt312_attach()
808 state->frontend.demodulator_priv = state; mt312_attach()
812 strcpy(state->frontend.ops.info.name, "Zarlink VP310 DVB-S"); mt312_attach()
817 strcpy(state->frontend.ops.info.name, "Zarlink MT312 DVB-S"); mt312_attach()
822 strcpy(state->frontend.ops.info.name, "Zarlink ZL10313 DVB-S"); mt312_attach()
832 return &state->frontend; mt312_attach()
841 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 Dtda10071.h25 #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
566 memcpy(&state->frontend.ops, &nxt6000_ops, sizeof(struct dvb_frontend_ops)); nxt6000_attach()
567 state->frontend.demodulator_priv = state; nxt6000_attach()
568 return &state->frontend; nxt6000_attach()
610 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
604 memcpy(&state->frontend.ops, &stv0288_ops, stv0288_attach()
606 state->frontend.demodulator_priv = state; stv0288_attach()
607 return &state->frontend; stv0288_attach()
621 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>
1485 stb0899_i2c_gate_ctrl(&state->frontend, 1); stb0899_search()
1493 stb0899_i2c_gate_ctrl(&state->frontend, 0); stb0899_search()
1524 stb0899_i2c_gate_ctrl(&state->frontend, 1); stb0899_search()
1532 stb0899_i2c_gate_ctrl(&state->frontend, 0); stb0899_search()
1640 state->frontend.ops = stb0899_ops; stb0899_attach()
1641 state->frontend.demodulator_priv = state; stb0899_attach()
1645 stb0899_wakeup(&state->frontend); stb0899_attach()
1652 return &state->frontend; stb0899_attach()
1661 MODULE_DESCRIPTION("STB0899 Multi-Std frontend");
H A Dcx24110.c40 struct dvb_frontend frontend; member in struct:cx24110_state
487 /* 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()
614 memcpy(&state->frontend.ops, &cx24110_ops, sizeof(struct dvb_frontend_ops)); cx24110_attach()
615 state->frontend.demodulator_priv = state; cx24110_attach()
616 return &state->frontend; cx24110_attach()
658 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
750 memcpy(&state->frontend.ops, &lgdt3302_ops, sizeof(struct dvb_frontend_ops)); lgdt330x_attach()
753 memcpy(&state->frontend.ops, &lgdt3303_ops, sizeof(struct dvb_frontend_ops)); lgdt330x_attach()
758 state->frontend.demodulator_priv = state; lgdt330x_attach()
767 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 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.c138 /* override frontend ops */ lnbp22_attach()
H A Dm88ds3103.h20 #include <linux/dvb/frontend.h>
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
681 memcpy(&state->frontend.ops, &stv0297_ops, sizeof(struct dvb_frontend_ops)); stv0297_attach()
682 state->frontend.demodulator_priv = state; stv0297_attach()
683 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
503 memcpy(&state->frontend.ops, &ves1x93_ops, sizeof(struct dvb_frontend_ops)); ves1x93_attach()
504 state->frontend.demodulator_priv = state; ves1x93_attach()
505 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()
H A Dix2505v.c22 #include <linux/dvb/frontend.h>
322 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dzl10039.c26 #include <linux/dvb/frontend.h>
314 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dlgs8gxx.c46 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
571 /* LGS8913 demod frontend functions */
1055 memcpy(&priv->frontend.ops, &lgs8gxx_ops, lgs8gxx_attach()
1057 priv->frontend.demodulator_priv = priv; lgs8gxx_attach()
1062 return &priv->frontend; lgs8gxx_attach()
H A Dm88rs2000.c40 struct dvb_frontend frontend; member in struct:m88rs2000_state
446 /* Setup frontend from shutdown/cold */ m88rs2000_init()
806 memcpy(&state->frontend.ops, &m88rs2000_ops, m88rs2000_attach()
808 state->frontend.demodulator_priv = state; m88rs2000_attach()
809 return &state->frontend; m88rs2000_attach()
H A Dsi21xx.c142 struct dvb_frontend frontend; member in struct:si21xx_state
938 memcpy(&state->frontend.ops, &si21xx_ops, si21xx_attach()
940 state->frontend.demodulator_priv = state; si21xx_attach()
941 return &state->frontend; si21xx_attach()
950 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dstv0299.c59 struct dvb_frontend frontend; member in struct:stv0299_state
701 memcpy(&state->frontend.ops, &stv0299_ops, sizeof(struct dvb_frontend_ops)); stv0299_attach()
702 state->frontend.demodulator_priv = state; stv0299_attach()
703 return &state->frontend; stv0299_attach()
755 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dtda10086.c38 struct dvb_frontend frontend; member in struct:tda10086_state
765 memcpy(&state->frontend.ops, &tda10086_ops, sizeof(struct dvb_frontend_ops)); tda10086_attach()
766 state->frontend.demodulator_priv = state; tda10086_attach()
767 return &state->frontend; tda10086_attach()
771 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
H A Dmb86a20s.c42 struct dvb_frontend frontend; member in struct:mb86a20s_state
643 /* Reset frontend cache to default values */ mb86a20s_get_frontend()
883 * As we get TMCC data from the frontend, we can better estimate the mb86a20s_get_pre_ber()
1010 * As we get TMCC data from the frontend, we can better estimate the mb86a20s_get_post_ber()
1140 * As we get TMCC data from the frontend, we can better estimate the mb86a20s_get_blk_error()
1776 /* Initialize the frontend */ mb86a20s_initfe()
1933 * HACK: Always init the frontend when set_frontend is called: mb86a20s_set_frontend()
1972 "%s: Can't read frontend lock status\n", __func__); mb86a20s_read_status_and_stats()
2093 memcpy(&state->frontend.ops, &mb86a20s_ops, mb86a20s_attach()
2095 state->frontend.demodulator_priv = state; mb86a20s_attach()
2097 /* Check if it is a mb86a20s frontend */ mb86a20s_attach()
2102 "Detected a Fujitsu mb86a20s frontend\n"); mb86a20s_attach()
2110 return &state->frontend; mb86a20s_attach()
H A Dlg2160.c23 #include <linux/dvb/frontend.h>
57 struct dvb_frontend frontend; member in struct:lg216x_state
1437 memcpy(&state->frontend.ops, &lg2160_ops, lg2160_attach()
1441 memcpy(&state->frontend.ops, &lg2161_ops, lg2160_attach()
1446 state->frontend.demodulator_priv = state; lg2160_attach()
1449 state->frontend.dtv_property_cache.atscmh_parade_id = 1; lg2160_attach()
1451 return &state->frontend; lg2160_attach()
H A Dtda1004x.c1312 memcpy(&state->frontend.ops, &tda10045_ops, sizeof(struct dvb_frontend_ops)); tda10045_attach()
1313 state->frontend.demodulator_priv = state; tda10045_attach()
1314 return &state->frontend; tda10045_attach()
1381 memcpy(&state->frontend.ops, &tda10046_ops, sizeof(struct dvb_frontend_ops)); tda10046_attach()
1382 state->frontend.demodulator_priv = state; tda10046_attach()
1383 return &state->frontend; tda10046_attach()
1387 MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164-dvb.c242 if (!demux->dmx.frontend) saa7164_dvb_start_feed()
344 /* register frontend */ dvb_register()
345 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); dvb_register()
414 dvb_unregister_frontend(dvb->frontend); dvb_register()
416 dvb_frontend_detach(dvb->frontend); dvb_register()
443 if (dvb->frontend == NULL) saa7164_dvb_unregister()
451 dvb_unregister_frontend(dvb->frontend); saa7164_dvb_unregister()
452 dvb_frontend_detach(dvb->frontend); saa7164_dvb_unregister()
469 /* init frontend */ saa7164_dvb_register()
479 port->dvb.frontend = dvb_attach(tda10048_attach, saa7164_dvb_register()
483 if (port->dvb.frontend != NULL) { saa7164_dvb_register()
485 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
492 port->dvb.frontend = dvb_attach(tda10048_attach, saa7164_dvb_register()
496 if (port->dvb.frontend != NULL) { saa7164_dvb_register()
498 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
511 port->dvb.frontend = dvb_attach(s5h1411_attach, saa7164_dvb_register()
515 if (port->dvb.frontend != NULL) { saa7164_dvb_register()
519 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
524 dvb_attach(tda18271_attach, port->dvb.frontend, saa7164_dvb_register()
532 printk(KERN_ERR "%s: The frontend isn't supported\n", saa7164_dvb_register()
536 if (NULL == dvb->frontend) { saa7164_dvb_register()
545 if (dvb->frontend->ops.release) saa7164_dvb_register()
546 dvb->frontend->ops.release(dvb->frontend); saa7164_dvb_register()
/linux-4.1.27/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.h14 struct dvb_frontend *frontend; member in struct:vb2_dvb
39 int active_fe_id; /* Indicates which frontend in the felist is in use */
/linux-4.1.27/drivers/char/agp/
H A DMakefile1 agpgart-y := backend.o frontend.o generic.o isoch.o
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/media/tuners/
H A Dm88rs6000t.h24 * pointer to DVB frontend
H A Dsi2157.h29 * frontend
H A Dqt1010.h32 * Attach a qt1010 tuner to the supplied frontend structure.
34 * @param fe frontend to attach to
H A De4000.h33 * frontend
H A Dtda18212.h40 * pointer to 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.1.27/drivers/staging/rtl8192u/
H A Dr8190_rtl8256.h7 radio frontend.
/linux-4.1.27/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.h95 const struct crypto_type *frontend);
97 const struct crypto_type *frontend,
100 const struct crypto_type *frontend, u32 type, u32 mask);
H A Dalgapi.c602 const struct crypto_type *frontend) crypto_init_spawn2()
606 if ((alg->cra_flags ^ frontend->type) & frontend->maskset) crypto_init_spawn2()
609 spawn->frontend = frontend; crypto_init_spawn2()
610 err = crypto_init_spawn(spawn, alg, inst, frontend->maskset); crypto_init_spawn2()
684 tfm = crypto_create_tfm(alg, spawn->frontend); crypto_spawn_tfm2()
760 const struct crypto_type *frontend, crypto_attr_alg2()
769 return crypto_find_alg(name, frontend, type, mask); crypto_attr_alg2()
600 crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg, struct crypto_instance *inst, const struct crypto_type *frontend) crypto_init_spawn2() argument
759 crypto_attr_alg2(struct rtattr *rta, const struct crypto_type *frontend, u32 type, u32 mask) crypto_attr_alg2() argument
/linux-4.1.27/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.1.27/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.1.27/drivers/media/usb/dvb-usb/
H A Ddtt200u-fe.c20 struct dvb_frontend frontend; member in struct:dtt200u_fe_state
167 deb_info("attaching frontend dtt200u\n"); dtt200u_fe_attach()
171 memcpy(&state->frontend.ops,&dtt200u_fe_ops,sizeof(struct dvb_frontend_ops)); dtt200u_fe_attach()
172 state->frontend.demodulator_priv = state; dtt200u_fe_attach()
174 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()
427 state->frontend.ops = jdvbt90502_ops; jdvbt90502_attach()
428 state->frontend.demodulator_priv = state; jdvbt90502_attach()
430 if (jdvbt90502_init(&state->frontend) < 0) jdvbt90502_attach()
433 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.
164 deb_fe("setting frontend to: %u -> %u (%x) LNB-based GHz, symbolrate: %d -> %lu (%lx)\n", vp702x_fe_set_frontend()
348 .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.1.27/drivers/media/dvb-core/
H A Ddvb_frontend.h41 #include <linux/dvb/frontend.h>
46 * Maximum number of Delivery systems per frontend. It
139 * algorithms in the frontend driver, rather than simply doing a
169 * The frontend search algorithm completed and returned successfully
172 * The frontend search algorithm is sleeping
175 * The frontend search for a signal failed
178 * The frontend search algorith was probably supplied with invalid
182 * The frontend search algorithm failed due to some error
185 * The frontend search algorithm was requested to search again
283 /* get frontend tuning algorithm from the module */
H A Ddemux.h207 struct dmx_frontend* frontend; /* Front-end connected to the demux */ member in struct:dmx_demux
223 struct dmx_frontend* frontend);
225 struct dmx_frontend* frontend);
228 struct dmx_frontend* frontend);
H A Ddvb_frontend.c2 * dvb_frontend.c: DVB frontend tuning interface/thread
57 MODULE_PARM_DESC(frontend_debug, "Turn on/off frontend core debugging (default:off).");
67 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()
284 "%s: initialising adapter %i frontend %i (%s)...\n", dvb_frontend_init()
326 * Performs automatic twiddling of frontend parameters.
328 * @param fe The frontend concerned.
410 /* set the frontend itself */ dvb_frontend_swzigzag_autotune()
444 /* in SCAN mode, we just set the frontend when asked and leave it alone */ dvb_frontend_swzigzag()
461 /* get the frontend status */ dvb_frontend_swzigzag()
501 * the frontend is set to FE_CAN_RECOVER, and the max_drift is 0 */ dvb_frontend_swzigzag()
547 * FE_SET_FRONTEND ioctl before the first frontend tune dvb_frontend_swzigzag()
604 * frontend. It has two different behaviors:
610 * the same frontend, it will print an error message and return -EINVAL.
613 * or 0 if everything is OK, if no tuner is linked to the frontend or if the
648 * If a frontend has more than one tuner linked, it is up to the driver dvb_enable_media_tuner()
649 * to select with one will be the active one, as the frontend core can't dvb_enable_media_tuner()
987 dev_warn(fe->dvb->device, "DVB: adapter %i frontend %u frequency limits undefined - fix the driver\n", dvb_frontend_get_frequency_limits()
1001 dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i frequency %u out of range (%u..%u)\n", dvb_frontend_check_parameters()
1018 dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i symbol rate %u out of range (%u..%u)\n", dvb_frontend_check_parameters()
1291 /* Ensure the cached values are set correctly in the frontend
1608 /* Allow the frontend to override outgoing properties */ dtv_property_process_get()
1634 * @fe: struct frontend;
1639 * using a DVB-S2 only frontend just like it were a DVB-S, if the frontent
1681 * @fe: frontend struct
1774 * @fe: frontend struct
1849 /* Allow the frontend to validate incoming properties */ dtv_property_process_set()
1859 * Reset a cache of data specific to the frontend here. This does dtv_property_process_set()
1865 /* interpret the cache of data, build either a traditional frontend dtv_property_process_set()
2121 * the data retrieved from get_frontend, if the frontend dvb_frontend_ioctl_properties()
2162 * the user. FE_SET_FRONTEND triggers an initial frontend event dtv_set_frontend()
2232 /* get frontend-specific tuning settings */ dtv_set_frontend()
2262 * defined by the frontend, why not use it??? dtv_set_frontend()
2308 * It should be noticed that, on multi-frontend devices with dvb_frontend_ioctl_legacy()
2612 frontend thread already exists then the dvb_init() routine dvb_frontend_open()
2765 "DVB: registering adapter %i frontend %i (%s)...\n", dvb_register_frontend()
H A Ddvb_demux.c1158 if ((!demux->frontend) || (demux->frontend->source != DMX_MEMORY_FE)) dvbdmx_write()
1178 struct dmx_frontend *frontend) dvbdmx_add_frontend()
1183 list_add(&(frontend->connectivity_list), head); dvbdmx_add_frontend()
1189 struct dmx_frontend *frontend) dvbdmx_remove_frontend()
1195 if (DMX_FE_ENTRY(pos) == frontend) { list_for_each_safe()
1215 struct dmx_frontend *frontend) dvbdmx_connect_frontend()
1219 if (demux->frontend) dvbdmx_connect_frontend()
1224 demux->frontend = frontend; dvbdmx_connect_frontend()
1235 demux->frontend = NULL; dvbdmx_disconnect_frontend()
1298 dmx->frontend = NULL; dvb_dmx_init()
1177 dvbdmx_add_frontend(struct dmx_demux *demux, struct dmx_frontend *frontend) dvbdmx_add_frontend() argument
1188 dvbdmx_remove_frontend(struct dmx_demux *demux, struct dmx_frontend *frontend) dvbdmx_remove_frontend() argument
1214 dvbdmx_connect_frontend(struct dmx_demux *demux, struct dmx_frontend *frontend) dvbdmx_connect_frontend() argument
/linux-4.1.27/drivers/media/usb/ttusb-dec/
H A Dttusbdecfe.c34 struct dvb_frontend frontend; member in struct:ttusbdecfe_state
221 memcpy(&state->frontend.ops, &ttusbdecfe_dvbt_ops, sizeof(struct dvb_frontend_ops)); ttusbdecfe_dvbt_attach()
222 state->frontend.demodulator_priv = state; ttusbdecfe_dvbt_attach()
223 return &state->frontend; ttusbdecfe_dvbt_attach()
243 memcpy(&state->frontend.ops, &ttusbdecfe_dvbs_ops, sizeof(struct dvb_frontend_ops)); ttusbdecfe_dvbs_attach()
244 state->frontend.demodulator_priv = state; ttusbdecfe_dvbs_attach()
245 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
1059 if (!dvbdmx->dmx.frontend) ttusb_dec_start_feed()
1488 dec->frontend.source = DMX_FRONTEND_0; ttusb_dec_init_dvb()
1491 &dec->frontend)) < 0) { ttusb_dec_init_dvb()
1503 &dec->frontend)) < 0) { ttusb_dec_init_dvb()
1507 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); ttusb_dec_init_dvb()
1526 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); ttusb_dec_exit_dvb()
1677 printk("dvb-ttusb-dec: A frontend driver was not found for device [%04x:%04x]\n", ttusb_dec_probe()
/linux-4.1.27/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.1.27/include/uapi/linux/dvb/
H A Dfrontend.h2 * frontend.h
65 FE_CAN_MULTISTREAM = 0x4000000, /* frontend supports multistream filtering */
66 FE_CAN_TURBO_FEC = 0x8000000, /* frontend supports "turbo fec modulation" */
67 FE_CAN_2G_MODULATION = 0x10000000, /* frontend supports "2nd generation modulation" (DVB-S2) */
68 FE_NEEDS_BENDING = 0x20000000, /* not supported anymore, don't use (frontend requires frequency bending) */
69 FE_CAN_RECOVER = 0x40000000, /* frontend can recover from a cable unplug automatically */
70 FE_CAN_MUTE_TS = 0x80000000 /* frontend can stop spurious TS data output */
126 * enum fe_status - enumerates the possible frontend status
133 * @FE_REINIT: frontend was reinitialized, application is recommended
562 * status, and hence no frontend events will be generated. If a frontend device
/linux-4.1.27/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) \
78 $(shell perl -ne 'print "$$1 " if /^}\s+([a-z0-9_]+_t)/' $(srctree)/include/uapi/linux/dvb/frontend.h)
85 $(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/frontend.h) \
97 $(shell perl -ne 'print "$$1 " if (!/dtv\_cmds\_h/ && /^struct\s+([^\s]+)\s+/)' $(srctree)/include/uapi/linux/dvb/frontend.h) \
252 $(MEDIA_OBJ_DIR)/frontend.h.xml: $(srctree)/include/uapi/linux/dvb/frontend.h $(MEDIA_OBJ_DIR)/v4l2.xml
/linux-4.1.27/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.1.27/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.1.27/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"\
113 "Attaching to frontend resources - gnt_ref=%d evtchn=%d\n", xen_pcibk_do_attach()
154 /* Wait for frontend to state that it has published the configuration */ xen_pcibk_attach()
159 dev_dbg(&pdev->xdev->dev, "Reading frontend config\n"); xen_pcibk_attach()
168 "Error reading configuration from frontend"); xen_pcibk_attach()
443 "buses for frontend"); xen_pcibk_reconfigure()
550 dev_dbg(&xdev->dev, "frontend is gone! unregister device\n"); xen_pcibk_frontend_changed()
639 "for frontend"); xen_pcibk_setup_backend()
/linux-4.1.27/drivers/media/usb/as102/
H A Das102_drv.c186 /* Set frontend arguments */ as102_set_tune()
334 /* Attach the frontend */ as102_dvb_register()
380 /* unregister as102 frontend */ as102_dvb_unregister()
383 /* detach frontend */ as102_dvb_unregister()
/linux-4.1.27/drivers/block/zram/
H A Dzcomp.h42 /* dynamic per-device compression frontend */
/linux-4.1.27/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.1.27/drivers/block/xen-blkback/
H A Dcommon.h49 * requests. This value will also be passed to the frontend.
105 * feature-max-indirect-segments entry), so the frontend knows how
169 * feature-max-indirect-segments entry), so the frontend knows how
212 * Default protocol if the frontend doesn't specify one.
437 * ID so failure can be reported to the frontend. blkif_get_x86_32_req()
485 * ID so failure can be reported to the frontend. blkif_get_x86_64_req()
/linux-4.1.27/drivers/media/common/b2c2/
H A Dflexcop-fe-tuner.c3 * flexcop-fe-tuner.c - methods for frontend attachment and DiSEqC controlling
614 /* Reset for next frontend to try */ cablestar2_attach()
637 /* try to figure out the frontend */ flexcop_frontend_init()
649 /* Clean up partially attached frontend */ flexcop_frontend_init()
656 err("no frontend driver found for this B2C2/FlexCop adapter"); flexcop_frontend_init()
662 err("frontend registration failed!"); flexcop_frontend_init()
/linux-4.1.27/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.1.27/include/crypto/
H A Dalgapi.h64 const struct crypto_type *frontend; member in struct:crypto_spawn
146 const struct crypto_type *frontend);
163 const struct crypto_type *frontend,
/linux-4.1.27/drivers/media/usb/pwc/
H A Dpwc-uncompress.c2 Decompression frontend.
/linux-4.1.27/include/linux/
H A Dzpool.h6 * This is a common frontend for the zbud and zsmalloc memory
/linux-4.1.27/arch/arm/include/asm/xen/
H A Dpage.h80 /* TODO: this shouldn't be here but it is because the frontend drivers
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dbudget.c131 * 22 kHz tone and DiSEqC are handled by the frontend.
753 printk("budget: A frontend driver was not found for device [%04x:%04x] subsystem [%04x:%04x]\n", frontend_init()
826 MAKE_BUDGET_INFO(fsacs0, "Fujitsu Siemens Activy Budget-S PCI (rev GR/grundig frontend)", BUDGET_FS_ACTIVY);
827 MAKE_BUDGET_INFO(fsacs1, "Fujitsu Siemens Activy Budget-S PCI (rev AL/alps frontend)", BUDGET_FS_ACTIVY);
828 MAKE_BUDGET_INFO(fsact, "Fujitsu Siemens Activy Budget-T PCI (rev GR/Grundig frontend)", BUDGET_FS_ACTIVY);
/linux-4.1.27/drivers/media/pci/zoran/
H A Dvideocodec.h165 #define CODEC_FLAG_VFE 0x00002000L // has direct video frontend
194 #define CODEC_S_VFE 0x0002 /* additional video frontend setup */
285 // setup picture size and norm (for the codec's video frontend)
/linux-4.1.27/arch/x86/pci/
H A Dxen.c199 dev_err(&dev->dev, "Xen PCI frontend has not registered MSI/MSI-X support!\n"); xen_setup_msi_irqs()
265 "Xen PCI frontend has not registered MSI/MSI-X support!\n"); xen_hvm_setup_msi_irqs()
411 printk(KERN_INFO "PCI: setting up Xen PCI frontend stub\n"); pci_xen_init()
/linux-4.1.27/scripts/
H A Ddocproc.c4 * docproc is used for documentation-frontend and
10 * documentation-frontend
100 fprintf(stderr, "doc: frontend when generating kernel documentation\n"); usage()

Completed in 6256 milliseconds

12