Lines Matching refs:frontend

146 	if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl)
147 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open);
631 /* call the frontend set_voltage function */
659 /* call the frontend set_voltage function */
1209 /* Get the first frontend */
1217 /* multi-frontend gate control is undefined or defaults to fe0 */
1223 /* init frontend */
1227 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1230 if (fe0->dvb.frontend == NULL)
1232 dvb_attach(mt2131_attach, fe0->dvb.frontend,
1239 fe0->dvb.frontend = dvb_attach(lgdt3305_attach,
1242 if (fe0->dvb.frontend == NULL)
1244 dvb_attach(tda18271_attach, fe0->dvb.frontend,
1248 cx23885_set_frontend_hook(port, fe0->dvb.frontend);
1253 fe0->dvb.frontend = dvb_attach(s5h1411_attach,
1256 if (fe0->dvb.frontend == NULL)
1259 dvb_attach(tda18271_attach, fe0->dvb.frontend,
1272 fe0->dvb.frontend =
1276 if (fe0->dvb.frontend == NULL)
1279 dvb_attach(tda829x_attach, fe0->dvb.frontend,
1282 dvb_attach(tda18271_attach, fe0->dvb.frontend,
1288 fe0->dvb.frontend =
1292 if (fe0->dvb.frontend == NULL)
1294 dvb_attach(mt2131_attach, fe0->dvb.frontend,
1301 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1304 if (fe0->dvb.frontend == NULL)
1306 dvb_attach(mt2131_attach, fe0->dvb.frontend,
1312 fe0->dvb.frontend = dvb_attach(lgdt330x_attach,
1316 if (fe0->dvb.frontend == NULL)
1318 dvb_attach(simple_tuner_attach, fe0->dvb.frontend,
1324 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1327 if (fe0->dvb.frontend == NULL)
1329 dvb_attach(xc5000_attach, fe0->dvb.frontend,
1335 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1338 if (fe0->dvb.frontend != NULL) {
1351 fe0->dvb.frontend, &cfg);
1359 fe0->dvb.frontend = dvb_attach(tda10048_attach,
1362 if (fe0->dvb.frontend == NULL)
1364 dvb_attach(tda829x_attach, fe0->dvb.frontend,
1367 dvb_attach(tda18271_attach, fe0->dvb.frontend,
1373 fe0->dvb.frontend = dvb_attach(tda10048_attach,
1376 if (fe0->dvb.frontend != NULL) {
1377 dvb_attach(tda18271_attach, fe0->dvb.frontend,
1388 fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap,
1390 if (fe0->dvb.frontend != NULL) {
1406 fe0->dvb.frontend, &cfg);
1414 fe0->dvb.frontend = dvb_attach(s5h1409_attach,
1417 if (fe0->dvb.frontend == NULL)
1418 fe0->dvb.frontend = dvb_attach(s5h1411_attach,
1421 if (fe0->dvb.frontend != NULL)
1422 dvb_attach(xc5000_attach, fe0->dvb.frontend,
1429 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1432 if (fe0->dvb.frontend != NULL) {
1444 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend,
1463 fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, 0x80, &dib7070p_dib7000p_config);
1464 if (fe0->dvb.frontend != NULL) {
1467 fe0->dvb.frontend->sec_priv = kmemdup(&dib7000p_ops, sizeof(dib7000p_ops), GFP_KERNEL);
1468 if (!fe0->dvb.frontend->sec_priv)
1470 tun_i2c = dib7000p_ops.get_i2c_master(fe0->dvb.frontend, DIBX000_I2C_INTERFACE_TUNER, 1);
1471 if (!dvb_attach(dib0070_attach, fe0->dvb.frontend, tun_i2c, &dib7070p_dib0070_config))
1481 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1484 if (fe0->dvb.frontend != NULL) {
1496 fe = dvb_attach(xc2028_attach, fe0->dvb.frontend,
1505 fe0->dvb.frontend = dvb_attach(zl10353_attach,
1508 if (fe0->dvb.frontend != NULL) {
1518 fe = dvb_attach(xc4000_attach, fe0->dvb.frontend,
1530 fe0->dvb.frontend = dvb_attach(cx24116_attach,
1533 if (fe0->dvb.frontend != NULL)
1534 fe0->dvb.frontend->ops.set_voltage = f300_set_voltage;
1544 fe0->dvb.frontend = dvb_attach(cx24117_attach,
1550 fe0->dvb.frontend = dvb_attach(cx24117_attach,
1559 fe0->dvb.frontend = dvb_attach(ds3000_attach,
1562 if (fe0->dvb.frontend != NULL) {
1563 dvb_attach(ts2020_attach, fe0->dvb.frontend,
1565 fe0->dvb.frontend->ops.set_voltage = f300_set_voltage;
1572 fe0->dvb.frontend = dvb_attach(cx24116_attach,
1581 fe0->dvb.frontend = dvb_attach(stv0900_attach,
1584 if (fe0->dvb.frontend != NULL) {
1586 fe0->dvb.frontend,
1590 fe0->dvb.frontend,
1601 fe0->dvb.frontend = dvb_attach(stv0900_attach,
1604 if (fe0->dvb.frontend != NULL) {
1606 fe0->dvb.frontend,
1610 fe0->dvb.frontend,
1624 fe0->dvb.frontend = dvb_attach(lgs8gxx_attach,
1627 if (fe0->dvb.frontend == NULL)
1629 dvb_attach(xc5000_attach, fe0->dvb.frontend,
1631 cx23885_set_frontend_hook(port, fe0->dvb.frontend);
1636 fe0->dvb.frontend = dvb_attach(mb86a20s_attach,
1639 if (fe0->dvb.frontend == NULL)
1642 dvb_attach(xc5000_attach, fe0->dvb.frontend,
1645 cx23885_set_frontend_hook(port, fe0->dvb.frontend);
1650 fe0->dvb.frontend = dvb_attach(lgs8gxx_attach,
1653 if (fe0->dvb.frontend == NULL)
1655 dvb_attach(xc5000_attach, fe0->dvb.frontend,
1658 cx23885_set_frontend_hook(port, fe0->dvb.frontend);
1662 fe0->dvb.frontend = dvb_attach(s5h1411_attach,
1665 if (fe0->dvb.frontend == NULL)
1667 dvb_attach(tda18271_attach, fe0->dvb.frontend,
1678 fe0->dvb.frontend = dvb_attach(s5h1411_attach,
1681 if (fe0->dvb.frontend == NULL)
1683 dvb_attach(tda18271_attach, fe0->dvb.frontend,
1692 fe0->dvb.frontend = dvb_attach(atbm8830_attach,
1695 if (fe0->dvb.frontend == NULL)
1697 dvb_attach(max2165_attach, fe0->dvb.frontend,
1704 fe0->dvb.frontend = dvb_attach(atbm8830_attach,
1707 if (fe0->dvb.frontend == NULL)
1709 dvb_attach(max2165_attach, fe0->dvb.frontend,
1722 /* MFE frontend 1 DVB-T */
1723 fe0->dvb.frontend = dvb_attach(stv0367ter_attach,
1726 if (fe0->dvb.frontend == NULL)
1728 if (NULL == dvb_attach(xc5000_attach, fe0->dvb.frontend,
1733 fe0->dvb.frontend->ops.tuner_ops.init(fe0->dvb.frontend);
1735 /* MFE frontend 2 */
1740 fe1->dvb.frontend = dvb_attach(stv0367cab_attach,
1743 if (fe1->dvb.frontend == NULL)
1746 fe1->dvb.frontend->id = 1;
1748 fe1->dvb.frontend,
1760 fe0->dvb.frontend = dvb_attach(drxk_attach,
1763 if (fe0->dvb.frontend == NULL)
1766 fe0->dvb.frontend,
1773 fe0->dvb.frontend = dvb_attach(drxk_attach,
1776 if (fe0->dvb.frontend == NULL)
1779 fe0->dvb.frontend,
1789 fe0->dvb.frontend = dvb_attach(ds3000_attach,
1792 if (fe0->dvb.frontend == NULL)
1794 dvb_attach(ts2020_attach, fe0->dvb.frontend,
1800 fe0->dvb.frontend = dvb_attach(stv090x_attach,
1804 if (fe0->dvb.frontend == NULL)
1807 fe0->dvb.frontend,
1812 fe0->dvb.frontend->ops.set_voltage = p8000_set_voltage;
1836 fe0->dvb.frontend = tda10071_pdata.get_dvb_frontend(client_demod);
1840 a8293_pdata.dvb_frontend = fe0->dvb.frontend;
1857 /* attach frontend */
1859 si2165_pdata.fe = &fe0->dvb.frontend;
1876 if (fe0->dvb.frontend == NULL)
1878 fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL;
1880 fe0->dvb.frontend,
1907 fe0->dvb.frontend = tda10071_pdata.get_dvb_frontend(client_demod);
1911 a8293_pdata.dvb_frontend = fe0->dvb.frontend;
1934 /* attach frontend */
1935 fe0->dvb.frontend = dvb_attach(m88ds3103_attach,
1938 if (fe0->dvb.frontend == NULL)
1943 ts2020_config.fe = fe0->dvb.frontend;
1959 fe0->dvb.frontend->ops.read_signal_strength =
1960 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength;
1967 fe0->dvb.frontend->ops.set_voltage;
1968 fe0->dvb.frontend->ops.set_voltage =
1976 /* attach frontend */
1979 si2168_config.fe = &fe0->dvb.frontend;
1997 si2157_config.fe = fe0->dvb.frontend;
2021 /* attach frontend */
2024 si2168_config.fe = &fe0->dvb.frontend;
2042 si2157_config.fe = fe0->dvb.frontend;
2062 /* attach frontend */
2063 fe0->dvb.frontend = dvb_attach(m88ds3103_attach,
2066 if (fe0->dvb.frontend == NULL)
2071 ts2020_config.fe = fe0->dvb.frontend;
2087 fe0->dvb.frontend->ops.read_signal_strength =
2088 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength;
2093 /* attach frontend */
2136 fe0->dvb.frontend = m88ds3103_pdata.get_dvb_frontend(client_demod);
2140 ts2020_config.fe = fe0->dvb.frontend;
2156 fe0->dvb.frontend->ops.read_signal_strength =
2157 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength;
2164 fe0->dvb.frontend->ops.set_voltage;
2165 fe0->dvb.frontend->ops.set_voltage = p_set_voltage;
2184 /* attach frontend */
2186 si2168_config.fe = &fe0->dvb.frontend;
2203 si2157_config.fe = fe0->dvb.frontend;
2228 /* attach frontend */
2229 fe0->dvb.frontend = dvb_attach(m88ds3103_attach,
2232 if (fe0->dvb.frontend == NULL)
2236 a8293_pdata.dvb_frontend = fe0->dvb.frontend;
2253 m88rs6000t_config.fe = fe0->dvb.frontend;
2269 fe0->dvb.frontend->ops.read_signal_strength =
2270 fe0->dvb.frontend->ops.tuner_ops.get_rf_strength;
2274 /* attach frontend */
2277 si2168_config.fe = &fe0->dvb.frontend;
2295 si2157_config.fe = fe0->dvb.frontend;
2320 &fe0->dvb.frontend->ops.tuner_ops,
2333 /* attach frontend */
2336 si2168_config.fe = &fe0->dvb.frontend;
2354 si2157_config.fe = fe0->dvb.frontend;
2383 &fe0->dvb.frontend->ops.tuner_ops,
2390 /* attach frontend */
2393 si2168_config.fe = &fe0->dvb.frontend;
2411 si2157_config.fe = fe0->dvb.frontend;
2443 /* attach frontend */
2445 fe0->dvb.frontend = dvb_attach(lgdt3306a_attach,
2447 if (fe0->dvb.frontend == NULL)
2452 si2157_config.fe = fe0->dvb.frontend;
2476 &fe0->dvb.frontend->ops.tuner_ops,
2483 /* attach frontend */
2485 fe0->dvb.frontend = dvb_attach(lgdt3306a_attach,
2487 if (fe0->dvb.frontend == NULL)
2492 si2157_config.fe = fe0->dvb.frontend;
2516 /* attach frontend */
2518 fe0->dvb.frontend = dvb_attach(lgdt3306a_attach,
2521 if (fe0->dvb.frontend == NULL)
2526 si2157_config.fe = fe0->dvb.frontend;
2547 &fe0->dvb.frontend->ops.tuner_ops,
2553 pr_info("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
2558 if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) {
2559 pr_err("%s: frontend initialization failed\n",
2565 fe0->dvb.frontend->callback = cx23885_tuner_callback;
2567 fe1->dvb.frontend->callback = cx23885_tuner_callback;
2570 fe0->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl;
2572 fe1->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl;
2578 if (fe0->dvb.frontend->ops.analog_ops.standby)
2579 fe0->dvb.frontend->ops.analog_ops.standby(fe0->dvb.frontend);
2634 * code then the second frontend would never be allocated (later)
2638 * future addition of any multi-frontend cx23885 based boards.
2640 pr_info("%s() allocating %d frontend(s)\n", __func__,
2664 /* We have to init the queue for each frontend on a port. */
2698 if (fe0 && fe0->dvb.frontend)