Lines Matching refs:dec
627 const struct img_ir_decoder *dec) in img_ir_decoder_compatible() argument
632 ct = dec->control.code_type; in img_ir_decoder_compatible()
651 const struct img_ir_decoder *dec = *decp; in img_ir_allowed_protos() local
652 if (img_ir_decoder_compatible(priv, dec)) in img_ir_allowed_protos()
653 protos |= dec->type; in img_ir_allowed_protos()
673 const struct img_ir_decoder *dec = *decp; in img_ir_change_protocol() local
674 if (!img_ir_decoder_compatible(priv, dec)) in img_ir_change_protocol()
676 if (*ir_type & dec->type) { in img_ir_change_protocol()
677 *ir_type &= dec->type; in img_ir_change_protocol()
678 img_ir_set_decoder(priv, dec, *ir_type); in img_ir_change_protocol()
818 const struct img_ir_decoder *dec = hw->decoder; in img_ir_handle_data() local
825 if (dec->scancode) in img_ir_handle_data()
826 ret = dec->scancode(len, raw, hw->enabled_protocols, &request); in img_ir_handle_data()
853 if (dec->repeat && !hw->stopping) { in img_ir_handle_data()
859 interval = dec->repeat + (dec->repeat >> 3); in img_ir_handle_data()
1012 const struct img_ir_decoder *dec = *decp; in img_ir_setup_hw() local
1013 if (img_ir_decoder_compatible(priv, dec)) { in img_ir_setup_hw()
1014 img_ir_set_protocol(priv, dec->type); in img_ir_setup_hw()
1015 img_ir_set_decoder(priv, dec, 0); in img_ir_setup_hw()