diff options
author | Stefan Ringel <stefan.ringel@arcor.de> | 2010-06-20 20:16:52 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 18:29:31 (GMT) |
commit | d064f960650d64e2564cd505a6e40c4ac359b6f3 (patch) | |
tree | a3e653ecdcaaa67858f2590fa0ab52fa3fd86712 /drivers/staging/tm6000/tm6000.h | |
parent | bd0db8c7ad4b9a053e8774f559cb3dae05f73ef6 (diff) | |
download | linux-d064f960650d64e2564cd505a6e40c4ac359b6f3.tar.xz |
V4L/DVB: tm6000: add ir support
Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000.h')
-rw-r--r-- | drivers/staging/tm6000/tm6000.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/tm6000/tm6000.h b/drivers/staging/tm6000/tm6000.h index 89862a4..1ec1bff 100644 --- a/drivers/staging/tm6000/tm6000.h +++ b/drivers/staging/tm6000/tm6000.h @@ -171,6 +171,8 @@ struct tm6000_core { struct tm6000_gpio gpio; + char *ir_codes; + /* Demodulator configuration */ int demod_addr; /* demodulator address */ @@ -204,6 +206,8 @@ struct tm6000_core { /* audio support */ struct snd_tm6000_card *adev; + struct tm6000_IR *ir; + /* locks */ struct mutex lock; @@ -211,6 +215,7 @@ struct tm6000_core { struct usb_device *udev; /* the usb device */ struct tm6000_endpoint bulk_in, bulk_out, isoc_in, isoc_out; + struct tm6000_endpoint int_in, int_out; /* scaler!=0 if scaler is active*/ int scaler; @@ -317,6 +322,10 @@ int tm6000_queue_init(struct tm6000_core *dev); /* In tm6000-alsa.c */ /*int tm6000_audio_init(struct tm6000_core *dev, int idx);*/ +/* In tm6000-input.c */ +int tm6000_ir_init(struct tm6000_core *dev); +int tm6000_ir_fini(struct tm6000_core *dev); +void tm6000_ir_wait(struct tm6000_core *dev, u8 state); /* Debug stuff */ |