Lines Matching defs:protocol
8 * This decoder handles the 14 bit RC5 protocol, 15 bit "StreamZap" protocol
9 * and 20 bit RC5x protocol.
45 enum rc_proto protocol;
125 protocol = RC_PROTO_RC5X_20;
139 protocol = RC_PROTO_RC5;
152 protocol = RC_PROTO_RC5_SZ;
158 scancode, protocol, toggle);
160 rc_keydown(dev, protocol, scancode, toggle);
199 * @protocol: protocol variant to encode
209 static int ir_rc5_encode(enum rc_proto protocol, u32 scancode,
216 /* Detect protocol and convert scancode to raw data */
217 if (protocol == RC_PROTO_RC5) {
230 } else if (protocol == RC_PROTO_RC5X_20) {
253 } else if (protocol == RC_PROTO_RC5_SZ) {
281 printk(KERN_INFO "IR RC5(x/sz) protocol handler initialized\n");
296 MODULE_DESCRIPTION("RC5(x/sz) IR protocol decoder");