aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/rc-map.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/rc-map.h')
-rw-r--r--include/media/rc-map.h54
1 files changed, 1 insertions, 53 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index 72197cb43781..7046734b3895 100644
--- a/include/media/rc-map.h
+++ b/include/media/rc-map.h
@@ -10,59 +10,7 @@
10 */ 10 */
11 11
12#include <linux/input.h> 12#include <linux/input.h>
13 13#include <uapi/linux/lirc.h>
14/**
15 * enum rc_proto - the Remote Controller protocol
16 *
17 * @RC_PROTO_UNKNOWN: Protocol not known
18 * @RC_PROTO_OTHER: Protocol known but proprietary
19 * @RC_PROTO_RC5: Philips RC5 protocol
20 * @RC_PROTO_RC5X_20: Philips RC5x 20 bit protocol
21 * @RC_PROTO_RC5_SZ: StreamZap variant of RC5
22 * @RC_PROTO_JVC: JVC protocol
23 * @RC_PROTO_SONY12: Sony 12 bit protocol
24 * @RC_PROTO_SONY15: Sony 15 bit protocol
25 * @RC_PROTO_SONY20: Sony 20 bit protocol
26 * @RC_PROTO_NEC: NEC protocol
27 * @RC_PROTO_NECX: Extended NEC protocol
28 * @RC_PROTO_NEC32: NEC 32 bit protocol
29 * @RC_PROTO_SANYO: Sanyo protocol
30 * @RC_PROTO_MCIR2_KBD: RC6-ish MCE keyboard
31 * @RC_PROTO_MCIR2_MSE: RC6-ish MCE mouse
32 * @RC_PROTO_RC6_0: Philips RC6-0-16 protocol
33 * @RC_PROTO_RC6_6A_20: Philips RC6-6A-20 protocol
34 * @RC_PROTO_RC6_6A_24: Philips RC6-6A-24 protocol
35 * @RC_PROTO_RC6_6A_32: Philips RC6-6A-32 protocol
36 * @RC_PROTO_RC6_MCE: MCE (Philips RC6-6A-32 subtype) protocol
37 * @RC_PROTO_SHARP: Sharp protocol
38 * @RC_PROTO_XMP: XMP protocol
39 * @RC_PROTO_CEC: CEC protocol
40 */
41enum rc_proto {
42 RC_PROTO_UNKNOWN = 0,
43 RC_PROTO_OTHER = 1,
44 RC_PROTO_RC5 = 2,
45 RC_PROTO_RC5X_20 = 3,
46 RC_PROTO_RC5_SZ = 4,
47 RC_PROTO_JVC = 5,
48 RC_PROTO_SONY12 = 6,
49 RC_PROTO_SONY15 = 7,
50 RC_PROTO_SONY20 = 8,
51 RC_PROTO_NEC = 9,
52 RC_PROTO_NECX = 10,
53 RC_PROTO_NEC32 = 11,
54 RC_PROTO_SANYO = 12,
55 RC_PROTO_MCIR2_KBD = 13,
56 RC_PROTO_MCIR2_MSE = 14,
57 RC_PROTO_RC6_0 = 15,
58 RC_PROTO_RC6_6A_20 = 16,
59 RC_PROTO_RC6_6A_24 = 17,
60 RC_PROTO_RC6_6A_32 = 18,
61 RC_PROTO_RC6_MCE = 19,
62 RC_PROTO_SHARP = 20,
63 RC_PROTO_XMP = 21,
64 RC_PROTO_CEC = 22,
65};
66 14
67#define RC_PROTO_BIT_NONE 0ULL 15#define RC_PROTO_BIT_NONE 0ULL
68#define RC_PROTO_BIT_UNKNOWN BIT_ULL(RC_PROTO_UNKNOWN) 16#define RC_PROTO_BIT_UNKNOWN BIT_ULL(RC_PROTO_UNKNOWN)