dvb-bt8xx.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * Bt8xx based DVB adapter driver
  3. *
  4. * Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.org>
  5. * Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@htp-tel.de>
  6. * Copyright (C) 1999-2001 Ralph Metzler & Marcus Metzler for convergence integrated media GmbH
  7. * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.de>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. */
  20. #ifndef DVB_BT8XX_H
  21. #define DVB_BT8XX_H
  22. #include <linux/i2c.h>
  23. #include <linux/mutex.h>
  24. #include <media/dvbdev.h>
  25. #include <media/dvb_net.h>
  26. #include "bttv.h"
  27. #include "mt352.h"
  28. #include "sp887x.h"
  29. #include "dst_common.h"
  30. #include "nxt6000.h"
  31. #include "cx24110.h"
  32. #include "or51211.h"
  33. #include "lgdt330x.h"
  34. #include "zl10353.h"
  35. #include "tuner-simple.h"
  36. struct dvb_bt8xx_card {
  37. struct mutex lock;
  38. int nfeeds;
  39. char card_name[32];
  40. struct dvb_adapter dvb_adapter;
  41. struct bt878 *bt;
  42. unsigned int bttv_nr;
  43. struct dvb_demux demux;
  44. struct dmxdev dmxdev;
  45. struct dmx_frontend fe_hw;
  46. struct dmx_frontend fe_mem;
  47. u32 gpio_mode;
  48. u32 op_sync_orin;
  49. u32 irq_err_ignore;
  50. struct i2c_adapter *i2c_adapter;
  51. struct dvb_net dvbnet;
  52. struct dvb_frontend* fe;
  53. };
  54. #endif /* DVB_BT8XX_H */