// SPDX-License-Identifier: GPL-2.0-or-later /* * ImgTec IR Decoder setup for Sanyo protocol. * * Copyright 2012-2014 Imagination Technologies Ltd. * * From ir-sanyo-decoder.c: * * This protocol uses the NEC protocol timings. However, data is formatted as: * 13 bits Custom Code * 13 bits NOT(Custom Code) * 8 bits Key data * 8 bits NOT(Key data) * * According with LIRC, this protocol is used on Sanyo, Aiwa and Chinon * Information for this protocol is available at the Sanyo LC7461 datasheet. */ #include "img-ir-hw.h" /* Convert Sanyo data to a scancode */ static int img_ir_sanyo_scancode(int len, u64 raw, u64 enabled_protocols, struct img_ir_scancode_req *request) { … } /* Convert Sanyo scancode to Sanyo data filter */ static int img_ir_sanyo_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) { … } /* Sanyo decoder */ struct img_ir_decoder img_ir_sanyo = …;