linux/drivers/media/rc
James Hogan a0466f15b4 [media] rc: ir-rc5-decoder: Add encode capability
Add the capability to encode RC-5, RC-5X and RC-5-SZ scancodes as raw
events. The protocol is chosen based on the specified protocol mask,
and whether all the required bits are set in the scancode mask, and
none of the unused bits are set in the scancode data. For example a
scancode filter with bit 16 set in both data and mask is unambiguously
RC-5X.

The Manchester modulation helper is used, and for RC-5X it is used twice
with two sets of timings, the first with a short trailer space for the
space in the middle, and the second with no leader so that it can
continue the space.

The encoding in RC-5-SZ first inserts a pulse and then simply utilizes
the generic Manchester encoder available in rc-core.

Signed-off-by: James Hogan <james@albanarts.com>
Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Cc: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-14 14:32:04 -03:00
..
img-ir [media] rc: img-ir: fix error in parameters passed to irq_free() 2015-04-08 12:52:50 -03:00
keymaps media updates for v3.18-rc1 2014-10-10 22:04:49 -04:00
ati_remote.c [media] ati_remote: Use non-alomic __set_bit 2014-07-25 23:52:15 -03:00
ene_ir.c PNP: media/rc: Use module_pnp_driver to register driver 2015-03-18 22:39:17 +01:00
ene_ir.h [media] ene_ir: don't use pr_debug after all 2013-07-29 11:49:45 -03:00
fintek-cir.c [media] media/fintek: drop pci_ids dependency 2015-05-12 13:44:41 -03:00
fintek-cir.h [media] rc: Fir warnings on m68k arch 2013-11-08 09:45:37 -02:00
gpio-ir-recv.c [media] constify of_device_id array 2015-05-12 03:58:16 -03:00
igorplugusb.c [media] rc: port IgorPlug-USB to rc-core 2014-11-03 12:18:25 -02:00
iguanair.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
imon.c [media] imon: fix other RC type protocol support 2014-11-03 10:56:51 -02:00
ir-hix5hd2.c [media] ir-hix5hd2: Fix build warning 2015-05-13 16:16:53 -03:00
ir-jvc-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-lirc-codec.c [media] media/rc: Send sync space information on the lirc device 2014-11-04 20:41:42 -02:00
ir-mce_kbd-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-nec-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-rc5-decoder.c [media] rc: ir-rc5-decoder: Add encode capability 2015-05-14 14:32:04 -03:00
ir-rc6-decoder.c [media] rc-core: fix toggle handling in the rc6 decoder 2014-11-21 15:57:47 -02:00
ir-rx51.c [media] ir-rx51: remove deprecated IRQF_DISABLED 2013-10-17 06:09:02 -03:00
ir-sanyo-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-sharp-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-sony-decoder.c [media] ir-sony-decoder: shutup smatch warnings 2015-04-30 13:39:41 -03:00
ir-xmp-decoder.c [media] rc: Add support for decoding XMP protocol 2014-07-26 19:38:04 -03:00
ite-cir.c PNP: media/rc: Use module_pnp_driver to register driver 2015-03-18 22:39:17 +01:00
ite-cir.h
Kconfig [media] media: rc: add driver for Amlogic Meson IR remote receiver 2014-11-26 13:29:01 -02:00
lirc_dev.c [media] lirc_dev: avoid potential null-dereference 2015-02-03 17:33:42 -02:00
Makefile [media] media: rc: add driver for Amlogic Meson IR remote receiver 2014-11-26 13:29:01 -02:00
mceusb.c [media] mceusb: fix usbdev leak 2014-09-23 16:13:38 -03:00
meson-ir.c [media] media: rc: add driver for Amlogic Meson IR remote receiver 2014-11-26 13:29:01 -02:00
nuvoton-cir.c PNP: media/rc: Use module_pnp_driver to register driver 2015-03-18 22:39:17 +01:00
nuvoton-cir.h [media] nuvoton-cir: Don't touch PS/2 interrupts while initializing 2014-02-04 17:47:26 -02:00
rc-core-priv.h [media] rc: rc-ir-raw: Add Manchester encoder (phase encoder) helper 2015-05-14 14:29:14 -03:00
rc-ir-raw.c [media] rc: rc-ir-raw: Add Manchester encoder (phase encoder) helper 2015-05-14 14:29:14 -03:00
rc-loopback.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
rc-main.c [media] rc: fix bad indenting 2015-04-30 13:13:36 -03:00
redrat3.c [media] redrat3: change return argument on redrat3_send_cmd() to int 2015-05-01 06:10:38 -03:00
st_rc.c [media] st_rc: fix build warning 2015-05-13 16:24:26 -03:00
streamzap.c [media] rc-core: use USB API functions rather than constants 2014-09-22 17:27:01 -03:00
sunxi-cir.c [media] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i 2015-01-29 18:26:31 -02:00
ttusbir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
winbond-cir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00