Lines Matching defs:handler
16 /* Used to handle IR raw handler extensions */
24 struct ir_raw_handler *handler;
41 list_for_each_entry(handler, &ir_raw_handler_list, list)
43 handler->protocols || !handler->protocols)
44 handler->decode(dev, ev);
247 struct ir_raw_handler *handler;
251 list_for_each_entry(handler, &ir_raw_handler_list, list) {
252 if (!(dev->enabled_protocols & handler->protocols) &&
253 (*rc_proto & handler->protocols) && handler->raw_register)
254 handler->raw_register(dev);
256 if ((dev->enabled_protocols & handler->protocols) &&
257 !(*rc_proto & handler->protocols) &&
258 handler->raw_unregister)
259 handler->raw_unregister(dev);
267 list_for_each_entry(handler, &ir_raw_handler_list, list) {
268 if (handler->protocols & *rc_proto) {
269 if (timeout < handler->min_timeout)
270 timeout = handler->min_timeout;
524 struct ir_raw_handler *handler;
531 list_for_each_entry(handler, &ir_raw_handler_list, list) {
532 if (handler->protocols & mask && handler->encode) {
533 ret = handler->encode(protocol, scancode, events, max);
594 struct ir_raw_handler *handler;
599 list_for_each_entry(handler, &ir_raw_handler_list, list) {
600 if (handler->protocols & mask && handler->encode) {
601 ret = handler->carrier;
661 struct ir_raw_handler *handler;
671 list_for_each_entry(handler, &ir_raw_handler_list, list)
672 if (handler->raw_unregister &&
673 (handler->protocols & dev->enabled_protocols))
674 handler->raw_unregister(dev);