Lines Matching full:scancode
38 u32 scancode; in ir_sony_decode() local
148 scancode = device << 16 | subdevice << 8 | function; in ir_sony_decode()
149 dev_dbg(&dev->dev, "Sony(%u) scancode 0x%05x\n", data->count, in ir_sony_decode()
150 scancode); in ir_sony_decode()
151 rc_keydown(dev, protocol, scancode, 0); in ir_sony_decode()
176 * ir_sony_encode() - Encode a scancode as a stream of raw events
179 * @scancode: scancode to encode
187 static int ir_sony_encode(enum rc_proto protocol, u32 scancode, in ir_sony_encode() argument
195 raw = (scancode & 0x7f) | ((scancode & 0x1f0000) >> 9); in ir_sony_encode()
198 raw = (scancode & 0x7f) | ((scancode & 0xff0000) >> 9); in ir_sony_encode()
201 raw = (scancode & 0x7f) | ((scancode & 0x1f0000) >> 9) | in ir_sony_encode()
202 ((scancode & 0xff00) << 4); in ir_sony_encode()