Lines Matching refs:rc_proto
136 u64 rc_proto; /* iMON or MCE (RC6) IR protocol? */ member
1119 static int imon_ir_change_protocol(struct rc_dev *rc, u64 *rc_proto) in imon_ir_change_protocol() argument
1128 if (*rc_proto && !(*rc_proto & rc->allowed_protocols)) in imon_ir_change_protocol()
1131 if (*rc_proto & RC_PROTO_BIT_RC6_MCE) { in imon_ir_change_protocol()
1134 *rc_proto = RC_PROTO_BIT_RC6_MCE; in imon_ir_change_protocol()
1135 } else if (*rc_proto & RC_PROTO_BIT_IMON) { in imon_ir_change_protocol()
1140 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol()
1146 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol()
1160 ictx->rc_proto = *rc_proto; in imon_ir_change_protocol()
1415 if (ictx->rc_proto == RC_PROTO_BIT_IMON && pad_stabilize) { in imon_pad_to_keys()
1482 if (ictx->rc_proto == RC_PROTO_BIT_IMON && pad_stabilize) { in imon_pad_to_keys()
1602 if (ictx->rc_proto == RC_PROTO_BIT_RC6_MCE) { in imon_incoming_packet()
1664 enum rc_proto proto; in imon_incoming_packet()
1666 if (ictx->rc_proto == RC_PROTO_BIT_RC6_MCE) in imon_incoming_packet()
1668 else if (ictx->rc_proto == RC_PROTO_BIT_IMON) in imon_incoming_packet()
1906 ictx->rc_proto = allowed_protos; in imon_get_ffdc_type()
1998 rdev->allowed_protocols = ictx->rc_proto; in imon_init_rdev()
2003 if (ictx->rc_proto == RC_PROTO_BIT_RC6_MCE) in imon_init_rdev()