diff options
author | Sean Young <sean@mess.org> | 2017-12-03 19:06:54 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-21 18:12:29 +0300 |
commit | 447dcc0cf12922fcda67731559dd970bde7b35a6 (patch) | |
tree | 0fc2c5a035448b53e44d19b9bd150fb52ffdc2e9 /drivers/media/rc/rc-core-priv.h | |
parent | 8d4068810d9926250dd2435719a080b889eb44c3 (diff) | |
download | linux-447dcc0cf12922fcda67731559dd970bde7b35a6.tar.xz |
media: rc: add new imon protocol decoder and encoder
This makes it possible to use the various iMON remotes with any raw IR
RC device.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/rc-core-priv.h')
-rw-r--r-- | drivers/media/rc/rc-core-priv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/rc/rc-core-priv.h b/drivers/media/rc/rc-core-priv.h index 5e80b4273e2d..e0e6a17460f6 100644 --- a/drivers/media/rc/rc-core-priv.h +++ b/drivers/media/rc/rc-core-priv.h @@ -118,6 +118,12 @@ struct ir_raw_event_ctrl { unsigned count; u32 durations[16]; } xmp; + struct imon_dec { + int state; + int count; + int last_chk; + unsigned int bits; + } imon; }; /* macros for IR decoders */ |