video-buf-dvb.h 904 B

123456789101112131415161718192021222324252627282930313233343536
  1. #include <dvbdev.h>
  2. #include <dmxdev.h>
  3. #include <dvb_demux.h>
  4. #include <dvb_net.h>
  5. #include <dvb_frontend.h>
  6. struct videobuf_dvb {
  7. /* filling that the job of the driver */
  8. char *name;
  9. struct dvb_frontend *frontend;
  10. struct videobuf_queue dvbq;
  11. /* video-buf-dvb state info */
  12. struct mutex lock;
  13. struct task_struct *thread;
  14. int nfeeds;
  15. /* videobuf_dvb_(un)register manges this */
  16. struct dvb_adapter adapter;
  17. struct dvb_demux demux;
  18. struct dmxdev dmxdev;
  19. struct dmx_frontend fe_hw;
  20. struct dmx_frontend fe_mem;
  21. struct dvb_net net;
  22. };
  23. int videobuf_dvb_register(struct videobuf_dvb *dvb,
  24. struct module *module,
  25. void *adapter_priv);
  26. void videobuf_dvb_unregister(struct videobuf_dvb *dvb);
  27. /*
  28. * Local variables:
  29. * c-basic-offset: 8
  30. * End:
  31. */