• Home
  • Raw
  • Download

Lines Matching refs:dvb

138 	dvb_dmx_swfilter_packets(&dev->dvb.demux,  in urb_completion()
224 struct au0828_dvb *dvb = &dev->dvb; in au0828_dvb_start_feed() local
232 if (dvb) { in au0828_dvb_start_feed()
233 mutex_lock(&dvb->lock); in au0828_dvb_start_feed()
234 if (dvb->feeding++ == 0) { in au0828_dvb_start_feed()
242 mutex_unlock(&dvb->lock); in au0828_dvb_start_feed()
252 struct au0828_dvb *dvb = &dev->dvb; in au0828_dvb_stop_feed() local
257 if (dvb) { in au0828_dvb_stop_feed()
258 mutex_lock(&dvb->lock); in au0828_dvb_stop_feed()
259 if (--dvb->feeding == 0) { in au0828_dvb_stop_feed()
264 mutex_unlock(&dvb->lock); in au0828_dvb_stop_feed()
274 struct au0828_dvb *dvb = &dev->dvb; in au0828_restart_dvb_streaming() local
281 mutex_lock(&dvb->lock); in au0828_restart_dvb_streaming()
297 mutex_unlock(&dvb->lock); in au0828_restart_dvb_streaming()
302 struct au0828_dvb *dvb = &dev->dvb; in dvb_register() local
310 result = dvb_register_adapter(&dvb->adapter, DRIVER_NAME, THIS_MODULE, in dvb_register()
317 dvb->adapter.priv = dev; in dvb_register()
320 result = dvb_register_frontend(&dvb->adapter, dvb->frontend); in dvb_register()
328 dvb->demux.dmx.capabilities = in dvb_register()
331 dvb->demux.priv = dev; in dvb_register()
332 dvb->demux.filternum = 256; in dvb_register()
333 dvb->demux.feednum = 256; in dvb_register()
334 dvb->demux.start_feed = au0828_dvb_start_feed; in dvb_register()
335 dvb->demux.stop_feed = au0828_dvb_stop_feed; in dvb_register()
336 result = dvb_dmx_init(&dvb->demux); in dvb_register()
343 dvb->dmxdev.filternum = 256; in dvb_register()
344 dvb->dmxdev.demux = &dvb->demux.dmx; in dvb_register()
345 dvb->dmxdev.capabilities = 0; in dvb_register()
346 result = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); in dvb_register()
353 dvb->fe_hw.source = DMX_FRONTEND_0; in dvb_register()
354 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
361 dvb->fe_mem.source = DMX_MEMORY_FE; in dvb_register()
362 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
369 result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
377 dvb_net_init(&dvb->adapter, &dvb->net, &dvb->demux.dmx); in dvb_register()
381 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
383 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
385 dvb_dmxdev_release(&dvb->dmxdev); in dvb_register()
387 dvb_dmx_release(&dvb->demux); in dvb_register()
389 dvb_unregister_frontend(dvb->frontend); in dvb_register()
391 dvb_frontend_detach(dvb->frontend); in dvb_register()
392 dvb_unregister_adapter(&dvb->adapter); in dvb_register()
399 struct au0828_dvb *dvb = &dev->dvb; in au0828_dvb_unregister() local
403 if (dvb->frontend == NULL) in au0828_dvb_unregister()
406 dvb_net_release(&dvb->net); in au0828_dvb_unregister()
407 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in au0828_dvb_unregister()
408 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in au0828_dvb_unregister()
409 dvb_dmxdev_release(&dvb->dmxdev); in au0828_dvb_unregister()
410 dvb_dmx_release(&dvb->demux); in au0828_dvb_unregister()
411 dvb_unregister_frontend(dvb->frontend); in au0828_dvb_unregister()
412 dvb_frontend_detach(dvb->frontend); in au0828_dvb_unregister()
413 dvb_unregister_adapter(&dvb->adapter); in au0828_dvb_unregister()
422 struct au0828_dvb *dvb = &dev->dvb; in au0828_dvb_register() local
431 dvb->frontend = dvb_attach(au8522_attach, in au0828_dvb_register()
434 if (dvb->frontend != NULL) in au0828_dvb_register()
438 dvb_attach(xc5000_attach, dvb->frontend, in au0828_dvb_register()
443 dvb_attach(xc5000_attach, dvb->frontend, in au0828_dvb_register()
450 dvb->frontend = dvb_attach(au8522_attach, in au0828_dvb_register()
453 if (dvb->frontend != NULL) in au0828_dvb_register()
454 dvb_attach(mxl5007t_attach, dvb->frontend, in au0828_dvb_register()
459 dvb->frontend = dvb_attach(au8522_attach, in au0828_dvb_register()
462 if (dvb->frontend != NULL) in au0828_dvb_register()
463 dvb_attach(tda18271_attach, dvb->frontend, in au0828_dvb_register()
468 dvb->frontend = dvb_attach(au8522_attach, in au0828_dvb_register()
471 if (dvb->frontend != NULL) { in au0828_dvb_register()
472 dvb_attach(xc5000_attach, dvb->frontend, in au0828_dvb_register()
482 if (NULL == dvb->frontend) { in au0828_dvb_register()
488 dvb->frontend->callback = au0828_tuner_callback; in au0828_dvb_register()
493 if (dvb->frontend->ops.release) in au0828_dvb_register()
494 dvb->frontend->ops.release(dvb->frontend); in au0828_dvb_register()