dvb 34 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; dvb 45 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; dvb 73 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; dvb 85 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; dvb 28 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb *dvb = priv; dvb 30 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_dmx_swfilter(&dvb->demux, vb2_plane_vaddr(vb, 0), dvb 38 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb *dvb = demux->priv; dvb 44 drivers/media/common/videobuf2/videobuf2-dvb.c mutex_lock(&dvb->lock); dvb 45 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->nfeeds++; dvb 47 drivers/media/common/videobuf2/videobuf2-dvb.c if (!dvb->dvbq.threadio) { dvb 48 drivers/media/common/videobuf2/videobuf2-dvb.c rc = vb2_thread_start(&dvb->dvbq, dvb_fnc, dvb, dvb->name); dvb 50 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->nfeeds--; dvb 53 drivers/media/common/videobuf2/videobuf2-dvb.c rc = dvb->nfeeds; dvb 54 drivers/media/common/videobuf2/videobuf2-dvb.c mutex_unlock(&dvb->lock); dvb 61 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb *dvb = demux->priv; dvb 64 drivers/media/common/videobuf2/videobuf2-dvb.c mutex_lock(&dvb->lock); dvb 65 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->nfeeds--; dvb 66 drivers/media/common/videobuf2/videobuf2-dvb.c if (0 == dvb->nfeeds) dvb 67 drivers/media/common/videobuf2/videobuf2-dvb.c err = vb2_thread_stop(&dvb->dvbq); dvb 68 drivers/media/common/videobuf2/videobuf2-dvb.c mutex_unlock(&dvb->lock); dvb 102 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb *dvb) dvb 107 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb_register_frontend(adapter, dvb->frontend); dvb 110 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->name, result); dvb 115 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.dmx.capabilities = dvb 118 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.priv = dvb; dvb 119 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.filternum = 256; dvb 120 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.feednum = 256; dvb 121 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.start_feed = vb2_dvb_start_feed; dvb 122 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.stop_feed = vb2_dvb_stop_feed; dvb 123 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb_dmx_init(&dvb->demux); dvb 126 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->name, result); dvb 130 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->dmxdev.filternum = 256; dvb 131 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->dmxdev.demux = &dvb->demux.dmx; dvb 132 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->dmxdev.capabilities = 0; dvb 133 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb_dmxdev_init(&dvb->dmxdev, adapter); dvb 137 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->name, result); dvb 141 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->fe_hw.source = DMX_FRONTEND_0; dvb 142 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 145 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->name, result); dvb 149 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->fe_mem.source = DMX_MEMORY_FE; dvb 150 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 153 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->name, result); dvb 157 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 160 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->name, result); dvb 165 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb_net_init(adapter, &dvb->net, &dvb->demux.dmx); dvb 168 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->name, result); dvb 174 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 176 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 178 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 180 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_dmx_release(&dvb->demux); dvb 182 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_unregister_frontend(dvb->frontend); dvb 184 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_frontend_detach(dvb->frontend); dvb 185 drivers/media/common/videobuf2/videobuf2-dvb.c dvb->frontend = NULL; dvb 212 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.name, adapter_nr, mfe_shared); dvb 222 drivers/media/common/videobuf2/videobuf2-dvb.c res = vb2_dvb_register_frontend(&f->adapter, &fe->dvb); dvb 225 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.name, res); dvb 284 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe->dvb.frontend == p) { dvb 306 drivers/media/common/videobuf2/videobuf2-dvb.c mutex_init(&fe->dvb.lock); dvb 323 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe->dvb.net.dvbdev) { dvb 324 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_net_release(&fe->dvb.net); dvb 325 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.demux.dmx.remove_frontend(&fe->dvb.demux.dmx, dvb 326 drivers/media/common/videobuf2/videobuf2-dvb.c &fe->dvb.fe_mem); dvb 327 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.demux.dmx.remove_frontend(&fe->dvb.demux.dmx, dvb 328 drivers/media/common/videobuf2/videobuf2-dvb.c &fe->dvb.fe_hw); dvb 329 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_dmxdev_release(&fe->dvb.dmxdev); dvb 330 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_dmx_release(&fe->dvb.demux); dvb 331 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_unregister_frontend(fe->dvb.frontend); dvb 333 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe->dvb.frontend) dvb 335 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_frontend_detach(fe->dvb.frontend); dvb 245 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 287 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 327 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 329 drivers/media/dvb-core/dvb_frontend.c __func__, fe->dvb->num, fe->id, fe->ops.info.name); dvb 356 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 451 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 655 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 704 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_HW\n", __func__); dvb 707 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Retune requested, FESTATE_RETUNE\n", __func__); dvb 718 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: state changed, adding current state\n", __func__); dvb 724 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_SW\n", __func__); dvb 728 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=%d\n", __func__, fepriv->state); dvb 730 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Retune requested, FESTAT_RETUNE\n", __func__); dvb 766 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: UNDEFINED ALGO !\n", __func__); dvb 805 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 821 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, dvb 854 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 874 drivers/media/dvb-core/dvb_frontend.c "kdvb-ad-%i-fe-%i", fe->dvb->num, fe->id); dvb 877 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, dvb 907 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, dvb 909 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id); dvb 911 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "frequency interval: tuner: %u...%u, frontend: %u...%u", dvb 964 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i frequency %u out of range (%u..%u)\n", dvb 965 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id, c->frequency, dvb 981 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i symbol rate %u out of range (%u..%u)\n", dvb 982 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id, c->symbol_rate, dvb 1004 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Clearing cache for delivery system %d\n", dvb 1175 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QPSK req\n", __func__); dvb 1180 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QAM req\n", __func__); dvb 1186 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing OFDM req\n", __func__); dvb 1219 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing ATSC req\n", __func__); dvb 1229 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, dvb 1251 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, dvb 1256 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QPSK req\n", __func__); dvb 1261 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QAM req\n", __func__); dvb 1267 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing OFDM req\n", __func__); dvb 1299 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing VSB req\n", __func__); dvb 1553 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1560 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1565 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1604 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1624 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: change delivery system on cache to %d\n", dvb 1673 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1689 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1710 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1716 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1766 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1785 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1816 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, "%s: SET cmd 0x%08x undefined\n", dvb 1819 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1835 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, dvb 1995 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: (%d)\n", __func__, _IOC_NR(cmd)); dvb 2327 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.num = %d\n", dvb 2329 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.props = %p\n", dvb 2398 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 2405 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.num = %d\n", dvb 2407 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.props = %p\n", dvb 2477 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, dvb 2482 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: current delivery system on cache: %d, V3 type: %d\n", dvb 2631 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num); dvb 2714 drivers/media/dvb-core/dvb_frontend.c dev_dbg_ratelimited(fe->dvb->device, "%s:\n", __func__); dvb 2729 drivers/media/dvb-core/dvb_frontend.c struct dvb_adapter *adapter = fe->dvb; dvb 2732 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 2798 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev_lock); dvb 2799 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev) { dvb 2800 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev->graph_mutex); dvb 2801 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev->enable_source) dvb 2802 drivers/media/dvb-core/dvb_frontend.c ret = fe->dvb->mdev->enable_source( dvb 2805 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev->graph_mutex); dvb 2807 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); dvb 2808 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, dvb 2813 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); dvb 2831 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev_lock); dvb 2832 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev) { dvb 2833 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev->graph_mutex); dvb 2834 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev->disable_source) dvb 2835 drivers/media/dvb-core/dvb_frontend.c fe->dvb->mdev->disable_source(dvbdev->entity); dvb 2836 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev->graph_mutex); dvb 2838 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); dvb 2858 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 2870 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev_lock); dvb 2871 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev) { dvb 2872 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev->graph_mutex); dvb 2873 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev->disable_source) dvb 2874 drivers/media/dvb-core/dvb_frontend.c fe->dvb->mdev->disable_source(dvbdev->entity); dvb 2875 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev->graph_mutex); dvb 2877 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); dvb 2906 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: adap=%d fe=%d\n", __func__, fe->dvb->num, dvb 2926 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: adap=%d fe=%d\n", __func__, fe->dvb->num, dvb 2951 drivers/media/dvb-core/dvb_frontend.c int dvb_register_frontend(struct dvb_adapter *dvb, dvb 2965 drivers/media/dvb-core/dvb_frontend.c dev_dbg(dvb->device, "%s:\n", __func__); dvb 2990 drivers/media/dvb-core/dvb_frontend.c fe->dvb = dvb; dvb 2993 drivers/media/dvb-core/dvb_frontend.c dev_info(fe->dvb->device, dvb 2995 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id, fe->ops.info.name); dvb 2997 drivers/media/dvb-core/dvb_frontend.c dvb_register_device(fe->dvb, &fepriv->dvbdev, &dvbdev_template, dvb 3017 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); dvb 436 drivers/media/dvb-frontends/stv0299.c __func__, fe->dvb->num); dvb 509 drivers/media/dvb-frontends/tc90522.c __func__, fe->dvb->num, fe->id); dvb 585 drivers/media/dvb-frontends/tc90522.c __func__, fe->dvb->num, fe->id); dvb 618 drivers/media/dvb-frontends/tc90522.c __func__, fe->dvb->num, fe->id); dvb 69 drivers/media/dvb-frontends/tda10021.c state->frontend.dvb->num, __func__, reg, data, ret); dvb 390 drivers/media/dvb-frontends/tda10021.c state->frontend.dvb->num, afc, dvb 62 drivers/media/dvb-frontends/tda10023.c int num = state->frontend.dvb ? state->frontend.dvb->num : -1; dvb 77 drivers/media/dvb-frontends/tda10023.c int num = state->frontend.dvb ? state->frontend.dvb->num : -1; dvb 271 drivers/media/dvb-frontends/tda10023.c dprintk("DVB: TDA10023(%d): init chip\n", fe->dvb->num); dvb 461 drivers/media/dvb-frontends/tda10023.c state->frontend.dvb->num, afc, dvb 248 drivers/media/firewire/firedtv-fe.c fdtv->fe.dvb = &fdtv->adapter; dvb 240 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = fe->dvb->priv; dvb 250 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = fe->dvb->priv; dvb 264 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; dvb 304 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; dvb 402 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; dvb 409 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *bt = fe->dvb->priv; dvb 416 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *bt = fe->dvb->priv; dvb 441 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *bt = fe->dvb->priv; dvb 456 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; dvb 363 drivers/media/pci/cx18/cx18-driver.h struct cx18_dvb *dvb; /* DVB / Digital Transport */ dvb 152 drivers/media/pci/cx18/cx18-dvb.c struct cx18_dvb *dvb = container_of(fe->dvb, dvb 154 drivers/media/pci/cx18/cx18-dvb.c struct cx18_stream *stream = dvb->stream; dvb 284 drivers/media/pci/cx18/cx18-dvb.c mutex_lock(&stream->dvb->feedlock); dvb 285 drivers/media/pci/cx18/cx18-dvb.c if (stream->dvb->feeding++ == 0) { dvb 292 drivers/media/pci/cx18/cx18-dvb.c stream->dvb->feeding--; dvb 293 drivers/media/pci/cx18/cx18-dvb.c if (stream->dvb->feeding == 0) dvb 299 drivers/media/pci/cx18/cx18-dvb.c mutex_unlock(&stream->dvb->feedlock); dvb 317 drivers/media/pci/cx18/cx18-dvb.c mutex_lock(&stream->dvb->feedlock); dvb 318 drivers/media/pci/cx18/cx18-dvb.c if (--stream->dvb->feeding == 0) { dvb 325 drivers/media/pci/cx18/cx18-dvb.c mutex_unlock(&stream->dvb->feedlock); dvb 334 drivers/media/pci/cx18/cx18-dvb.c struct cx18_dvb *dvb = stream->dvb; dvb 340 drivers/media/pci/cx18/cx18-dvb.c if (!dvb) dvb 343 drivers/media/pci/cx18/cx18-dvb.c dvb->enabled = 0; dvb 344 drivers/media/pci/cx18/cx18-dvb.c dvb->stream = stream; dvb 346 drivers/media/pci/cx18/cx18-dvb.c ret = dvb_register_adapter(&dvb->dvb_adapter, dvb 352 drivers/media/pci/cx18/cx18-dvb.c dvb_adapter = &dvb->dvb_adapter; dvb 354 drivers/media/pci/cx18/cx18-dvb.c dvbdemux = &dvb->demux; dvb 370 drivers/media/pci/cx18/cx18-dvb.c dvb->hw_frontend.source = DMX_FRONTEND_0; dvb 371 drivers/media/pci/cx18/cx18-dvb.c dvb->mem_frontend.source = DMX_MEMORY_FE; dvb 372 drivers/media/pci/cx18/cx18-dvb.c dvb->dmxdev.filternum = 256; dvb 373 drivers/media/pci/cx18/cx18-dvb.c dvb->dmxdev.demux = dmx; dvb 375 drivers/media/pci/cx18/cx18-dvb.c ret = dvb_dmxdev_init(&dvb->dmxdev, dvb_adapter); dvb 379 drivers/media/pci/cx18/cx18-dvb.c ret = dmx->add_frontend(dmx, &dvb->hw_frontend); dvb 383 drivers/media/pci/cx18/cx18-dvb.c ret = dmx->add_frontend(dmx, &dvb->mem_frontend); dvb 387 drivers/media/pci/cx18/cx18-dvb.c ret = dmx->connect_frontend(dmx, &dvb->hw_frontend); dvb 395 drivers/media/pci/cx18/cx18-dvb.c dvb_net_init(dvb_adapter, &dvb->dvbnet, dmx); dvb 399 drivers/media/pci/cx18/cx18-dvb.c stream->dvb->dvb_adapter.num, stream->name, dvb 403 drivers/media/pci/cx18/cx18-dvb.c mutex_init(&dvb->feedlock); dvb 404 drivers/media/pci/cx18/cx18-dvb.c dvb->enabled = 1; dvb 410 drivers/media/pci/cx18/cx18-dvb.c dmx->remove_frontend(dmx, &dvb->mem_frontend); dvb 412 drivers/media/pci/cx18/cx18-dvb.c dmx->remove_frontend(dmx, &dvb->hw_frontend); dvb 414 drivers/media/pci/cx18/cx18-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 426 drivers/media/pci/cx18/cx18-dvb.c struct cx18_dvb *dvb = stream->dvb; dvb 433 drivers/media/pci/cx18/cx18-dvb.c if (dvb == NULL || !dvb->enabled) dvb 436 drivers/media/pci/cx18/cx18-dvb.c dvb_adapter = &dvb->dvb_adapter; dvb 437 drivers/media/pci/cx18/cx18-dvb.c dvbdemux = &dvb->demux; dvb 441 drivers/media/pci/cx18/cx18-dvb.c dvb_net_release(&dvb->dvbnet); dvb 442 drivers/media/pci/cx18/cx18-dvb.c dmx->remove_frontend(dmx, &dvb->mem_frontend); dvb 443 drivers/media/pci/cx18/cx18-dvb.c dmx->remove_frontend(dmx, &dvb->hw_frontend); dvb 444 drivers/media/pci/cx18/cx18-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 446 drivers/media/pci/cx18/cx18-dvb.c dvb_unregister_frontend(dvb->fe); dvb 447 drivers/media/pci/cx18/cx18-dvb.c dvb_frontend_detach(dvb->fe); dvb 456 drivers/media/pci/cx18/cx18-dvb.c struct cx18_dvb *dvb = stream->dvb; dvb 463 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(s5h1409_attach, dvb 466 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { dvb 467 drivers/media/pci/cx18/cx18-dvb.c dvb_attach(mxl5005s_attach, dvb->fe, dvb 474 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(s5h1411_attach, dvb 477 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) dvb 478 drivers/media/pci/cx18/cx18-dvb.c dvb_attach(tda18271_attach, dvb->fe, dvb 483 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(zl10353_attach, dvb 486 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { dvb 500 drivers/media/pci/cx18/cx18-dvb.c fe = dvb_attach(xc2028_attach, dvb->fe, &cfg); dvb 511 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(mt352_attach, dvb 514 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe == NULL) dvb 515 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(zl10353_attach, dvb 518 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { dvb 532 drivers/media/pci/cx18/cx18-dvb.c fe = dvb_attach(xc2028_attach, dvb->fe, &cfg); dvb 538 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(zl10353_attach, dvb 541 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { dvb 555 drivers/media/pci/cx18/cx18-dvb.c fe = dvb_attach(xc2028_attach, dvb->fe, &cfg); dvb 565 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe == NULL) { dvb 570 drivers/media/pci/cx18/cx18-dvb.c dvb->fe->callback = cx18_reset_tuner_gpio; dvb 572 drivers/media/pci/cx18/cx18-dvb.c ret = dvb_register_frontend(&dvb->dvb_adapter, dvb->fe); dvb 574 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe->ops.release) dvb 575 drivers/media/pci/cx18/cx18-dvb.c dvb->fe->ops.release(dvb->fe); dvb 126 drivers/media/pci/cx18/cx18-mailbox.c if (s->dvb == NULL || !s->dvb->enabled || mdl->bytesused == 0) dvb 136 drivers/media/pci/cx18/cx18-mailbox.c dvb_dmx_swfilter(&s->dvb->demux, dvb 144 drivers/media/pci/cx18/cx18-mailbox.c dvb_dmx_swfilter(&s->dvb->demux, buf->buf, buf->bytesused); dvb 248 drivers/media/pci/cx18/cx18-streams.c s->dvb = NULL; dvb 311 drivers/media/pci/cx18/cx18-streams.c s->dvb = NULL; dvb 338 drivers/media/pci/cx18/cx18-streams.c s->dvb = kzalloc(sizeof(struct cx18_dvb), GFP_KERNEL); dvb 339 drivers/media/pci/cx18/cx18-streams.c if (s->dvb == NULL) { dvb 402 drivers/media/pci/cx18/cx18-streams.c if (type == CX18_ENC_STREAM_TYPE_TS && s->dvb != NULL) { dvb 495 drivers/media/pci/cx18/cx18-streams.c if (cx->streams[type].dvb != NULL) { dvb 498 drivers/media/pci/cx18/cx18-streams.c kfree(cx->streams[type].dvb); dvb 499 drivers/media/pci/cx18/cx18-streams.c cx->streams[type].dvb = NULL; dvb 23 drivers/media/pci/cx18/cx18-streams.h (s->dvb && s->dvb->enabled) || dvb 146 drivers/media/pci/cx23885/cx23885-dvb.c if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) dvb 147 drivers/media/pci/cx23885/cx23885-dvb.c fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); dvb 596 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; dvb 611 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; dvb 640 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; dvb 737 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; dvb 1104 drivers/media/pci/cx23885/cx23885-dvb.c .demux = &fe0->dvb.demux,/* for hw pid filter */ dvb 1215 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.name = dev->name; dvb 1227 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1230 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1232 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(mt2131_attach, fe0->dvb.frontend, dvb 1239 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(lgdt3305_attach, dvb 1242 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1244 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1248 drivers/media/pci/cx23885/cx23885-dvb.c cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb 1253 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb 1256 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1259 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1272 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb 1276 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1279 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1282 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1288 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb 1292 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1294 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(mt2131_attach, fe0->dvb.frontend, dvb 1301 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1304 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1306 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(mt2131_attach, fe0->dvb.frontend, dvb 1312 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb 1316 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1318 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1324 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1327 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1329 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1335 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1338 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1351 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, &cfg); dvb 1359 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb 1362 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1364 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1367 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1373 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb 1376 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1377 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1388 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, dvb 1390 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1406 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, &cfg); dvb 1414 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1417 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1418 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb 1421 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) dvb 1422 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1429 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1432 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1444 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, dvb 1463 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dib7000p_ops.init(&i2c_bus->i2c_adap, 0x80, &dib7070p_dib7000p_config); dvb 1464 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1467 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->sec_priv = kmemdup(&dib7000p_ops, sizeof(dib7000p_ops), GFP_KERNEL); dvb 1468 drivers/media/pci/cx23885/cx23885-dvb.c if (!fe0->dvb.frontend->sec_priv) dvb 1470 drivers/media/pci/cx23885/cx23885-dvb.c tun_i2c = dib7000p_ops.get_i2c_master(fe0->dvb.frontend, DIBX000_I2C_INTERFACE_TUNER, 1); dvb 1471 drivers/media/pci/cx23885/cx23885-dvb.c if (!dvb_attach(dib0070_attach, fe0->dvb.frontend, tun_i2c, &dib7070p_dib0070_config)) dvb 1481 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1484 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1496 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, dvb 1505 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1508 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1518 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, dvb 1530 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb 1533 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) dvb 1534 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.set_voltage = f300_set_voltage; dvb 1544 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(cx24117_attach, dvb 1550 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(cx24117_attach, dvb 1559 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(ds3000_attach, dvb 1562 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1563 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(ts2020_attach, fe0->dvb.frontend, dvb 1565 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.set_voltage = f300_set_voltage; dvb 1572 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb 1581 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(stv0900_attach, dvb 1584 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1586 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1590 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1601 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(stv0900_attach, dvb 1604 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1606 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1610 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1624 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(lgs8gxx_attach, dvb 1627 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1629 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1631 drivers/media/pci/cx23885/cx23885-dvb.c cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb 1636 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(mb86a20s_attach, dvb 1639 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1642 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1645 drivers/media/pci/cx23885/cx23885-dvb.c cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb 1650 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(lgs8gxx_attach, dvb 1653 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1655 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1658 drivers/media/pci/cx23885/cx23885-dvb.c cx23885_set_frontend_hook(port, fe0->dvb.frontend); dvb 1662 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb 1665 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1667 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1678 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb 1681 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1683 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1692 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(atbm8830_attach, dvb 1695 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1697 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(max2165_attach, fe0->dvb.frontend, dvb 1704 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(atbm8830_attach, dvb 1707 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1709 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(max2165_attach, fe0->dvb.frontend, dvb 1723 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(stv0367ter_attach, dvb 1726 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1728 drivers/media/pci/cx23885/cx23885-dvb.c if (NULL == dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1733 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.tuner_ops.init(fe0->dvb.frontend); dvb 1740 drivers/media/pci/cx23885/cx23885-dvb.c fe1->dvb.frontend = dvb_attach(stv0367cab_attach, dvb 1743 drivers/media/pci/cx23885/cx23885-dvb.c if (fe1->dvb.frontend == NULL) dvb 1746 drivers/media/pci/cx23885/cx23885-dvb.c fe1->dvb.frontend->id = 1; dvb 1748 drivers/media/pci/cx23885/cx23885-dvb.c fe1->dvb.frontend, dvb 1760 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(drxk_attach, dvb 1763 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1766 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1773 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(drxk_attach, dvb 1776 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1779 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1789 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(ds3000_attach, dvb 1792 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1794 drivers/media/pci/cx23885/cx23885-dvb.c dvb_attach(ts2020_attach, fe0->dvb.frontend, dvb 1800 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(stv090x_attach, dvb 1804 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1807 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1812 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.set_voltage = p8000_set_voltage; dvb 1836 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = tda10071_pdata.get_dvb_frontend(client_demod); dvb 1840 drivers/media/pci/cx23885/cx23885-dvb.c a8293_pdata.dvb_frontend = fe0->dvb.frontend; dvb 1859 drivers/media/pci/cx23885/cx23885-dvb.c si2165_pdata.fe = &fe0->dvb.frontend; dvb 1877 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1879 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb 1881 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend, dvb 1908 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = tda10071_pdata.get_dvb_frontend(client_demod); dvb 1912 drivers/media/pci/cx23885/cx23885-dvb.c a8293_pdata.dvb_frontend = fe0->dvb.frontend; dvb 1936 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb 1939 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 1944 drivers/media/pci/cx23885/cx23885-dvb.c ts2020_config.fe = fe0->dvb.frontend; dvb 1961 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.read_signal_strength = dvb 1962 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb 1969 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.set_voltage; dvb 1970 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.set_voltage = dvb 1981 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; dvb 2000 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2028 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; dvb 2046 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2068 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb 2071 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 2076 drivers/media/pci/cx23885/cx23885-dvb.c ts2020_config.fe = fe0->dvb.frontend; dvb 2092 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.read_signal_strength = dvb 2093 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb 2141 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = m88ds3103_pdata.get_dvb_frontend(client_demod); dvb 2145 drivers/media/pci/cx23885/cx23885-dvb.c ts2020_config.fe = fe0->dvb.frontend; dvb 2161 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.read_signal_strength = dvb 2162 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb 2169 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.set_voltage; dvb 2170 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.set_voltage = p_set_voltage; dvb 2191 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; dvb 2208 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2235 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(m88ds3103_attach, dvb 2238 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 2242 drivers/media/pci/cx23885/cx23885-dvb.c a8293_pdata.dvb_frontend = fe0->dvb.frontend; dvb 2259 drivers/media/pci/cx23885/cx23885-dvb.c m88rs6000t_config.fe = fe0->dvb.frontend; dvb 2275 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.read_signal_strength = dvb 2276 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.tuner_ops.get_rf_strength; dvb 2283 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; dvb 2301 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2336 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; dvb 2354 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2383 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; dvb 2401 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2435 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(lgdt3306a_attach, dvb 2437 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 2442 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2471 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(lgdt3306a_attach, dvb 2473 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 2478 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2510 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend = dvb_attach(lgdt3306a_attach, dvb 2513 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend == NULL) dvb 2518 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; dvb 2545 drivers/media/pci/cx23885/cx23885-dvb.c if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) { dvb 2552 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->callback = cx23885_tuner_callback; dvb 2554 drivers/media/pci/cx23885/cx23885-dvb.c fe1->dvb.frontend->callback = cx23885_tuner_callback; dvb 2557 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl; dvb 2559 drivers/media/pci/cx23885/cx23885-dvb.c fe1->dvb.frontend->ops.ts_bus_ctrl = cx23885_dvb_bus_ctrl; dvb 2565 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0->dvb.frontend->ops.analog_ops.standby) dvb 2566 drivers/media/pci/cx23885/cx23885-dvb.c fe0->dvb.frontend->ops.analog_ops.standby(fe0->dvb.frontend); dvb 2653 drivers/media/pci/cx23885/cx23885-dvb.c q = &fe0->dvb.dvbq; dvb 2685 drivers/media/pci/cx23885/cx23885-dvb.c if (fe0 && fe0->dvb.frontend) dvb 75 drivers/media/pci/cx23885/cx23885-f300.c struct cx23885_tsport *port = fe->dvb->priv; dvb 994 drivers/media/pci/cx23885/cx23885-video.c fe = vfe->dvb.frontend; dvb 164 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 209 drivers/media/pci/cx88/cx88-dvb.c if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) dvb 210 drivers/media/pci/cx88/cx88-dvb.c fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); dvb 369 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 382 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 395 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 424 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 438 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 447 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 463 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 479 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 503 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 618 drivers/media/pci/cx88/cx88-dvb.c if (!fe0->dvb.frontend) { dvb 630 drivers/media/pci/cx88/cx88-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); dvb 633 drivers/media/pci/cx88/cx88-dvb.c dvb_frontend_detach(fe0->dvb.frontend); dvb 634 drivers/media/pci/cx88/cx88-dvb.c dvb_unregister_frontend(fe0->dvb.frontend); dvb 635 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = NULL; dvb 654 drivers/media/pci/cx88/cx88-dvb.c if (!fe0->dvb.frontend) { dvb 659 drivers/media/pci/cx88/cx88-dvb.c fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap, dvb 663 drivers/media/pci/cx88/cx88-dvb.c dvb_frontend_detach(fe0->dvb.frontend); dvb 664 drivers/media/pci/cx88/cx88-dvb.c dvb_unregister_frontend(fe0->dvb.frontend); dvb 665 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = NULL; dvb 677 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 687 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 696 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 725 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 857 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 888 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 910 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; dvb 1013 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb 1016 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1017 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1027 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb 1030 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1031 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1041 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb 1044 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1045 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1052 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx22702_attach, dvb 1055 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1056 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1067 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb 1070 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1072 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend, dvb 1082 drivers/media/pci/cx88/cx88-dvb.c fe1->dvb.frontend = dvb_attach(cx22702_attach, dvb 1085 drivers/media/pci/cx88/cx88-dvb.c if (fe1->dvb.frontend) { dvb 1086 drivers/media/pci/cx88/cx88-dvb.c fe1->dvb.frontend->id = 1; dvb 1088 drivers/media/pci/cx88/cx88-dvb.c fe1->dvb.frontend, dvb 1095 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1098 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1099 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1105 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1108 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1109 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1119 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1122 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1123 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1129 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1132 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1133 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1139 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1142 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1143 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1151 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1154 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1155 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, dvb 1163 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1166 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1167 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1177 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1180 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1181 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1188 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1191 drivers/media/pci/cx88/cx88-dvb.c if (!fe0->dvb.frontend) dvb 1192 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1200 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) dvb 1201 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb 1206 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000, dvb 1208 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1209 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1226 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb 1230 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1231 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1245 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb 1249 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1250 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1264 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb 1268 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1269 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1273 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, dvb 1286 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(lgdt330x_attach, dvb 1290 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1291 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1295 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(tda9887_attach, fe0->dvb.frontend, dvb 1301 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(nxt200x_attach, dvb 1304 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1305 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1313 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb 1316 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1324 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb 1331 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb 1334 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1335 drivers/media/pci/cx88/cx88-dvb.c core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb 1336 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = kworld_dvbs_100_set_voltage; dvb 1340 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24123_attach, dvb 1343 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1344 drivers/media/pci/cx88/cx88-dvb.c core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb 1345 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = geniatech_dvbs_set_voltage; dvb 1349 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1352 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1353 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1360 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1363 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1376 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend, &cfg); dvb 1383 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1386 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1387 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb 1394 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1397 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1405 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb 1413 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1420 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(s5h1409_attach, dvb 1427 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb 1430 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1431 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1442 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb 1445 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1447 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend, dvb 1457 drivers/media/pci/cx88/cx88-dvb.c fe1->dvb.frontend = dvb_attach(cx22702_attach, dvb 1460 drivers/media/pci/cx88/cx88-dvb.c if (fe1->dvb.frontend) { dvb 1461 drivers/media/pci/cx88/cx88-dvb.c fe1->dvb.frontend->id = 1; dvb 1463 drivers/media/pci/cx88/cx88-dvb.c fe1->dvb.frontend, dvb 1470 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb 1473 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1475 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend, dvb 1484 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(stv0299_attach, dvb 1487 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1488 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, dvb 1491 drivers/media/pci/cx88/cx88-dvb.c core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb 1492 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb 1495 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(stv0288_attach, dvb 1498 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1500 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend, 0x61, dvb 1503 drivers/media/pci/cx88/cx88-dvb.c core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; dvb 1504 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb 1509 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb 1512 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) dvb 1513 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb 1516 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(ds3000_attach, dvb 1519 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1520 drivers/media/pci/cx88/cx88-dvb.c dvb_attach(ts2020_attach, fe0->dvb.frontend, dvb 1522 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = dvb 1530 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(cx24116_attach, dvb 1533 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) dvb 1534 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; dvb 1537 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1540 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1541 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb 1549 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(stv0900_attach, dvb 1552 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1553 drivers/media/pci/cx88/cx88-dvb.c if (!dvb_attach(stb6100_attach, fe0->dvb.frontend, dvb 1558 drivers/media/pci/cx88/cx88-dvb.c tuner_ops = &fe0->dvb.frontend->ops.tuner_ops; dvb 1565 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage; dvb 1566 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = dvb 1581 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(stv0299_attach, dvb 1584 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1585 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.tuner_ops.set_params = dvb 1587 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->tuner_priv = dvb 1589 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = dvb 1591 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_tone = dvb 1598 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend = dvb_attach(mb86a16_attach, dvb 1601 drivers/media/pci/cx88/cx88-dvb.c if (fe0->dvb.frontend) { dvb 1603 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage; dvb 1604 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.set_voltage = dvb 1614 drivers/media/pci/cx88/cx88-dvb.c if ((NULL == fe0->dvb.frontend) || (fe1 && NULL == fe1->dvb.frontend)) { dvb 1619 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->callback = cx88_tuner_callback; dvb 1622 drivers/media/pci/cx88/cx88-dvb.c fe0->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; dvb 1624 drivers/media/pci/cx88/cx88-dvb.c fe1->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl; dvb 1773 drivers/media/pci/cx88/cx88-dvb.c q = &fe->dvb.dvbq; dvb 1791 drivers/media/pci/cx88/cx88-dvb.c fe->dvb.name = dev->core->name; dvb 334 drivers/media/pci/ddbridge/ddbridge-ci.c port->dvb[0].i2c_client[0] = client; dvb 366 drivers/media/pci/ddbridge/ddbridge-ci.c dvb_ca_en50221_init(port->dvb[0].adap, port->en, 0, 1); dvb 372 drivers/media/pci/ddbridge/ddbridge-ci.c if (port->dvb[0].dev) dvb 373 drivers/media/pci/ddbridge/ddbridge-ci.c dvb_unregister_device(port->dvb[0].dev); dvb 377 drivers/media/pci/ddbridge/ddbridge-ci.c dvb_module_release(port->dvb[0].i2c_client[0]); dvb 378 drivers/media/pci/ddbridge/ddbridge-ci.c port->dvb[0].i2c_client[0] = NULL; dvb 873 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; dvb 878 drivers/media/pci/ddbridge/ddbridge-core.c status = dvb->i2c_gate_ctrl(fe, 1); dvb 880 drivers/media/pci/ddbridge/ddbridge-core.c status = dvb->i2c_gate_ctrl(fe, 0); dvb 889 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 897 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(drxk_attach, &config, i2c); dvb 898 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { dvb 902 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; dvb 903 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; dvb 904 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; dvb 911 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 915 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) dvb 916 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 1); dvb 917 drivers/media/pci/ddbridge/ddbridge-core.c fe = dvb_attach(tda18271c2dd_attach, dvb->fe, i2c, 0x60); dvb 918 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) dvb 919 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 0); dvb 952 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 956 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv0367ddb_attach, dvb 959 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { dvb 963 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; dvb 964 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; dvb 965 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; dvb 972 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 978 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) dvb 979 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 1); dvb 986 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) dvb 987 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 0); dvb 995 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1011 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(cxd2841er_attach_t_c, &cfg, i2c); dvb 1013 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { dvb 1017 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; dvb 1018 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; dvb 1019 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; dvb 1026 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1030 drivers/media/pci/ddbridge/ddbridge-core.c .fe = dvb->fe, dvb 1053 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_client[0] = client; dvb 1124 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1127 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv090x_attach, feconf, i2c, dvb 1130 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { dvb 1134 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb_attach(lnbh24_attach, dvb->fe, i2c, 0, dvb 1138 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); dvb 1147 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1154 drivers/media/pci/ddbridge/ddbridge-core.c ctl = dvb_attach(stv6110x_attach, dvb->fe, tunerconf, i2c); dvb 1200 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1216 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv0910_attach, i2c, &cfg, (input->nr & 1)); dvb 1217 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { dvb 1219 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv0910_attach, i2c, dvb 1222 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { dvb 1235 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb_attach(lnbh25_attach, dvb->fe, &lnbcfg, i2c)) { dvb 1237 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); dvb 1247 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1252 drivers/media/pci/ddbridge/ddbridge-core.c fe = dvb_attach(stv6111_attach, dvb->fe, i2c, adr); dvb 1254 drivers/media/pci/ddbridge/ddbridge-core.c fe = dvb_attach(stv6111_attach, dvb->fe, i2c, adr & ~4); dvb 1265 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1268 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(dvb_dummy_fe_qam_attach); dvb 1269 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { dvb 1281 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1283 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->users) dvb 1286 drivers/media/pci/ddbridge/ddbridge-core.c return ++dvb->users; dvb 1293 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1295 drivers/media/pci/ddbridge/ddbridge-core.c if (--dvb->users) dvb 1296 drivers/media/pci/ddbridge/ddbridge-core.c return dvb->users; dvb 1304 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1305 drivers/media/pci/ddbridge/ddbridge-core.c struct dvb_demux *dvbdemux = &dvb->demux; dvb 1307 drivers/media/pci/ddbridge/ddbridge-core.c switch (dvb->attached) { dvb 1309 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe2) dvb 1310 drivers/media/pci/ddbridge/ddbridge-core.c dvb_unregister_frontend(dvb->fe2); dvb 1311 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) dvb 1312 drivers/media/pci/ddbridge/ddbridge-core.c dvb_unregister_frontend(dvb->fe); dvb 1315 drivers/media/pci/ddbridge/ddbridge-core.c dvb_module_release(dvb->i2c_client[0]); dvb 1316 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_client[0] = NULL; dvb 1318 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe2) dvb 1319 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe2); dvb 1320 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) dvb 1321 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); dvb 1322 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = NULL; dvb 1323 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe2 = NULL; dvb 1326 drivers/media/pci/ddbridge/ddbridge-core.c dvb_net_release(&dvb->dvbnet); dvb 1330 drivers/media/pci/ddbridge/ddbridge-core.c &dvb->hw_frontend); dvb 1332 drivers/media/pci/ddbridge/ddbridge-core.c &dvb->mem_frontend); dvb 1335 drivers/media/pci/ddbridge/ddbridge-core.c dvb_dmxdev_release(&dvb->dmxdev); dvb 1338 drivers/media/pci/ddbridge/ddbridge-core.c dvb_dmx_release(&dvb->demux); dvb 1343 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x00; dvb 1354 drivers/media/pci/ddbridge/ddbridge-core.c adap = port->dvb[0].adap; dvb 1360 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[0].adap_registered = 1; dvb 1363 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[0].adap = adap; dvb 1364 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[1].adap = adap; dvb 1373 drivers/media/pci/ddbridge/ddbridge-core.c adap = port->dvb[0].adap; dvb 1380 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[0].adap_registered = 1; dvb 1383 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[1].adap = port->dvb[0].adap; dvb 1386 drivers/media/pci/ddbridge/ddbridge-core.c adap = port->dvb[1].adap; dvb 1393 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[1].adap_registered = 1; dvb 1398 drivers/media/pci/ddbridge/ddbridge-core.c adap = port->dvb[0].adap; dvb 1405 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[0].adap_registered = 1; dvb 1410 drivers/media/pci/ddbridge/ddbridge-core.c adap = port->dvb[0].adap; dvb 1417 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[0].adap_registered = 1; dvb 1428 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb; dvb 1433 drivers/media/pci/ddbridge/ddbridge-core.c dvb = &port->dvb[0]; dvb 1434 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->adap_registered) dvb 1435 drivers/media/pci/ddbridge/ddbridge-core.c dvb_unregister_adapter(dvb->adap); dvb 1436 drivers/media/pci/ddbridge/ddbridge-core.c dvb->adap_registered = 0; dvb 1438 drivers/media/pci/ddbridge/ddbridge-core.c dvb = &port->dvb[1]; dvb 1439 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->adap_registered) dvb 1440 drivers/media/pci/ddbridge/ddbridge-core.c dvb_unregister_adapter(dvb->adap); dvb 1441 drivers/media/pci/ddbridge/ddbridge-core.c dvb->adap_registered = 0; dvb 1448 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 1450 drivers/media/pci/ddbridge/ddbridge-core.c struct dvb_adapter *adap = dvb->adap; dvb 1451 drivers/media/pci/ddbridge/ddbridge-core.c struct dvb_demux *dvbdemux = &dvb->demux; dvb 1472 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x01; dvb 1484 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x10; dvb 1486 drivers/media/pci/ddbridge/ddbridge-core.c dvb->dmxdev.filternum = 256; dvb 1487 drivers/media/pci/ddbridge/ddbridge-core.c dvb->dmxdev.demux = &dvbdemux->dmx; dvb 1488 drivers/media/pci/ddbridge/ddbridge-core.c ret = dvb_dmxdev_init(&dvb->dmxdev, adap); dvb 1491 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x11; dvb 1493 drivers/media/pci/ddbridge/ddbridge-core.c dvb->mem_frontend.source = DMX_MEMORY_FE; dvb 1494 drivers/media/pci/ddbridge/ddbridge-core.c dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->mem_frontend); dvb 1495 drivers/media/pci/ddbridge/ddbridge-core.c dvb->hw_frontend.source = DMX_FRONTEND_0; dvb 1496 drivers/media/pci/ddbridge/ddbridge-core.c dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->hw_frontend); dvb 1497 drivers/media/pci/ddbridge/ddbridge-core.c ret = dvbdemux->dmx.connect_frontend(&dvbdemux->dmx, &dvb->hw_frontend); dvb 1500 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x12; dvb 1502 drivers/media/pci/ddbridge/ddbridge-core.c ret = dvb_net_init(adap, &dvb->dvbnet, dvb->dmxdev.demux); dvb 1505 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x20; dvb 1507 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = NULL; dvb 1508 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe2 = NULL; dvb 1598 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x30; dvb 1600 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) { dvb 1601 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb_register_frontend(adap, dvb->fe) < 0) dvb 1604 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe2) { dvb 1605 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb_register_frontend(adap, dvb->fe2) < 0) { dvb 1606 drivers/media/pci/ddbridge/ddbridge-core.c dvb_unregister_frontend(dvb->fe); dvb 1609 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe2->tuner_priv = dvb->fe->tuner_priv; dvb 1610 drivers/media/pci/ddbridge/ddbridge-core.c memcpy(&dvb->fe2->ops.tuner_ops, dvb 1611 drivers/media/pci/ddbridge/ddbridge-core.c &dvb->fe->ops.tuner_ops, dvb 1616 drivers/media/pci/ddbridge/ddbridge-core.c dvb->attached = 0x31; dvb 1622 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe2) dvb 1623 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe2); dvb 1624 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) dvb 1625 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); dvb 2041 drivers/media/pci/ddbridge/ddbridge-core.c ret = dvb_register_device(port->dvb[0].adap, dvb 2042 drivers/media/pci/ddbridge/ddbridge-core.c &port->dvb[0].dev, dvb 2137 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input2->port->dvb[input2->nr & 1]; dvb 2161 drivers/media/pci/ddbridge/ddbridge-core.c dvb_dmx_swfilter_packets(&dvb->demux, dvb 2396 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[0].adap = &dev->adap[2 * p]; dvb 2397 drivers/media/pci/ddbridge/ddbridge-core.c port->dvb[1].adap = &dev->adap[2 * p + 1]; dvb 82 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; dvb 89 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->diseqc_send_master_cmd) dvb 90 drivers/media/pci/ddbridge/ddbridge-max.c dvb->diseqc_send_master_cmd(fe, cmd); dvb 93 drivers/media/pci/ddbridge/ddbridge-max.c ddbwritel(dev, 0, tag | LNB_BUF_LEVEL(dvb->input)); dvb 95 drivers/media/pci/ddbridge/ddbridge-max.c ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(dvb->input)); dvb 96 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, port->lnr, dvb->input, LNB_CMD_DISEQC); dvb 184 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; dvb 189 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->input != in) { dvb 192 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] & bit; dvb 194 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] &= ~bit; dvb 195 drivers/media/pci/ddbridge/ddbridge-max.c dvb->input = in; dvb 196 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] |= obit; dvb 198 drivers/media/pci/ddbridge/ddbridge-max.c res = dvb->set_input(fe, in); dvb 207 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; dvb 213 drivers/media/pci/ddbridge/ddbridge-max.c dvb->tone = tone; dvb 218 drivers/media/pci/ddbridge/ddbridge-max.c res = lnb_set_tone(dev, port->lnr, dvb->input, tone); dvb 223 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->tone == SEC_TONE_ON) dvb 225 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) dvb 228 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->tone == SEC_TONE_ON) dvb 230 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) dvb 245 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; dvb 252 drivers/media/pci/ddbridge/ddbridge-max.c dvb->voltage = voltage; dvb 261 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input] &= dvb 264 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input] |= dvb 267 drivers/media/pci/ddbridge/ddbridge-max.c res = lnb_set_voltage(dev, port->lnr, dvb->input, voltage); dvb 281 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->tone == SEC_TONE_ON) dvb 283 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) dvb 286 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->tone == SEC_TONE_ON) dvb 288 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) dvb 412 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 420 drivers/media/pci/ddbridge/ddbridge-max.c dvb->set_input = NULL; dvb 427 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe = dvb_attach(mxl5xx_attach, i2c, &cfg, dvb 428 drivers/media/pci/ddbridge/ddbridge-max.c demod, tuner, &dvb->set_input); dvb 430 drivers/media/pci/ddbridge/ddbridge-max.c if (!dvb->fe) { dvb 435 drivers/media/pci/ddbridge/ddbridge-max.c if (!dvb->set_input) { dvb 446 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_voltage = max_set_voltage; dvb 447 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.enable_high_lnb_voltage = max_enable_high_lnb_voltage; dvb 448 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_tone = max_set_tone; dvb 449 drivers/media/pci/ddbridge/ddbridge-max.c dvb->diseqc_send_master_cmd = dvb->fe->ops.diseqc_send_master_cmd; dvb 450 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_master_cmd = max_send_master_cmd; dvb 451 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_burst = max_send_burst; dvb 452 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->sec_priv = input; dvb 453 drivers/media/pci/ddbridge/ddbridge-max.c dvb->input = tuner; dvb 463 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; dvb 480 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe = ddb_mci_attach(input, &cfg, demod, &dvb->set_input); dvb 481 drivers/media/pci/ddbridge/ddbridge-max.c if (!dvb->fe) { dvb 485 drivers/media/pci/ddbridge/ddbridge-max.c if (!dvb->set_input) { dvb 495 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_voltage = max_set_voltage; dvb 496 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.enable_high_lnb_voltage = max_enable_high_lnb_voltage; dvb 497 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_tone = max_set_tone; dvb 498 drivers/media/pci/ddbridge/ddbridge-max.c dvb->diseqc_send_master_cmd = dvb->fe->ops.diseqc_send_master_cmd; dvb 499 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_master_cmd = max_send_master_cmd; dvb 500 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_burst = max_send_burst; dvb 501 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->sec_priv = input; dvb 502 drivers/media/pci/ddbridge/ddbridge-max.c dvb->input = tuner; dvb 269 drivers/media/pci/ddbridge/ddbridge.h struct ddb_dvb dvb[2]; dvb 576 drivers/media/pci/dm1105/dm1105.c return container_of(fe->dvb, struct dm1105_dev, dvb_adapter); dvb 77 drivers/media/pci/mantis/mantis_vp1033.c struct mantis_pci *mantis = fe->dvb->priv; dvb 37 drivers/media/pci/mantis/mantis_vp1034.c struct mantis_pci *mantis = fe->dvb->priv; dvb 59 drivers/media/pci/mantis/mantis_vp2033.c struct mantis_pci *mantis = fe->dvb->priv; dvb 41 drivers/media/pci/mantis/mantis_vp2040.c struct mantis_pci *mantis = fe->dvb->priv; dvb 419 drivers/media/pci/netup_unidvb/netup_unidvb_core.c netup_unidvb_queue_init(&ndev->dma[num], &fes[i]->dvb.dvbq); dvb 421 drivers/media/pci/netup_unidvb/netup_unidvb_core.c fes[i]->dvb.name = fe_name; dvb 424 drivers/media/pci/netup_unidvb/netup_unidvb_core.c fes[0]->dvb.frontend = dvb_attach(cxd2841er_attach_s, dvb 426 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (fes[0]->dvb.frontend == NULL) { dvb 435 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (!dvb_attach(horus3a_attach, fes[0]->dvb.frontend, dvb 444 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (!dvb_attach(helene_attach_s, fes[0]->dvb.frontend, dvb 453 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (!dvb_attach(lnbh25_attach, fes[0]->dvb.frontend, dvb 461 drivers/media/pci/netup_unidvb/netup_unidvb_core.c fes[1]->dvb.frontend = dvb_attach(cxd2841er_attach_t_c, dvb 463 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (fes[1]->dvb.frontend == NULL) { dvb 468 drivers/media/pci/netup_unidvb/netup_unidvb_core.c fes[1]->dvb.frontend->id = 1; dvb 471 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (!dvb_attach(ascot2e_attach, fes[1]->dvb.frontend, dvb 480 drivers/media/pci/netup_unidvb/netup_unidvb_core.c if (!dvb_attach(helene_attach, fes[1]->dvb.frontend, dvb 122 drivers/media/pci/pluto2/pluto2.c return container_of(fe->dvb, struct pluto, dvb_adapter); dvb 773 drivers/media/pci/pt1/pt1.c adap = container_of(fe->dvb, struct pt1_adapter, adap); dvb 788 drivers/media/pci/pt1/pt1.c adap = container_of(fe->dvb, struct pt1_adapter, adap); dvb 804 drivers/media/pci/pt1/pt1.c adap = container_of(fe->dvb, struct pt1_adapter, adap); dvb 123 drivers/media/pci/pt3/pt3.c pt3 = fe->dvb->priv; dvb 128 drivers/media/pci/pt3/pt3.c return container_of(fe->dvb, struct pt3_adapter, dvb_adap); dvb 170 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 229 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 259 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 270 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 358 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 403 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 424 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 442 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 458 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 475 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 544 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 564 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 594 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, cdec_conf, &dev->i2c_adap); dvb 595 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 597 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = tda8290_i2c_gate_ctrl; dvb 598 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(tda827x_attach, fe0->dvb.frontend, dvb 888 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 897 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 981 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 994 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 1007 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; dvb 1218 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.name = dev->name; dvb 1219 drivers/media/pci/saa7134/saa7134-dvb.c q = &fe0->dvb.dvbq; dvb 1238 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, &pinnacle_300i, dvb 1240 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1241 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.set_params = mt352_pinnacle_tuner_set_params; dvb 1247 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, &avermedia_777, dvb 1249 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1250 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1257 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1263 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1266 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1280 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb 1281 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1287 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1290 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1291 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.init = philips_tu1216_init; dvb 1292 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.set_params = philips_tda6651_pll_set; dvb 1304 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1307 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1308 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb 1309 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb 1310 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.init = philips_europa_tuner_init; dvb 1311 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep; dvb 1312 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb 1316 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1319 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1320 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb 1321 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb 1322 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.init = philips_europa_tuner_init; dvb 1323 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep; dvb 1324 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb 1328 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1331 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1332 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.init = philips_tu1216_init; dvb 1333 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.set_params = philips_tda6651_pll_set; dvb 1342 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb 1345 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1346 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1349 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1370 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(lgdt3305_attach, dvb 1373 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1374 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1377 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1398 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, &dev->i2c_adap); dvb 1399 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1400 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x63, dvb 1406 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb 1418 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1421 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1422 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(tda827x_attach,fe0->dvb.frontend, dvb 1443 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb 1445 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1446 drivers/media/pci/saa7134/saa7134-dvb.c struct dvb_frontend *fe = fe0->dvb.frontend; dvb 1451 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(tda826x_attach, fe0->dvb.frontend, dvb 1485 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(nxt200x_attach, &avertvhda180, dvb 1487 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) dvb 1488 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x61, dvb 1493 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(nxt200x_attach, &kworldatsc110, dvb 1495 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) dvb 1496 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1504 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(s5h1411_attach, dvb 1507 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1508 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1511 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1517 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, dvb 1519 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1520 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x60, dvb 1525 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(isl6421_attach, fe0->dvb.frontend, dvb 1534 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1537 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1538 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; dvb 1539 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; dvb 1541 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1547 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10046_attach, dvb 1550 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1551 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.init = philips_td1316_tuner_init; dvb 1552 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params; dvb 1591 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, dvb 1593 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1594 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(tda826x_attach, fe0->dvb.frontend, 0x60, dvb 1599 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb 1621 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1627 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb 1629 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1631 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(dvb_pll_attach, fe0->dvb.frontend, 0x60, dvb 1638 drivers/media/pci/saa7134/saa7134-dvb.c fe = fe0->dvb.frontend; dvb 1657 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt352_attach, dvb 1668 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb 1670 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1672 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend, 0x60, dvb 1678 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb 1693 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10086_attach, dvb 1695 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1697 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend, 0x60, dvb 1703 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(lnbp21_attach, fe0->dvb.frontend, dvb 1718 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1721 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1722 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(simple_tuner_attach, fe0->dvb.frontend, dvb 1728 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1731 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1732 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1737 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1740 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1741 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(xc5000_attach, fe0->dvb.frontend, dvb 1748 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt312_attach, dvb 1750 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1751 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(zl10036_attach, fe0->dvb.frontend, dvb 1759 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt312_attach, dvb 1761 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) dvb 1762 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(zl10039_attach, fe0->dvb.frontend, dvb 1769 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(zl10353_attach, dvb 1772 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1774 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend, dvb 1781 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb 1784 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1785 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1788 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1794 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(tda10048_attach, dvb 1797 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1798 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1801 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1810 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mb86a20s_attach, dvb 1813 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1814 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1817 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = kworld_sbtvd_gate_ctrl; dvb 1818 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1826 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(lgs8gxx_attach, dvb 1829 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend != NULL) { dvb 1830 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda829x_attach, fe0->dvb.frontend, dvb 1833 drivers/media/pci/saa7134/saa7134-dvb.c dvb_attach(tda18271_attach, fe0->dvb.frontend, dvb 1847 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend = dvb_attach(mt312_attach, dvb 1849 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend) { dvb 1850 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.i2c_gate_ctrl = NULL; dvb 1851 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(zl10039_attach, fe0->dvb.frontend, dvb 1869 drivers/media/pci/saa7134/saa7134-dvb.c if (!fe0->dvb.frontend) dvb 1872 drivers/media/pci/saa7134/saa7134-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); dvb 1880 drivers/media/pci/saa7134/saa7134-dvb.c if (NULL == fe0->dvb.frontend) { dvb 1885 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->callback = saa7134_tuner_callback; dvb 1902 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend->ops.init) dvb 1903 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.init(fe0->dvb.frontend); dvb 1904 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend->ops.sleep) dvb 1905 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.sleep(fe0->dvb.frontend); dvb 1906 drivers/media/pci/saa7134/saa7134-dvb.c if (fe0->dvb.frontend->ops.tuner_ops.sleep) dvb 1907 drivers/media/pci/saa7134/saa7134-dvb.c fe0->dvb.frontend->ops.tuner_ops.sleep(fe0->dvb.frontend); dvb 1913 drivers/media/pci/saa7134/saa7134-dvb.c vb2_queue_release(&fe0->dvb.dvbq); dvb 1945 drivers/media/pci/saa7134/saa7134-dvb.c fe = fe0->dvb.frontend; dvb 1954 drivers/media/pci/saa7134/saa7134-dvb.c vb2_queue_release(&fe0->dvb.dvbq); dvb 517 drivers/media/pci/saa7164/saa7164-core.c dvb_dmx_swfilter_packets(&port->dvb.demux, (u8 *)buf->cpu, dvb 924 drivers/media/pci/saa7164/saa7164-core.c mutex_init(&port->dvb.lock); dvb 284 drivers/media/pci/saa7164/saa7164-dvb.c struct saa7164_dvb *dvb = &port->dvb; dvb 293 drivers/media/pci/saa7164/saa7164-dvb.c if (dvb) { dvb 294 drivers/media/pci/saa7164/saa7164-dvb.c mutex_lock(&dvb->lock); dvb 295 drivers/media/pci/saa7164/saa7164-dvb.c if (dvb->feeding++ == 0) { dvb 299 drivers/media/pci/saa7164/saa7164-dvb.c mutex_unlock(&dvb->lock); dvb 301 drivers/media/pci/saa7164/saa7164-dvb.c __func__, port->nr, dvb->feeding); dvb 311 drivers/media/pci/saa7164/saa7164-dvb.c struct saa7164_dvb *dvb = &port->dvb; dvb 317 drivers/media/pci/saa7164/saa7164-dvb.c if (dvb) { dvb 318 drivers/media/pci/saa7164/saa7164-dvb.c mutex_lock(&dvb->lock); dvb 319 drivers/media/pci/saa7164/saa7164-dvb.c if (--dvb->feeding == 0) { dvb 323 drivers/media/pci/saa7164/saa7164-dvb.c mutex_unlock(&dvb->lock); dvb 325 drivers/media/pci/saa7164/saa7164-dvb.c __func__, port->nr, dvb->feeding); dvb 333 drivers/media/pci/saa7164/saa7164-dvb.c struct saa7164_dvb *dvb = &port->dvb; dvb 385 drivers/media/pci/saa7164/saa7164-dvb.c result = dvb_register_adapter(&dvb->adapter, DRIVER_NAME, THIS_MODULE, dvb 392 drivers/media/pci/saa7164/saa7164-dvb.c dvb->adapter.priv = port; dvb 395 drivers/media/pci/saa7164/saa7164-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->frontend); dvb 403 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.dmx.capabilities = dvb 406 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.priv = port; dvb 407 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.filternum = 256; dvb 408 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.feednum = 256; dvb 409 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.start_feed = saa7164_dvb_start_feed; dvb 410 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.stop_feed = saa7164_dvb_stop_feed; dvb 411 drivers/media/pci/saa7164/saa7164-dvb.c result = dvb_dmx_init(&dvb->demux); dvb 418 drivers/media/pci/saa7164/saa7164-dvb.c dvb->dmxdev.filternum = 256; dvb 419 drivers/media/pci/saa7164/saa7164-dvb.c dvb->dmxdev.demux = &dvb->demux.dmx; dvb 420 drivers/media/pci/saa7164/saa7164-dvb.c dvb->dmxdev.capabilities = 0; dvb 421 drivers/media/pci/saa7164/saa7164-dvb.c result = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); dvb 428 drivers/media/pci/saa7164/saa7164-dvb.c dvb->fe_hw.source = DMX_FRONTEND_0; dvb 429 drivers/media/pci/saa7164/saa7164-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 436 drivers/media/pci/saa7164/saa7164-dvb.c dvb->fe_mem.source = DMX_MEMORY_FE; dvb 437 drivers/media/pci/saa7164/saa7164-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 444 drivers/media/pci/saa7164/saa7164-dvb.c result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 452 drivers/media/pci/saa7164/saa7164-dvb.c dvb_net_init(&dvb->adapter, &dvb->net, &dvb->demux.dmx); dvb 456 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 458 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 460 drivers/media/pci/saa7164/saa7164-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 462 drivers/media/pci/saa7164/saa7164-dvb.c dvb_dmx_release(&dvb->demux); dvb 464 drivers/media/pci/saa7164/saa7164-dvb.c dvb_unregister_frontend(dvb->frontend); dvb 466 drivers/media/pci/saa7164/saa7164-dvb.c dvb_frontend_detach(dvb->frontend); dvb 467 drivers/media/pci/saa7164/saa7164-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 474 drivers/media/pci/saa7164/saa7164-dvb.c struct saa7164_dvb *dvb = &port->dvb; dvb 494 drivers/media/pci/saa7164/saa7164-dvb.c if (dvb->frontend == NULL) dvb 511 drivers/media/pci/saa7164/saa7164-dvb.c dvb_net_release(&dvb->net); dvb 512 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 513 drivers/media/pci/saa7164/saa7164-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 514 drivers/media/pci/saa7164/saa7164-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 515 drivers/media/pci/saa7164/saa7164-dvb.c dvb_dmx_release(&dvb->demux); dvb 516 drivers/media/pci/saa7164/saa7164-dvb.c dvb_unregister_frontend(dvb->frontend); dvb 517 drivers/media/pci/saa7164/saa7164-dvb.c dvb_frontend_detach(dvb->frontend); dvb 518 drivers/media/pci/saa7164/saa7164-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 528 drivers/media/pci/saa7164/saa7164-dvb.c struct saa7164_dvb *dvb = &port->dvb; dvb 550 drivers/media/pci/saa7164/saa7164-dvb.c port->dvb.frontend = dvb_attach(tda10048_attach, dvb 554 drivers/media/pci/saa7164/saa7164-dvb.c if (port->dvb.frontend != NULL) { dvb 556 drivers/media/pci/saa7164/saa7164-dvb.c dvb_attach(tda18271_attach, port->dvb.frontend, dvb 563 drivers/media/pci/saa7164/saa7164-dvb.c port->dvb.frontend = dvb_attach(tda10048_attach, dvb 567 drivers/media/pci/saa7164/saa7164-dvb.c if (port->dvb.frontend != NULL) { dvb 569 drivers/media/pci/saa7164/saa7164-dvb.c dvb_attach(tda18271_attach, port->dvb.frontend, dvb 582 drivers/media/pci/saa7164/saa7164-dvb.c port->dvb.frontend = dvb_attach(s5h1411_attach, dvb 586 drivers/media/pci/saa7164/saa7164-dvb.c if (port->dvb.frontend != NULL) { dvb 590 drivers/media/pci/saa7164/saa7164-dvb.c dvb_attach(tda18271_attach, port->dvb.frontend, dvb 595 drivers/media/pci/saa7164/saa7164-dvb.c dvb_attach(tda18271_attach, port->dvb.frontend, dvb 607 drivers/media/pci/saa7164/saa7164-dvb.c port->dvb.frontend = dvb_attach(lgdt3306a_attach, dvb 610 drivers/media/pci/saa7164/saa7164-dvb.c port->dvb.frontend = dvb_attach(lgdt3306a_attach, dvb 614 drivers/media/pci/saa7164/saa7164-dvb.c if (port->dvb.frontend != NULL) { dvb 618 drivers/media/pci/saa7164/saa7164-dvb.c port->dvb.frontend, 0xc0, dvb 622 drivers/media/pci/saa7164/saa7164-dvb.c port->dvb.frontend, 0xc0, dvb 633 drivers/media/pci/saa7164/saa7164-dvb.c si2168_config.fe = &port->dvb.frontend; dvb 654 drivers/media/pci/saa7164/saa7164-dvb.c si2157_config.fe = port->dvb.frontend; dvb 678 drivers/media/pci/saa7164/saa7164-dvb.c si2168_config.fe = &port->dvb.frontend; dvb 698 drivers/media/pci/saa7164/saa7164-dvb.c si2157_config.fe = port->dvb.frontend; dvb 727 drivers/media/pci/saa7164/saa7164-dvb.c if (NULL == dvb->frontend) { dvb 736 drivers/media/pci/saa7164/saa7164-dvb.c if (dvb->frontend->ops.release) dvb 737 drivers/media/pci/saa7164/saa7164-dvb.c dvb->frontend->ops.release(dvb->frontend); dvb 388 drivers/media/pci/saa7164/saa7164-encoder.c fe = tsport->dvb.frontend; dvb 364 drivers/media/pci/saa7164/saa7164.h struct saa7164_dvb dvb; dvb 1143 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1160 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1168 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1539 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1582 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1614 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1641 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1673 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1700 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1811 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1867 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1955 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1966 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1977 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 1989 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 2000 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 2013 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 2026 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 2039 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 2051 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; dvb 493 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; dvb 606 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; dvb 670 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; dvb 687 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; dvb 771 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; dvb 650 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; dvb 700 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; dvb 731 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; dvb 817 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; dvb 847 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; dvb 150 drivers/media/pci/ttpci/budget-core.c struct budget *budget = (struct budget *) fe->dvb->priv; dvb 118 drivers/media/pci/ttpci/budget-patch.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 138 drivers/media/pci/ttpci/budget-patch.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 148 drivers/media/pci/ttpci/budget-patch.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 213 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; dvb 233 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; dvb 243 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; dvb 253 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; dvb 295 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; dvb 147 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 155 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 175 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 185 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 195 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 237 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 265 drivers/media/pci/ttpci/budget.c struct budget *budget = fe->dvb->priv; dvb 323 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 347 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; dvb 408 drivers/media/pci/ttpci/budget.c struct budget *budget = (struct budget *)fe->dvb->priv; dvb 225 drivers/media/tuners/mxl301rf.c __func__, fe->dvb->num, fe->id); dvb 243 drivers/media/tuners/mxl301rf.c __func__, fe->dvb->num, fe->id); dvb 262 drivers/media/tuners/mxl301rf.c __func__, fe->dvb->num, fe->id); dvb 123 drivers/media/tuners/qm1d1c0042.c __func__, state->cfg.fe->dvb->num, state->cfg.fe->id); dvb 313 drivers/media/tuners/qm1d1c0042.c __func__, fe->dvb->num, fe->id); dvb 381 drivers/media/tuners/qm1d1c0042.c __func__, fe->dvb->num, fe->id); dvb 537 drivers/media/tuners/tuner-xc2028.c fe->callback(((fe->dvb) && (fe->dvb->priv)) ? dvb 538 drivers/media/tuners/tuner-xc2028.c fe->dvb->priv : priv->i2c_props.adap->algo_data, dvb 266 drivers/media/tuners/xc4000.c ret = fe->callback(((fe->dvb) && (fe->dvb->priv)) ? dvb 267 drivers/media/tuners/xc4000.c fe->dvb->priv : dvb 301 drivers/media/tuners/xc5000.c ret = fe->callback(((fe->dvb) && (fe->dvb->priv)) ? dvb 302 drivers/media/tuners/xc5000.c fe->dvb->priv : dvb 687 drivers/media/usb/au0828/au0828-core.c mutex_init(&dev->dvb.lock); dvb 150 drivers/media/usb/au0828/au0828-dvb.c dvb_dmx_swfilter_packets(&dev->dvb.demux, dvb 277 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 285 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend) { dvb 286 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 287 drivers/media/usb/au0828/au0828-dvb.c dvb->start_count++; dvb 289 drivers/media/usb/au0828/au0828-dvb.c dvb->start_count, dvb->stop_count); dvb 290 drivers/media/usb/au0828/au0828-dvb.c if (dvb->feeding++ == 0) { dvb 296 drivers/media/usb/au0828/au0828-dvb.c dvb->feeding--; /* We ran out of memory... */ dvb 299 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 309 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 314 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend) { dvb 317 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 318 drivers/media/usb/au0828/au0828-dvb.c dvb->stop_count++; dvb 320 drivers/media/usb/au0828/au0828-dvb.c dvb->start_count, dvb->stop_count); dvb 321 drivers/media/usb/au0828/au0828-dvb.c if (dvb->feeding > 0) { dvb 322 drivers/media/usb/au0828/au0828-dvb.c dvb->feeding--; dvb 323 drivers/media/usb/au0828/au0828-dvb.c if (dvb->feeding == 0) { dvb 329 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 339 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 346 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 356 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 361 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dev *dev = fe->dvb->priv; dvb 362 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 365 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 374 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 376 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 380 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 382 drivers/media/usb/au0828/au0828-dvb.c ret = dvb->set_frontend(fe); dvb 385 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 388 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 396 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 420 drivers/media/usb/au0828/au0828-dvb.c result = dvb_register_adapter(&dvb->adapter, dvb 430 drivers/media/usb/au0828/au0828-dvb.c dvb->adapter.mdev = dev->media_dev; dvb 433 drivers/media/usb/au0828/au0828-dvb.c dvb->adapter.priv = dev; dvb 436 drivers/media/usb/au0828/au0828-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->frontend); dvb 444 drivers/media/usb/au0828/au0828-dvb.c dvb->set_frontend = dvb->frontend->ops.set_frontend; dvb 445 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend->ops.set_frontend = au0828_set_frontend; dvb 448 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.dmx.capabilities = dvb 451 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.priv = dev; dvb 452 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.filternum = 256; dvb 453 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.feednum = 256; dvb 454 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.start_feed = au0828_dvb_start_feed; dvb 455 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.stop_feed = au0828_dvb_stop_feed; dvb 456 drivers/media/usb/au0828/au0828-dvb.c result = dvb_dmx_init(&dvb->demux); dvb 462 drivers/media/usb/au0828/au0828-dvb.c dvb->dmxdev.filternum = 256; dvb 463 drivers/media/usb/au0828/au0828-dvb.c dvb->dmxdev.demux = &dvb->demux.dmx; dvb 464 drivers/media/usb/au0828/au0828-dvb.c dvb->dmxdev.capabilities = 0; dvb 465 drivers/media/usb/au0828/au0828-dvb.c result = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); dvb 471 drivers/media/usb/au0828/au0828-dvb.c dvb->fe_hw.source = DMX_FRONTEND_0; dvb 472 drivers/media/usb/au0828/au0828-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 479 drivers/media/usb/au0828/au0828-dvb.c dvb->fe_mem.source = DMX_MEMORY_FE; dvb 480 drivers/media/usb/au0828/au0828-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 487 drivers/media/usb/au0828/au0828-dvb.c result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 494 drivers/media/usb/au0828/au0828-dvb.c dvb_net_init(&dvb->adapter, &dvb->net, &dvb->demux.dmx); dvb 496 drivers/media/usb/au0828/au0828-dvb.c dvb->start_count = 0; dvb 497 drivers/media/usb/au0828/au0828-dvb.c dvb->stop_count = 0; dvb 499 drivers/media/usb/au0828/au0828-dvb.c result = dvb_create_media_graph(&dvb->adapter, false); dvb 506 drivers/media/usb/au0828/au0828-dvb.c dvb_net_release(&dvb->net); dvb 508 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 510 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 512 drivers/media/usb/au0828/au0828-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 514 drivers/media/usb/au0828/au0828-dvb.c dvb_dmx_release(&dvb->demux); dvb 516 drivers/media/usb/au0828/au0828-dvb.c dvb_unregister_frontend(dvb->frontend); dvb 518 drivers/media/usb/au0828/au0828-dvb.c dvb_frontend_detach(dvb->frontend); dvb 519 drivers/media/usb/au0828/au0828-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 533 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 537 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend == NULL) dvb 542 drivers/media/usb/au0828/au0828-dvb.c dvb_net_release(&dvb->net); dvb 543 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 544 drivers/media/usb/au0828/au0828-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 545 drivers/media/usb/au0828/au0828-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 546 drivers/media/usb/au0828/au0828-dvb.c dvb_dmx_release(&dvb->demux); dvb 547 drivers/media/usb/au0828/au0828-dvb.c dvb_unregister_frontend(dvb->frontend); dvb 548 drivers/media/usb/au0828/au0828-dvb.c dvb_frontend_detach(dvb->frontend); dvb 549 drivers/media/usb/au0828/au0828-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 556 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend = NULL; dvb 565 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 574 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend = dvb_attach(au8522_attach, dvb 577 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend != NULL) dvb 581 drivers/media/usb/au0828/au0828-dvb.c dvb_attach(xc5000_attach, dvb->frontend, dvb 586 drivers/media/usb/au0828/au0828-dvb.c dvb_attach(xc5000_attach, dvb->frontend, dvb 593 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend = dvb_attach(au8522_attach, dvb 596 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend != NULL) dvb 597 drivers/media/usb/au0828/au0828-dvb.c dvb_attach(mxl5007t_attach, dvb->frontend, dvb 602 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend = dvb_attach(au8522_attach, dvb 605 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend != NULL) dvb 606 drivers/media/usb/au0828/au0828-dvb.c dvb_attach(tda18271_attach, dvb->frontend, dvb 611 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend = dvb_attach(au8522_attach, dvb 614 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend != NULL) { dvb 615 drivers/media/usb/au0828/au0828-dvb.c dvb_attach(xc5000_attach, dvb->frontend, dvb 624 drivers/media/usb/au0828/au0828-dvb.c if (NULL == dvb->frontend) { dvb 630 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend->callback = au0828_tuner_callback; dvb 635 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend->ops.release) dvb 636 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend->ops.release(dvb->frontend); dvb 637 drivers/media/usb/au0828/au0828-dvb.c dvb->frontend = NULL; dvb 648 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 651 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend) { dvb 655 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 658 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 662 drivers/media/usb/au0828/au0828-dvb.c rc = dvb_frontend_suspend(dvb->frontend); dvb 669 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dvb *dvb = &dev->dvb; dvb 672 drivers/media/usb/au0828/au0828-dvb.c if (dvb->frontend) { dvb 674 drivers/media/usb/au0828/au0828-dvb.c rc = dvb_frontend_resume(dvb->frontend); dvb 678 drivers/media/usb/au0828/au0828-dvb.c mutex_lock(&dvb->lock); dvb 681 drivers/media/usb/au0828/au0828-dvb.c mutex_unlock(&dvb->lock); dvb 50 drivers/media/usb/au0828/au0828-video.c if (dev->dvb.frontend && dev->dvb.frontend->ops.analog_ops.i2c_gate_ctrl) dvb 51 drivers/media/usb/au0828/au0828-video.c dev->dvb.frontend->ops.analog_ops.i2c_gate_ctrl(dev->dvb.frontend, val); dvb 187 drivers/media/usb/au0828/au0828.h struct au0828_dvb dvb; dvb 232 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_dmx_swfilter(&dev->dvb->demux, dvb 256 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_dmx_swfilter(&dev->dvb->demux, dvb 262 drivers/media/usb/cx231xx/cx231xx-dvb.c static int start_streaming(struct cx231xx_dvb *dvb) dvb 265 drivers/media/usb/cx231xx/cx231xx-dvb.c struct cx231xx *dev = dvb->adapter.priv; dvb 293 drivers/media/usb/cx231xx/cx231xx-dvb.c static int stop_streaming(struct cx231xx_dvb *dvb) dvb 295 drivers/media/usb/cx231xx/cx231xx-dvb.c struct cx231xx *dev = dvb->adapter.priv; dvb 310 drivers/media/usb/cx231xx/cx231xx-dvb.c struct cx231xx_dvb *dvb = demux->priv; dvb 316 drivers/media/usb/cx231xx/cx231xx-dvb.c mutex_lock(&dvb->lock); dvb 317 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->nfeeds++; dvb 318 drivers/media/usb/cx231xx/cx231xx-dvb.c rc = dvb->nfeeds; dvb 320 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb->nfeeds == 1) { dvb 321 drivers/media/usb/cx231xx/cx231xx-dvb.c ret = start_streaming(dvb); dvb 326 drivers/media/usb/cx231xx/cx231xx-dvb.c mutex_unlock(&dvb->lock); dvb 333 drivers/media/usb/cx231xx/cx231xx-dvb.c struct cx231xx_dvb *dvb = demux->priv; dvb 336 drivers/media/usb/cx231xx/cx231xx-dvb.c mutex_lock(&dvb->lock); dvb 337 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->nfeeds--; dvb 339 drivers/media/usb/cx231xx/cx231xx-dvb.c if (0 == dvb->nfeeds) dvb 340 drivers/media/usb/cx231xx/cx231xx-dvb.c err = stop_streaming(dvb); dvb 342 drivers/media/usb/cx231xx/cx231xx-dvb.c mutex_unlock(&dvb->lock); dvb 349 drivers/media/usb/cx231xx/cx231xx-dvb.c struct cx231xx *dev = fe->dvb->priv; dvb 380 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dev->dvb->frontend[0]) { dvb 386 drivers/media/usb/cx231xx/cx231xx-dvb.c fe = dvb_attach(xc5000_attach, dev->dvb->frontend[0], &cfg); dvb 389 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_frontend_detach(dev->dvb->frontend[0]); dvb 390 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0] = NULL; dvb 402 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dev->dvb && dev->dvb->frontend[0]) { dvb 404 drivers/media/usb/cx231xx/cx231xx-dvb.c struct dvb_tuner_ops *dops = &dev->dvb->frontend[0]->ops.tuner_ops; dvb 415 drivers/media/usb/cx231xx/cx231xx-dvb.c dops->set_analog_params(dev->dvb->frontend[0], ¶ms); dvb 427 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dev->dvb && dev->dvb->frontend[0]) { dvb 429 drivers/media/usb/cx231xx/cx231xx-dvb.c struct dvb_tuner_ops *dops = &dev->dvb->frontend[0]->ops.tuner_ops; dvb 435 drivers/media/usb/cx231xx/cx231xx-dvb.c status = dops->init(dev->dvb->frontend[0]); dvb 454 drivers/media/usb/cx231xx/cx231xx-dvb.c static int register_dvb(struct cx231xx_dvb *dvb, dvb 460 drivers/media/usb/cx231xx/cx231xx-dvb.c mutex_init(&dvb->lock); dvb 464 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb_register_adapter(&dvb->adapter, dev->name, module, device, dvb 472 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_register_media_controller(&dvb->adapter, dev->media_dev); dvb 475 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->ops.ts_bus_ctrl = cx231xx_dvb_bus_ctrl; dvb 476 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb->frontend[1]) dvb 477 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[1]->ops.ts_bus_ctrl = cx231xx_dvb_bus_ctrl; dvb 479 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->adapter.priv = dev; dvb 482 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->frontend[0]); dvb 490 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb->frontend[1]) { dvb 491 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->frontend[1]); dvb 500 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->adapter.mfe_shared = 1; dvb 504 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.dmx.capabilities = dvb 507 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.priv = dvb; dvb 508 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.filternum = 256; dvb 509 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.feednum = 256; dvb 510 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.start_feed = start_feed; dvb 511 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.stop_feed = stop_feed; dvb 513 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb_dmx_init(&dvb->demux); dvb 521 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->dmxdev.filternum = 256; dvb 522 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->dmxdev.demux = &dvb->demux.dmx; dvb 523 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->dmxdev.capabilities = 0; dvb 524 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); dvb 532 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->fe_hw.source = DMX_FRONTEND_0; dvb 533 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 541 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->fe_mem.source = DMX_MEMORY_FE; dvb 542 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 550 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 559 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_net_init(&dvb->adapter, &dvb->net, &dvb->demux.dmx); dvb 560 drivers/media/usb/cx231xx/cx231xx-dvb.c result = dvb_create_media_graph(&dvb->adapter, dvb 568 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_net_release(&dvb->net); dvb 570 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 572 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 574 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 576 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_dmx_release(&dvb->demux); dvb 578 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb->frontend[1]) dvb 579 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_unregister_frontend(dvb->frontend[1]); dvb 580 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_unregister_frontend(dvb->frontend[0]); dvb 582 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb->frontend[1]) dvb 583 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_frontend_detach(dvb->frontend[1]); dvb 585 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_frontend_detach(dvb->frontend[0]); dvb 586 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 591 drivers/media/usb/cx231xx/cx231xx-dvb.c static void unregister_dvb(struct cx231xx_dvb *dvb) dvb 593 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_net_release(&dvb->net); dvb 594 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 595 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 596 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 597 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_dmx_release(&dvb->demux); dvb 598 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb->frontend[1]) dvb 599 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_unregister_frontend(dvb->frontend[1]); dvb 600 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_unregister_frontend(dvb->frontend[0]); dvb 601 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb->frontend[1]) dvb 602 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_frontend_detach(dvb->frontend[1]); dvb 603 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_frontend_detach(dvb->frontend[0]); dvb 604 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 607 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_module_release(dvb->i2c_client_tuner); dvb 608 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_tuner = NULL; dvb 610 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_module_release(dvb->i2c_client_demod[1]); dvb 611 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[1] = NULL; dvb 612 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_module_release(dvb->i2c_client_demod[0]); dvb 613 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = NULL; dvb 619 drivers/media/usb/cx231xx/cx231xx-dvb.c struct cx231xx_dvb *dvb; dvb 630 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb = kzalloc(sizeof(struct cx231xx_dvb), GFP_KERNEL); dvb 632 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dvb == NULL) { dvb 637 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb = dvb; dvb 651 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0] = dvb_attach(s5h1432_attach, dvb 655 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dev->dvb->frontend[0]) { dvb 663 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 665 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dvb_attach(xc5000_attach, dev->dvb->frontend[0], dvb 676 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0] = dvb_attach(s5h1411_attach, dvb 680 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dev->dvb->frontend[0]) { dvb 688 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 690 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dvb_attach(xc5000_attach, dev->dvb->frontend[0], dvb 699 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0] = dvb_attach(s5h1432_attach, dvb 703 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dev->dvb->frontend[0]) { dvb 711 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 713 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dvb_attach(tda18271_attach, dev->dvb->frontend[0], dvb 723 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0] = dvb_attach(s5h1411_attach, dvb 727 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dev->dvb->frontend[0]) { dvb 735 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 737 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dvb_attach(tda18271_attach, dev->dvb->frontend[0], dvb 750 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0] = dvb_attach(lgdt3305_attach, dvb 754 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dev->dvb->frontend[0]) { dvb 762 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 764 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_attach(tda18271_attach, dev->dvb->frontend[0], dvb 774 drivers/media/usb/cx231xx/cx231xx-dvb.c si2165_pdata.fe = &dev->dvb->frontend[0]; dvb 786 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = client; dvb 788 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; dvb 791 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 793 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_attach(tda18271_attach, dev->dvb->frontend[0], dvb 806 drivers/media/usb/cx231xx/cx231xx-dvb.c si2165_pdata.fe = &dev->dvb->frontend[0]; dvb 818 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = client; dvb 820 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; dvb 823 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 826 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; dvb 843 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->i2c_client_tuner = client; dvb 852 drivers/media/usb/cx231xx/cx231xx-dvb.c lgdt3306a_config.fe = &dev->dvb->frontend[0]; dvb 863 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = client; dvb 865 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; dvb 868 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 871 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; dvb 888 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->i2c_client_tuner = client; dvb 898 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0] = dvb_attach(mb86a20s_attach, dvb 902 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dev->dvb->frontend[0]) { dvb 910 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 912 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_attach(tda18271_attach, dev->dvb->frontend[0], dvb 924 drivers/media/usb/cx231xx/cx231xx-dvb.c si2168_config.fe = &dev->dvb->frontend[0]; dvb 936 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = client; dvb 939 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; dvb 955 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->i2c_client_tuner = client; dvb 965 drivers/media/usb/cx231xx/cx231xx-dvb.c mn88473_config.fe = &dev->dvb->frontend[0]; dvb 975 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = client; dvb 978 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 981 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_attach(r820t_attach, dev->dvb->frontend[0], dvb 993 drivers/media/usb/cx231xx/cx231xx-dvb.c si2168_config.fe = &dev->dvb->frontend[0]; dvb 1005 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = client; dvb 1006 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->frontend[0]->ops.i2c_gate_ctrl = NULL; dvb 1009 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 1012 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; dvb 1028 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb->i2c_client_tuner = client; dvb 1040 drivers/media/usb/cx231xx/cx231xx-dvb.c lgdt3306a_config.fe = &dev->dvb->frontend[0]; dvb 1051 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = client; dvb 1055 drivers/media/usb/cx231xx/cx231xx-dvb.c si2168_config.fe = &dev->dvb->frontend[1]; dvb 1067 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[1] = client; dvb 1068 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[1]->id = 1; dvb 1071 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[0]->callback = cx231xx_tuner_callback; dvb 1072 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[1]->callback = cx231xx_tuner_callback; dvb 1075 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; dvb 1091 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_tuner = client; dvb 1093 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->frontend[1]->tuner_priv = dvb->frontend[0]->tuner_priv; dvb 1095 drivers/media/usb/cx231xx/cx231xx-dvb.c memcpy(&dvb->frontend[1]->ops.tuner_ops, dvb 1096 drivers/media/usb/cx231xx/cx231xx-dvb.c &dvb->frontend[0]->ops.tuner_ops, dvb 1106 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!dvb->frontend[0]) { dvb 1114 drivers/media/usb/cx231xx/cx231xx-dvb.c result = register_dvb(dvb, THIS_MODULE, dev, dev->dev); dvb 1129 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_module_release(dvb->i2c_client_tuner); dvb 1130 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_tuner = NULL; dvb 1132 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_module_release(dvb->i2c_client_demod[1]); dvb 1133 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[1] = NULL; dvb 1134 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb_module_release(dvb->i2c_client_demod[0]); dvb 1135 drivers/media/usb/cx231xx/cx231xx-dvb.c dvb->i2c_client_demod[0] = NULL; dvb 1136 drivers/media/usb/cx231xx/cx231xx-dvb.c kfree(dvb); dvb 1137 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb = NULL; dvb 1148 drivers/media/usb/cx231xx/cx231xx-dvb.c if (dev->dvb) { dvb 1149 drivers/media/usb/cx231xx/cx231xx-dvb.c unregister_dvb(dev->dvb); dvb 1150 drivers/media/usb/cx231xx/cx231xx-dvb.c kfree(dev->dvb); dvb 1151 drivers/media/usb/cx231xx/cx231xx-dvb.c dev->dvb = NULL; dvb 689 drivers/media/usb/cx231xx/cx231xx.h struct cx231xx_dvb *dvb; dvb 49 drivers/media/usb/dvb-usb-v2/dvb_usb.h #define fe_to_adap(fe) ((struct dvb_usb_adapter *) ((fe)->dvb->priv)) dvb 555 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 594 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 806 drivers/media/usb/dvb-usb/af9005-fe.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 783 drivers/media/usb/dvb-usb/az6027.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 826 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1149 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1170 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 798 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 807 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 844 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 862 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1232 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1240 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1286 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1538 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1652 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 1808 drivers/media/usb/dvb-usb/dib0700_devices.c fe_slave->dvb = adap->fe_adap[0].fe->dvb; dvb 2119 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 2547 drivers/media/usb/dvb-usb/dib0700_devices.c fe_slave->dvb = adap->fe_adap[0].fe->dvb; dvb 2633 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 2669 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 2824 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 3344 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 3360 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 18 drivers/media/usb/dvb-usb/dibusb-mb.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 127 drivers/media/usb/dvb-usb/digitv.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 235 drivers/media/usb/dvb-usb/dvb-usb-dvb.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 252 drivers/media/usb/dvb-usb/dvb-usb-dvb.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 266 drivers/media/usb/dvb-usb/dvb-usb-dvb.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 982 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); dvb 997 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); dvb 1018 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); dvb 1029 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); dvb 176 drivers/media/usb/dvb-usb/opera1.c (struct dvb_usb_adapter *)(fe->dvb->priv); dvb 537 drivers/media/usb/dvb-usb/ttusb2.c struct dvb_usb_adapter *adap = fe->dvb->priv; dvb 176 drivers/media/usb/em28xx/em28xx-dvb.c dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, dvb 187 drivers/media/usb/em28xx/em28xx-dvb.c dvb_dmx_swfilter(&dev->dvb->demux, dvb 197 drivers/media/usb/em28xx/em28xx-dvb.c static int em28xx_start_streaming(struct em28xx_dvb *dvb) dvb 200 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; dvb 241 drivers/media/usb/em28xx/em28xx-dvb.c static int em28xx_stop_streaming(struct em28xx_dvb *dvb) dvb 243 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; dvb 254 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = demux->priv; dvb 260 drivers/media/usb/em28xx/em28xx-dvb.c mutex_lock(&dvb->lock); dvb 261 drivers/media/usb/em28xx/em28xx-dvb.c dvb->nfeeds++; dvb 262 drivers/media/usb/em28xx/em28xx-dvb.c rc = dvb->nfeeds; dvb 264 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->nfeeds == 1) { dvb 265 drivers/media/usb/em28xx/em28xx-dvb.c ret = em28xx_start_streaming(dvb); dvb 270 drivers/media/usb/em28xx/em28xx-dvb.c mutex_unlock(&dvb->lock); dvb 277 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = demux->priv; dvb 280 drivers/media/usb/em28xx/em28xx-dvb.c mutex_lock(&dvb->lock); dvb 281 drivers/media/usb/em28xx/em28xx-dvb.c dvb->nfeeds--; dvb 283 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->nfeeds) dvb 284 drivers/media/usb/em28xx/em28xx-dvb.c err = em28xx_stop_streaming(dvb); dvb 286 drivers/media/usb/em28xx/em28xx-dvb.c mutex_unlock(&dvb->lock); dvb 293 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; dvb 454 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = fe->sec_priv; dvb 457 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb) dvb 461 drivers/media/usb/em28xx/em28xx-dvb.c down(&dvb->pll_mutex); dvb 462 drivers/media/usb/em28xx/em28xx-dvb.c status = dvb->gate_ctrl(fe, 1); dvb 464 drivers/media/usb/em28xx/em28xx-dvb.c status = dvb->gate_ctrl(fe, 0); dvb 465 drivers/media/usb/em28xx/em28xx-dvb.c up(&dvb->pll_mutex); dvb 731 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; dvb 734 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 743 drivers/media/usb/em28xx/em28xx-dvb.c ret = gpio_request_one(dvb->lna_gpio, flags, NULL); dvb 747 drivers/media/usb/em28xx/em28xx-dvb.c gpio_free(dvb->lna_gpio); dvb 760 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; dvb 845 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb->i2c_client_demod->addr = 0x14; dvb 847 drivers/media/usb/em28xx/em28xx-dvb.c i2c_master_send(dev->dvb->i2c_client_demod, dvb 850 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb->i2c_client_demod->addr = 0x15; dvb 852 drivers/media/usb/em28xx/em28xx-dvb.c i2c_master_send(dev->dvb->i2c_client_demod, regs2[i].r, dvb 955 drivers/media/usb/em28xx/em28xx-dvb.c if (!dev->dvb->fe[0]) { dvb 961 drivers/media/usb/em28xx/em28xx-dvb.c fe = dvb_attach(xc2028_attach, dev->dvb->fe[0], &cfg); dvb 964 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dev->dvb->fe[0]); dvb 965 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb->fe[0] = NULL; dvb 976 drivers/media/usb/em28xx/em28xx-dvb.c static int em28xx_register_dvb(struct em28xx_dvb *dvb, struct module *module, dvb 982 drivers/media/usb/em28xx/em28xx-dvb.c mutex_init(&dvb->lock); dvb 985 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_register_adapter(&dvb->adapter, dvb 995 drivers/media/usb/em28xx/em28xx-dvb.c dvb->adapter.mdev = dev->media_dev; dvb 999 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.ts_bus_ctrl = em28xx_dvb_bus_ctrl; dvb 1000 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) dvb 1001 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1]->ops.ts_bus_ctrl = em28xx_dvb_bus_ctrl; dvb 1003 drivers/media/usb/em28xx/em28xx-dvb.c dvb->adapter.priv = &dev->i2c_bus[dev->def_i2c_bus]; dvb 1006 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->fe[0]); dvb 1015 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { dvb 1016 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->fe[1]); dvb 1026 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.dmx.capabilities = dvb 1029 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.priv = dvb; dvb 1030 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.filternum = 256; dvb 1031 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.feednum = 256; dvb 1032 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.start_feed = em28xx_start_feed; dvb 1033 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.stop_feed = em28xx_stop_feed; dvb 1035 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_dmx_init(&dvb->demux); dvb 1043 drivers/media/usb/em28xx/em28xx-dvb.c dvb->dmxdev.filternum = 256; dvb 1044 drivers/media/usb/em28xx/em28xx-dvb.c dvb->dmxdev.demux = &dvb->demux.dmx; dvb 1045 drivers/media/usb/em28xx/em28xx-dvb.c dvb->dmxdev.capabilities = 0; dvb 1046 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); dvb 1054 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe_hw.source = DMX_FRONTEND_0; dvb 1055 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 1063 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe_mem.source = DMX_MEMORY_FE; dvb 1064 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 1072 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 1081 drivers/media/usb/em28xx/em28xx-dvb.c dvb_net_init(&dvb->adapter, &dvb->net, &dvb->demux.dmx); dvb 1087 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_create_media_graph(&dvb->adapter, create_rf_connector); dvb 1094 drivers/media/usb/em28xx/em28xx-dvb.c dvb_net_release(&dvb->net); dvb 1096 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 1098 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 1100 drivers/media/usb/em28xx/em28xx-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 1102 drivers/media/usb/em28xx/em28xx-dvb.c dvb_dmx_release(&dvb->demux); dvb 1104 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) dvb 1105 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[1]); dvb 1106 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[0]); dvb 1108 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) dvb 1109 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[1]); dvb 1111 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); dvb 1112 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 1117 drivers/media/usb/em28xx/em28xx-dvb.c static void em28xx_unregister_dvb(struct em28xx_dvb *dvb) dvb 1119 drivers/media/usb/em28xx/em28xx-dvb.c dvb_net_release(&dvb->net); dvb 1120 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); dvb 1121 drivers/media/usb/em28xx/em28xx-dvb.c dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); dvb 1122 drivers/media/usb/em28xx/em28xx-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 1123 drivers/media/usb/em28xx/em28xx-dvb.c dvb_dmx_release(&dvb->demux); dvb 1124 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) dvb 1125 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[1]); dvb 1126 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[0]); dvb 1127 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1] && !dvb->dont_attach_fe1) dvb 1128 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[1]); dvb 1129 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); dvb 1130 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 1135 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 1146 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_demod = dvb_module_probe("tda10071", "tda10071_cx24118", dvb 1149 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_demod) dvb 1152 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = tda10071_pdata.get_dvb_frontend(dvb->i2c_client_demod); dvb 1155 drivers/media/usb/em28xx/em28xx-dvb.c a8293_pdata.dvb_frontend = dvb->fe[0]; dvb 1157 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_sec = dvb_module_probe("a8293", NULL, dvb 1160 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_sec) { dvb 1161 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1170 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 1184 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_demod = dvb_module_probe("m88ds3103", NULL, dvb 1187 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_demod) dvb 1190 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = m88ds3103_pdata.get_dvb_frontend(dvb->i2c_client_demod); dvb 1191 drivers/media/usb/em28xx/em28xx-dvb.c i2c_adapter = m88ds3103_pdata.get_i2c_adapter(dvb->i2c_client_demod); dvb 1194 drivers/media/usb/em28xx/em28xx-dvb.c ts2020_config.fe = dvb->fe[0]; dvb 1196 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_tuner = dvb_module_probe("ts2020", "ts2022", dvb 1199 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_tuner) { dvb 1200 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1205 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.read_signal_strength = dvb 1206 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.tuner_ops.get_rf_strength; dvb 1209 drivers/media/usb/em28xx/em28xx-dvb.c a8293_pdata.dvb_frontend = dvb->fe[0]; dvb 1210 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_sec = dvb_module_probe("a8293", NULL, dvb 1213 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_sec) { dvb 1214 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_tuner); dvb 1215 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1224 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 1231 drivers/media/usb/em28xx/em28xx-dvb.c si2168_config.fe = &dvb->fe[0]; dvb 1235 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_demod = dvb_module_probe("si2168", NULL, dvb 1238 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_demod) dvb 1242 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; dvb 1247 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_tuner = dvb_module_probe("si2157", NULL, dvb 1250 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_tuner) { dvb 1251 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1254 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.set_lna = em28xx_pctv_292e_set_lna; dvb 1261 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 1268 drivers/media/usb/em28xx/em28xx-dvb.c si2168_config.fe = &dvb->fe[0]; dvb 1271 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_demod = dvb_module_probe("si2168", NULL, dvb 1274 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_demod) dvb 1279 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; dvb 1284 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_tuner = dvb_module_probe("si2157", "si2146", dvb 1287 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_tuner) { dvb 1288 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1297 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 1302 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_demod = dvb_module_probe("tc90522", "tc90522sat", dvb 1305 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_demod) dvb 1312 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_tuner = dvb_module_probe("qm1d1c0042", NULL, dvb 1315 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_tuner) { dvb 1316 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1320 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = tc90522_config.fe; dvb 1328 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 1336 drivers/media/usb/em28xx/em28xx-dvb.c si2168_config.fe = &dvb->fe[0]; dvb 1341 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_demod = dvb_module_probe("si2168", NULL, dvb 1344 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_demod) dvb 1349 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; dvb 1356 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_tuner = dvb_module_probe("si2157", NULL, dvb 1359 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_tuner) { dvb 1360 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1369 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 1377 drivers/media/usb/em28xx/em28xx-dvb.c lgdt3306a_config.fe = &dvb->fe[0]; dvb 1381 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_demod = dvb_module_probe("lgdt3306a", NULL, dvb 1384 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_demod) dvb 1388 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; dvb 1396 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_tuner = dvb_module_probe("si2157", NULL, dvb 1399 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_tuner) { dvb 1400 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1410 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb; dvb 1425 drivers/media/usb/em28xx/em28xx-dvb.c dvb = kzalloc(sizeof(*dvb), GFP_KERNEL); dvb 1426 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb) dvb 1429 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb = dvb; dvb 1430 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = NULL; dvb 1431 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1] = NULL; dvb 1450 drivers/media/usb/em28xx/em28xx-dvb.c kfree(dvb); dvb 1451 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb = NULL; dvb 1460 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(s921_attach, dvb 1464 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1474 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt330x_attach, dvb 1484 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, dvb 1496 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, dvb 1513 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, dvb 1516 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) dvb 1517 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(mt352_attach, dvb 1527 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, dvb 1530 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1531 drivers/media/usb/em28xx/em28xx-dvb.c dvb_attach(mt2060_attach, dvb->fe[0], dvb 1537 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, dvb 1540 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) dvb 1541 drivers/media/usb/em28xx/em28xx-dvb.c dvb_attach(qt1010_attach, dvb->fe[0], dvb 1547 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(s5h1409_attach, dvb 1556 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt330x_attach, dvb 1560 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1561 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(simple_tuner_attach, dvb->fe[0], dvb 1571 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxd_attach, &em28xx_drxd, NULL, dvb 1581 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(tda10023_attach, dvb 1585 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1586 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(simple_tuner_attach, dvb->fe[0], dvb 1595 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt3305_attach, dvb 1598 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1602 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, dvb 1605 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); dvb 1612 drivers/media/usb/em28xx/em28xx-dvb.c dvb->lna_gpio = CXD2820R_GPIO_E | CXD2820R_GPIO_O | dvb 1614 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(cxd2820r_attach, dvb 1617 drivers/media/usb/em28xx/em28xx-dvb.c &dvb->lna_gpio); dvb 1618 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1621 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0], dvb 1625 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); dvb 1632 drivers/media/usb/em28xx/em28xx-dvb.c result = gpio_request_one(dvb->lna_gpio, dvb 1639 drivers/media/usb/em28xx/em28xx-dvb.c gpio_free(dvb->lna_gpio); dvb 1643 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.set_lna = em28xx_pctv_290e_set_lna; dvb 1653 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, dvb 1656 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1661 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->sec_priv = dvb; dvb 1662 drivers/media/usb/em28xx/em28xx-dvb.c sema_init(&dvb->pll_mutex, 1); dvb 1663 drivers/media/usb/em28xx/em28xx-dvb.c dvb->gate_ctrl = dvb->fe[0]->ops.i2c_gate_ctrl; dvb 1664 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl = drxk_gate_ctrl; dvb 1670 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) dvb 1671 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 1); dvb 1672 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(xc5000_attach, dvb->fe[0], dvb 1677 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) dvb 1678 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 0); dvb 1685 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &terratec_h5_drxk, dvb 1687 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1692 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->sec_priv = dvb; dvb 1693 drivers/media/usb/em28xx/em28xx-dvb.c sema_init(&dvb->pll_mutex, 1); dvb 1694 drivers/media/usb/em28xx/em28xx-dvb.c dvb->gate_ctrl = dvb->fe[0]->ops.i2c_gate_ctrl; dvb 1695 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl = drxk_gate_ctrl; dvb 1698 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) dvb 1699 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 1); dvb 1700 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271c2dd_attach, dvb->fe[0], dvb 1705 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) dvb 1706 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 0); dvb 1710 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(mb86a20s_attach, dvb 1713 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) dvb 1714 drivers/media/usb/em28xx/em28xx-dvb.c dvb_attach(tda18271_attach, dvb->fe[0], 0x60, dvb 1726 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &maxmedia_ub425_tc_drxk, dvb 1729 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1731 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl = NULL; dvb 1734 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, dvb 1737 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); dvb 1748 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &pctv_520e_drxk, dvb 1751 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1753 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, dvb 1756 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); dvb 1768 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &terratec_htc_stick_drxk, dvb 1770 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1776 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, dvb 1787 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &terratec_htc_stick_drxk, dvb 1789 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1795 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, dvb 1803 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt3305_attach, dvb 1806 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1812 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, dvb 1823 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt3305_attach, dvb 1826 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1832 drivers/media/usb/em28xx/em28xx-dvb.c kworld_ub435q_v3_config.fe = dvb->fe[0]; dvb 1834 drivers/media/usb/em28xx/em28xx-dvb.c dvb->i2c_client_tuner = dvb_module_probe("tda18212", NULL, dvb 1837 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->i2c_client_tuner) { dvb 1838 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); dvb 1845 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drx39xxj_attach, dvb 1847 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1848 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(tda18271_attach, dvb->fe[0], dvb 1852 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1893 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { dvb 1899 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->callback = em28xx_tuner_callback; dvb 1900 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) dvb 1901 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1]->callback = em28xx_tuner_callback; dvb 1904 drivers/media/usb/em28xx/em28xx-dvb.c result = em28xx_register_dvb(dvb, THIS_MODULE, dev, &dev->intf->dev); dvb 1927 drivers/media/usb/em28xx/em28xx-dvb.c kfree(dvb); dvb 1928 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb = NULL; dvb 1941 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb; dvb 1953 drivers/media/usb/em28xx/em28xx-dvb.c if (!dev->dvb) dvb 1958 drivers/media/usb/em28xx/em28xx-dvb.c dvb = dev->dvb; dvb 1967 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 1968 drivers/media/usb/em28xx/em28xx-dvb.c prevent_sleep(&dvb->fe[0]->ops); dvb 1969 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->exit = DVB_FE_DEVICE_REMOVED; dvb 1971 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { dvb 1972 drivers/media/usb/em28xx/em28xx-dvb.c prevent_sleep(&dvb->fe[1]->ops); dvb 1973 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1]->exit = DVB_FE_DEVICE_REMOVED; dvb 1977 drivers/media/usb/em28xx/em28xx-dvb.c em28xx_unregister_dvb(dvb); dvb 1980 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_sec); dvb 1981 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_tuner); dvb 1982 drivers/media/usb/em28xx/em28xx-dvb.c dvb_module_release(dvb->i2c_client_demod); dvb 1984 drivers/media/usb/em28xx/em28xx-dvb.c kfree(dvb); dvb 1985 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb = NULL; dvb 2002 drivers/media/usb/em28xx/em28xx-dvb.c if (dev->dvb) { dvb 2003 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 2005 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 2006 drivers/media/usb/em28xx/em28xx-dvb.c ret = dvb_frontend_suspend(dvb->fe[0]); dvb 2009 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { dvb 2010 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_suspend(dvb->fe[1]); dvb 2029 drivers/media/usb/em28xx/em28xx-dvb.c if (dev->dvb) { dvb 2030 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = dev->dvb; dvb 2032 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { dvb 2033 drivers/media/usb/em28xx/em28xx-dvb.c ret = dvb_frontend_resume(dvb->fe[0]); dvb 2037 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { dvb 2038 drivers/media/usb/em28xx/em28xx-dvb.c ret = dvb_frontend_resume(dvb->fe[1]); dvb 648 drivers/media/usb/em28xx/em28xx.h struct em28xx_dvb *dvb; dvb 237 drivers/media/usb/pvrusb2/pvrusb2-dvb.c struct pvr2_dvb_adapter *adap = fe->dvb->priv; dvb 91 drivers/media/usb/tm6000/tm6000-dvb.c dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, dvb 94 drivers/media/usb/tm6000/tm6000-dvb.c if (dev->dvb->streams > 0) { dvb 100 drivers/media/usb/tm6000/tm6000-dvb.c dev->dvb->bulk_urb = NULL; dvb 109 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb = dev->dvb; dvb 118 drivers/media/usb/tm6000/tm6000-dvb.c dvb->bulk_urb = usb_alloc_urb(0, GFP_KERNEL); dvb 119 drivers/media/usb/tm6000/tm6000-dvb.c if (!dvb->bulk_urb) dvb 128 drivers/media/usb/tm6000/tm6000-dvb.c dvb->bulk_urb->transfer_buffer = kzalloc(size, GFP_KERNEL); dvb 129 drivers/media/usb/tm6000/tm6000-dvb.c if (!dvb->bulk_urb->transfer_buffer) { dvb 130 drivers/media/usb/tm6000/tm6000-dvb.c usb_free_urb(dvb->bulk_urb); dvb 131 drivers/media/usb/tm6000/tm6000-dvb.c dvb->bulk_urb = NULL; dvb 135 drivers/media/usb/tm6000/tm6000-dvb.c usb_fill_bulk_urb(dvb->bulk_urb, dev->udev, pipe, dvb 136 drivers/media/usb/tm6000/tm6000-dvb.c dvb->bulk_urb->transfer_buffer, dvb 149 drivers/media/usb/tm6000/tm6000-dvb.c ret = usb_submit_urb(dvb->bulk_urb, GFP_ATOMIC); dvb 156 drivers/media/usb/tm6000/tm6000-dvb.c kfree(dvb->bulk_urb->transfer_buffer); dvb 157 drivers/media/usb/tm6000/tm6000-dvb.c usb_free_urb(dvb->bulk_urb); dvb 158 drivers/media/usb/tm6000/tm6000-dvb.c dvb->bulk_urb = NULL; dvb 167 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb = dev->dvb; dvb 169 drivers/media/usb/tm6000/tm6000-dvb.c if (dvb->bulk_urb) { dvb 171 drivers/media/usb/tm6000/tm6000-dvb.c usb_kill_urb(dvb->bulk_urb); dvb 173 drivers/media/usb/tm6000/tm6000-dvb.c kfree(dvb->bulk_urb->transfer_buffer); dvb 174 drivers/media/usb/tm6000/tm6000-dvb.c usb_free_urb(dvb->bulk_urb); dvb 175 drivers/media/usb/tm6000/tm6000-dvb.c dvb->bulk_urb = NULL; dvb 183 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb = dev->dvb; dvb 186 drivers/media/usb/tm6000/tm6000-dvb.c mutex_lock(&dvb->mutex); dvb 187 drivers/media/usb/tm6000/tm6000-dvb.c if (dvb->streams == 0) { dvb 188 drivers/media/usb/tm6000/tm6000-dvb.c dvb->streams = 1; dvb 192 drivers/media/usb/tm6000/tm6000-dvb.c ++(dvb->streams); dvb 193 drivers/media/usb/tm6000/tm6000-dvb.c mutex_unlock(&dvb->mutex); dvb 202 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb = dev->dvb; dvb 206 drivers/media/usb/tm6000/tm6000-dvb.c mutex_lock(&dvb->mutex); dvb 208 drivers/media/usb/tm6000/tm6000-dvb.c printk(KERN_INFO "stream %#x\n", dvb->streams); dvb 209 drivers/media/usb/tm6000/tm6000-dvb.c --(dvb->streams); dvb 210 drivers/media/usb/tm6000/tm6000-dvb.c if (dvb->streams == 0) { dvb 215 drivers/media/usb/tm6000/tm6000-dvb.c mutex_unlock(&dvb->mutex); dvb 223 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb = dev->dvb; dvb 234 drivers/media/usb/tm6000/tm6000-dvb.c dvb->frontend = dvb_attach(zl10353_attach, &config, dvb 241 drivers/media/usb/tm6000/tm6000-dvb.c return (!dvb->frontend) ? -1 : 0; dvb 249 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb = dev->dvb; dvb 251 drivers/media/usb/tm6000/tm6000-dvb.c mutex_init(&dvb->mutex); dvb 253 drivers/media/usb/tm6000/tm6000-dvb.c dvb->streams = 0; dvb 262 drivers/media/usb/tm6000/tm6000-dvb.c ret = dvb_register_adapter(&dvb->adapter, "Trident TVMaster 6000 DVB-T", dvb 269 drivers/media/usb/tm6000/tm6000-dvb.c dvb->adapter.priv = dev; dvb 271 drivers/media/usb/tm6000/tm6000-dvb.c if (dvb->frontend) { dvb 279 drivers/media/usb/tm6000/tm6000-dvb.c dvb->frontend->callback = tm6000_tuner_callback; dvb 280 drivers/media/usb/tm6000/tm6000-dvb.c ret = dvb_register_frontend(&dvb->adapter, dvb->frontend); dvb 287 drivers/media/usb/tm6000/tm6000-dvb.c if (!dvb_attach(xc2028_attach, dvb->frontend, &cfg)) { dvb 300 drivers/media/usb/tm6000/tm6000-dvb.c dvb->frontend->callback = tm6000_xc5000_callback; dvb 301 drivers/media/usb/tm6000/tm6000-dvb.c ret = dvb_register_frontend(&dvb->adapter, dvb->frontend); dvb 308 drivers/media/usb/tm6000/tm6000-dvb.c if (!dvb_attach(xc5000_attach, dvb->frontend, &dev->i2c_adap, &cfg)) { dvb 320 drivers/media/usb/tm6000/tm6000-dvb.c dvb->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING dvb 322 drivers/media/usb/tm6000/tm6000-dvb.c dvb->demux.priv = dev; dvb 323 drivers/media/usb/tm6000/tm6000-dvb.c dvb->demux.filternum = 8; dvb 324 drivers/media/usb/tm6000/tm6000-dvb.c dvb->demux.feednum = 8; dvb 325 drivers/media/usb/tm6000/tm6000-dvb.c dvb->demux.start_feed = tm6000_start_feed; dvb 326 drivers/media/usb/tm6000/tm6000-dvb.c dvb->demux.stop_feed = tm6000_stop_feed; dvb 327 drivers/media/usb/tm6000/tm6000-dvb.c dvb->demux.write_to_decoder = NULL; dvb 328 drivers/media/usb/tm6000/tm6000-dvb.c ret = dvb_dmx_init(&dvb->demux); dvb 334 drivers/media/usb/tm6000/tm6000-dvb.c dvb->dmxdev.filternum = dev->dvb->demux.filternum; dvb 335 drivers/media/usb/tm6000/tm6000-dvb.c dvb->dmxdev.demux = &dev->dvb->demux.dmx; dvb 336 drivers/media/usb/tm6000/tm6000-dvb.c dvb->dmxdev.capabilities = 0; dvb 338 drivers/media/usb/tm6000/tm6000-dvb.c ret = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); dvb 347 drivers/media/usb/tm6000/tm6000-dvb.c dvb_dmx_release(&dvb->demux); dvb 349 drivers/media/usb/tm6000/tm6000-dvb.c if (dvb->frontend) { dvb 350 drivers/media/usb/tm6000/tm6000-dvb.c dvb_unregister_frontend(dvb->frontend); dvb 351 drivers/media/usb/tm6000/tm6000-dvb.c dvb_frontend_detach(dvb->frontend); dvb 354 drivers/media/usb/tm6000/tm6000-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 361 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb = dev->dvb; dvb 363 drivers/media/usb/tm6000/tm6000-dvb.c if (dvb->bulk_urb) { dvb 364 drivers/media/usb/tm6000/tm6000-dvb.c struct urb *bulk_urb = dvb->bulk_urb; dvb 373 drivers/media/usb/tm6000/tm6000-dvb.c if (dvb->frontend) { dvb 374 drivers/media/usb/tm6000/tm6000-dvb.c dvb_unregister_frontend(dvb->frontend); dvb 375 drivers/media/usb/tm6000/tm6000-dvb.c dvb_frontend_detach(dvb->frontend); dvb 378 drivers/media/usb/tm6000/tm6000-dvb.c dvb_dmxdev_release(&dvb->dmxdev); dvb 379 drivers/media/usb/tm6000/tm6000-dvb.c dvb_dmx_release(&dvb->demux); dvb 380 drivers/media/usb/tm6000/tm6000-dvb.c dvb_unregister_adapter(&dvb->adapter); dvb 381 drivers/media/usb/tm6000/tm6000-dvb.c mutex_destroy(&dvb->mutex); dvb 387 drivers/media/usb/tm6000/tm6000-dvb.c struct tm6000_dvb *dvb; dvb 401 drivers/media/usb/tm6000/tm6000-dvb.c dvb = kzalloc(sizeof(struct tm6000_dvb), GFP_KERNEL); dvb 402 drivers/media/usb/tm6000/tm6000-dvb.c if (!dvb) dvb 405 drivers/media/usb/tm6000/tm6000-dvb.c dev->dvb = dvb; dvb 409 drivers/media/usb/tm6000/tm6000-dvb.c kfree(dvb); dvb 410 drivers/media/usb/tm6000/tm6000-dvb.c dev->dvb = NULL; dvb 425 drivers/media/usb/tm6000/tm6000-dvb.c if (dev->dvb) { dvb 427 drivers/media/usb/tm6000/tm6000-dvb.c kfree(dev->dvb); dvb 428 drivers/media/usb/tm6000/tm6000-dvb.c dev->dvb = NULL; dvb 231 drivers/media/usb/tm6000/tm6000.h struct tm6000_dvb *dvb; dvb 471 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 512 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 521 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 1010 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 1038 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 1065 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 1138 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 1272 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 1316 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; dvb 1344 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = fe->dvb->priv; dvb 1389 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb *ttusb = (struct ttusb *) fe->dvb->priv; dvb 1635 drivers/media/usb/ttusb-dec/ttusb_dec.c struct ttusb_dec* dec = fe->dvb->priv; dvb 245 drivers/pinctrl/sirf/pinctrl-atlas7.c #define MUX(b, pad, f, dr, db, dvr, dvb) \ dvb 253 drivers/pinctrl/sirf/pinctrl-atlas7.c .dinput_val_bit = dvb, \ dvb 689 include/media/dvb_frontend.h struct dvb_adapter *dvb; dvb 714 include/media/dvb_frontend.h int dvb_register_frontend(struct dvb_adapter *dvb, dvb 42 include/media/videobuf2-dvb.h struct vb2_dvb dvb; dvb 167 include/uapi/linux/cec-funcs.h struct cec_op_dvb_data dvb; dvb 217 include/uapi/linux/cec-funcs.h *msg++ = digital->dvb.transport_id >> 8; dvb 218 include/uapi/linux/cec-funcs.h *msg++ = digital->dvb.transport_id & 0xff; dvb 219 include/uapi/linux/cec-funcs.h *msg++ = digital->dvb.service_id >> 8; dvb 220 include/uapi/linux/cec-funcs.h *msg++ = digital->dvb.service_id & 0xff; dvb 221 include/uapi/linux/cec-funcs.h *msg++ = digital->dvb.orig_network_id >> 8; dvb 222 include/uapi/linux/cec-funcs.h *msg++ = digital->dvb.orig_network_id & 0xff; dvb 238 include/uapi/linux/cec-funcs.h digital->dvb.transport_id = (msg[1] << 8) | msg[2]; dvb 239 include/uapi/linux/cec-funcs.h digital->dvb.service_id = (msg[3] << 8) | msg[4]; dvb 240 include/uapi/linux/cec-funcs.h digital->dvb.orig_network_id = (msg[5] << 8) | msg[6]; dvb 201 include/uapi/linux/media.h int dvb;