Lines Matching refs:imon
40 struct imon_dec *imon = &dev->raw->imon; in ir_imon_decode_scancode() local
43 if (imon->bits == 0x299115b7) in ir_imon_decode_scancode()
44 imon->stick_keyboard = !imon->stick_keyboard; in ir_imon_decode_scancode()
46 if ((imon->bits & 0xfc0000ff) == 0x680000b7) { in ir_imon_decode_scancode()
50 buf = imon->bits >> 16; in ir_imon_decode_scancode()
53 if (imon->bits & 0x02000000) in ir_imon_decode_scancode()
55 buf = imon->bits >> 8; in ir_imon_decode_scancode()
58 if (imon->bits & 0x01000000) in ir_imon_decode_scancode()
61 if (rel_x && rel_y && imon->stick_keyboard) { in ir_imon_decode_scancode()
63 imon->bits = rel_y > 0 ? in ir_imon_decode_scancode()
67 imon->bits = rel_x > 0 ? in ir_imon_decode_scancode()
72 if (!imon->stick_keyboard) { in ir_imon_decode_scancode()
77 (imon->bits & 0x00010000) != 0); in ir_imon_decode_scancode()
79 (imon->bits & 0x00040000) != 0); in ir_imon_decode_scancode()
83 rc_keydown(dev, RC_PROTO_IMON, imon->bits, 0); in ir_imon_decode_scancode()
95 struct imon_dec *data = &dev->raw->imon; in ir_imon_decode()
233 struct imon_dec *imon = &dev->raw->imon; in ir_imon_register() local
235 imon->stick_keyboard = false; in ir_imon_register()