Lines Matching full:scancode
49 u32 scancode; in ir_sanyo_decode() local
153 scancode = address << 8 | command; in ir_sanyo_decode()
154 dev_dbg(&dev->dev, "SANYO scancode: 0x%06x\n", scancode); in ir_sanyo_decode()
155 rc_keydown(dev, RC_PROTO_SANYO, scancode, 0); in ir_sanyo_decode()
178 * ir_sanyo_encode() - Encode a scancode as a stream of raw events
181 * @scancode: scancode to encode
189 static int ir_sanyo_encode(enum rc_proto protocol, u32 scancode, in ir_sanyo_encode() argument
196 raw = ((u64)(bitrev16(scancode >> 8) & 0xfff8) << (8 + 8 + 13 - 3)) | in ir_sanyo_encode()
197 ((u64)(bitrev16(~scancode >> 8) & 0xfff8) << (8 + 8 + 0 - 3)) | in ir_sanyo_encode()
198 ((bitrev8(scancode) & 0xff) << 8) | in ir_sanyo_encode()
199 (bitrev8(~scancode) & 0xff); in ir_sanyo_encode()