summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dibusb/dvb-dibusb.h
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-03-14 13:44:17 +0000
committerPatrick Boettcher <devnull@localhost>2005-03-14 13:44:17 +0000
commit9b285da2fbc8953c49ee1fffc5275ee742c77347 (patch)
treedeb2bc6979ae1966c23d7c25e9df3949d7fdf119 /linux/drivers/media/dvb/dibusb/dvb-dibusb.h
parente1d82fd29f6490d656020ed16634e33fc4aca471 (diff)
downloadmediapointer-dvb-s2-9b285da2fbc8953c49ee1fffc5275ee742c77347.tar.gz
mediapointer-dvb-s2-9b285da2fbc8953c49ee1fffc5275ee742c77347.tar.bz2
- added native support for the dtt200u (Yakumo/Typhoon/Hama) USB2.0 device
- URBs are now submitted, when the actual transfer began, not right from the device plugin (solves a lot of problems) - minor fixes in the dib3000-frontends
Diffstat (limited to 'linux/drivers/media/dvb/dibusb/dvb-dibusb.h')
-rw-r--r--linux/drivers/media/dvb/dibusb/dvb-dibusb.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb.h b/linux/drivers/media/dvb/dibusb/dvb-dibusb.h
index e42182502..354096c11 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb.h
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb.h
@@ -74,6 +74,7 @@ typedef enum {
UMT2_0,
DIBUSB2_0B,
NOVAT_USB2,
+ DTT200U,
} dibusb_class_t;
typedef enum {
@@ -87,6 +88,7 @@ typedef enum {
DIBUSB_DIB3000MB = 0,
DIBUSB_DIB3000MC,
DIBUSB_MT352,
+ DTT200U_FE,
} dibusb_demodulator_t;
typedef enum {
@@ -155,10 +157,11 @@ struct usb_dibusb {
#define DIBUSB_STATE_INIT 0x000
#define DIBUSB_STATE_URB_LIST 0x001
#define DIBUSB_STATE_URB_BUF 0x002
-#define DIBUSB_STATE_URB_SUBMIT 0x004
+#define DIBUSB_STATE_URB_INIT 0x004
#define DIBUSB_STATE_DVB 0x008
#define DIBUSB_STATE_I2C 0x010
#define DIBUSB_STATE_REMOTE 0x020
+#define DIBUSB_STATE_URB_SUBMIT 0x040
int init_state;
int feedcount;
@@ -223,6 +226,7 @@ int dibusb_dvb_exit(struct usb_dibusb *dib);
/* dvb-dibusb-usb.c */
int dibusb_readwrite_usb(struct usb_dibusb *dib, u8 *wbuf, u16 wlen, u8 *rbuf,
u16 rlen);
+int dibusb_write_usb(struct usb_dibusb *dib, u8 *buf, u16 len);
int dibusb_hw_wakeup(struct dvb_frontend *);
int dibusb_hw_sleep(struct dvb_frontend *);
@@ -232,6 +236,9 @@ int dibusb_streaming(struct usb_dibusb *,int);
int dibusb_urb_init(struct usb_dibusb *);
int dibusb_urb_exit(struct usb_dibusb *);
+/* dvb-fe-dtt200u.c */
+struct dvb_frontend* dtt200u_fe_attach(struct usb_dibusb *,struct dib_fe_xfer_ops *);
+
/* i2c and transfer stuff */
#define DIBUSB_I2C_TIMEOUT HZ*5