Lines Matching refs:protocols
41 handler->protocols || !handler->protocols) in ir_raw_event_thread()
250 if (!(dev->enabled_protocols & handler->protocols) && in change_protocol()
251 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol()
254 if ((dev->enabled_protocols & handler->protocols) && in change_protocol()
255 !(*rc_proto & handler->protocols) && in change_protocol()
266 if (handler->protocols & *rc_proto) { in change_protocol()
291 static void ir_raw_disable_protocols(struct rc_dev *dev, u64 protocols) in ir_raw_disable_protocols() argument
294 dev->enabled_protocols &= ~protocols; in ir_raw_disable_protocols()
530 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_scancode()
598 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_carrier()
671 (handler->protocols & dev->enabled_protocols)) in ir_raw_event_unregister()
694 atomic64_or(ir_raw_handler->protocols, &available_protocols); in ir_raw_handler_register()
704 u64 protocols = ir_raw_handler->protocols; in ir_raw_handler_unregister() local
710 (raw->dev->enabled_protocols & protocols)) in ir_raw_handler_unregister()
712 ir_raw_disable_protocols(raw->dev, protocols); in ir_raw_handler_unregister()
714 atomic64_andnot(protocols, &available_protocols); in ir_raw_handler_unregister()