Lines Matching refs:scancode
42 u32 scancode; in ir_nec_decode() local
147 scancode = ir_nec_bytes_to_scancode(address, in ir_nec_decode()
156 rc_keydown(dev, rc_proto, scancode, 0); in ir_nec_decode()
176 static u32 ir_nec_scancode_to_raw(enum rc_proto protocol, u32 scancode) in ir_nec_scancode_to_raw() argument
180 data = scancode & 0xff; in ir_nec_scancode_to_raw()
185 addr_inv = (scancode >> 24) & 0xff; in ir_nec_scancode_to_raw()
186 addr = (scancode >> 16) & 0xff; in ir_nec_scancode_to_raw()
187 data_inv = (scancode >> 8) & 0xff; in ir_nec_scancode_to_raw()
191 addr = (scancode >> 16) & 0xff; in ir_nec_scancode_to_raw()
192 addr_inv = (scancode >> 8) & 0xff; in ir_nec_scancode_to_raw()
197 addr = (scancode >> 8) & 0xff; in ir_nec_scancode_to_raw()
232 static int ir_nec_encode(enum rc_proto protocol, u32 scancode, in ir_nec_encode() argument
240 raw = ir_nec_scancode_to_raw(protocol, scancode); in ir_nec_encode()