pvrusb2-dvb.h 738 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef __PVRUSB2_DVB_H__
  2. #define __PVRUSB2_DVB_H__
  3. #include "dvb_frontend.h"
  4. #include "dvb_demux.h"
  5. #include "dvb_net.h"
  6. #include "dmxdev.h"
  7. #include "pvrusb2-context.h"
  8. struct pvr2_dvb_adapter {
  9. struct pvr2_context *pvr;
  10. struct dvb_adapter dvb_adap;
  11. struct dmxdev dmxdev;
  12. struct dvb_demux demux;
  13. struct dvb_net dvb_net;
  14. struct dvb_frontend *fe;
  15. int feedcount;
  16. int max_feed_count;
  17. struct task_struct *thread;
  18. struct mutex lock;
  19. unsigned int digital_up:1;
  20. };
  21. struct pvr2_dvb_props {
  22. int (*frontend_attach) (struct pvr2_dvb_adapter *);
  23. int (*tuner_attach) (struct pvr2_dvb_adapter *);
  24. };
  25. int pvr2_dvb_init(struct pvr2_context *pvr);
  26. int pvr2_dvb_exit(struct pvr2_context *pvr);
  27. #endif /* __PVRUSB2_DVB_H__ */