diff options
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dibusb.h')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dibusb.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb.h b/linux/drivers/media/dvb/dvb-usb/dibusb.h index f3ee7285c..40a36e2e5 100644 --- a/linux/drivers/media/dvb/dvb-usb/dibusb.h +++ b/linux/drivers/media/dvb/dvb-usb/dibusb.h @@ -94,13 +94,14 @@ #define DIBUSB_IOCTL_CMD_ENABLE_STREAM 0x01 #define DIBUSB_IOCTL_CMD_DISABLE_STREAM 0x02 -// #define DEFAULT_RC_INTERVAL 100 -#define DEFAULT_RC_INTERVAL 100000 - struct dibusb_state { struct dib_fe_xfer_ops ops; struct dvb_pll_desc *pll_desc; u8 pll_addr; + + /* for RC5 remote control */ + int old_toggle; + int last_repeat_count; }; extern struct i2c_algorithm dibusb_i2c_algo; @@ -119,4 +120,10 @@ extern int dibusb_power_ctrl(struct dvb_usb_device *d, int onoff); extern int dibusb2_0_streaming_ctrl(struct dvb_usb_device *d, int onoff); extern int dibusb2_0_power_ctrl(struct dvb_usb_device *d, int onoff); +#define DEFAULT_RC_INTERVAL 150 +//#define DEFAULT_RC_INTERVAL 100000 + +extern int dibusb_rc_init(struct dvb_usb_device *d); +extern int dibusb_rc_query(struct dvb_usb_device *d, u32 *event, int *state); + #endif |