// SPDX-License-Identifier: GPL-2.0-or-later /* * ImgTec IR Decoder setup for Philips RC-5 protocol. * * Copyright 2012-2014 Imagination Technologies Ltd. */ #include "img-ir-hw.h" /* Convert RC5 data to a scancode */ static int img_ir_rc5_scancode(int len, u64 raw, u64 enabled_protocols, struct img_ir_scancode_req *request) { … } /* Convert RC5 scancode to RC5 data filter */ static int img_ir_rc5_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) { … } /* * RC-5 decoder * see http://www.sbprojects.com/knowledge/ir/rc5.php */ struct img_ir_decoder img_ir_rc5 = …;