Lines Matching full:scancode
43 u32 msg, echo, address, command, scancode; in ir_sharp_decode() local
155 scancode = address << 8 | command; in ir_sharp_decode()
156 dev_dbg(&dev->dev, "Sharp scancode 0x%04x\n", scancode); in ir_sharp_decode()
158 rc_keydown(dev, RC_PROTO_SHARP, scancode, 0); in ir_sharp_decode()
181 * ir_sharp_encode() - Encode a scancode as a stream of raw events
184 * @scancode: scancode to encode
192 static int ir_sharp_encode(enum rc_proto protocol, u32 scancode, in ir_sharp_encode() argument
199 raw = (((bitrev8(scancode >> 8) >> 3) << 8) & 0x1f00) | in ir_sharp_encode()
200 bitrev8(scancode); in ir_sharp_encode()
208 raw = (((bitrev8(scancode >> 8) >> 3) << 8) & 0x1f00) | in ir_sharp_encode()
209 bitrev8(~scancode); in ir_sharp_encode()