• Home
  • Raw
  • Download

Lines Matching refs:dvb

236 	struct saa7164_dvb *dvb = &port->dvb;  in saa7164_dvb_start_feed()  local
245 if (dvb) { in saa7164_dvb_start_feed()
246 mutex_lock(&dvb->lock); in saa7164_dvb_start_feed()
247 if (dvb->feeding++ == 0) { in saa7164_dvb_start_feed()
251 mutex_unlock(&dvb->lock); in saa7164_dvb_start_feed()
253 __func__, port->nr, dvb->feeding); in saa7164_dvb_start_feed()
263 struct saa7164_dvb *dvb = &port->dvb; in saa7164_dvb_stop_feed() local
269 if (dvb) { in saa7164_dvb_stop_feed()
270 mutex_lock(&dvb->lock); in saa7164_dvb_stop_feed()
271 if (--dvb->feeding == 0) { in saa7164_dvb_stop_feed()
275 mutex_unlock(&dvb->lock); in saa7164_dvb_stop_feed()
277 __func__, port->nr, dvb->feeding); in saa7164_dvb_stop_feed()
285 struct saa7164_dvb *dvb = &port->dvb; in dvb_register() local
339 result = dvb_register_adapter(&dvb->adapter, DRIVER_NAME, THIS_MODULE, in dvb_register()
346 dvb->adapter.priv = port; in dvb_register()
349 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); in dvb_register()
357 dvb->demux.dmx.capabilities = in dvb_register()
360 dvb->demux.priv = port; in dvb_register()
361 dvb->demux.filternum = 256; in dvb_register()
362 dvb->demux.feednum = 256; in dvb_register()
363 dvb->demux.start_feed = saa7164_dvb_start_feed; in dvb_register()
364 dvb->demux.stop_feed = saa7164_dvb_stop_feed; in dvb_register()
365 result = dvb_dmx_init(&dvb->demux); in dvb_register()
372 dvb->dmxdev.filternum = 256; in dvb_register()
373 dvb->dmxdev.demux = &dvb->demux.dmx; in dvb_register()
374 dvb->dmxdev.capabilities = 0; in dvb_register()
375 result = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); in dvb_register()
382 dvb->fe_hw.source = DMX_FRONTEND_0; in dvb_register()
383 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
390 dvb->fe_mem.source = DMX_MEMORY_FE; in dvb_register()
391 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
398 result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
406 dvb_net_init(&dvb->adapter, &dvb->net, &dvb->demux.dmx); in dvb_register()
410 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
412 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
414 dvb_dmxdev_release(&dvb->dmxdev); in dvb_register()
416 dvb_dmx_release(&dvb->demux); in dvb_register()
418 dvb_unregister_frontend(dvb->frontend); in dvb_register()
420 dvb_frontend_detach(dvb->frontend); in dvb_register()
421 dvb_unregister_adapter(&dvb->adapter); in dvb_register()
428 struct saa7164_dvb *dvb = &port->dvb; in saa7164_dvb_unregister() local
447 if (dvb->frontend == NULL) in saa7164_dvb_unregister()
450 dvb_net_release(&dvb->net); in saa7164_dvb_unregister()
451 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in saa7164_dvb_unregister()
452 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in saa7164_dvb_unregister()
453 dvb_dmxdev_release(&dvb->dmxdev); in saa7164_dvb_unregister()
454 dvb_dmx_release(&dvb->demux); in saa7164_dvb_unregister()
455 dvb_unregister_frontend(dvb->frontend); in saa7164_dvb_unregister()
456 dvb_frontend_detach(dvb->frontend); in saa7164_dvb_unregister()
457 dvb_unregister_adapter(&dvb->adapter); in saa7164_dvb_unregister()
467 struct saa7164_dvb *dvb = &port->dvb; in saa7164_dvb_register() local
483 port->dvb.frontend = dvb_attach(tda10048_attach, in saa7164_dvb_register()
487 if (port->dvb.frontend != NULL) { in saa7164_dvb_register()
489 dvb_attach(tda18271_attach, port->dvb.frontend, in saa7164_dvb_register()
496 port->dvb.frontend = dvb_attach(tda10048_attach, in saa7164_dvb_register()
500 if (port->dvb.frontend != NULL) { in saa7164_dvb_register()
502 dvb_attach(tda18271_attach, port->dvb.frontend, in saa7164_dvb_register()
515 port->dvb.frontend = dvb_attach(s5h1411_attach, in saa7164_dvb_register()
519 if (port->dvb.frontend != NULL) { in saa7164_dvb_register()
523 dvb_attach(tda18271_attach, port->dvb.frontend, in saa7164_dvb_register()
528 dvb_attach(tda18271_attach, port->dvb.frontend, in saa7164_dvb_register()
540 if (NULL == dvb->frontend) { in saa7164_dvb_register()
549 if (dvb->frontend->ops.release) in saa7164_dvb_register()
550 dvb->frontend->ops.release(dvb->frontend); in saa7164_dvb_register()