Lines Matching +full:0 +full:xfc0000ff
21 * one IMON_UNIT field with the actual bit (1=space, 0=pulse).
28 * bit which is 0.
43 if (imon->bits == 0x299115b7) in ir_imon_decode_scancode()
46 if ((imon->bits & 0xfc0000ff) == 0x680000b7) { in ir_imon_decode_scancode()
51 rel_x = (buf & 0x08) | (buf & 0x10) >> 2 | in ir_imon_decode_scancode()
52 (buf & 0x20) >> 4 | (buf & 0x40) >> 6; in ir_imon_decode_scancode()
53 if (imon->bits & 0x02000000) in ir_imon_decode_scancode()
54 rel_x |= ~0x0f; in ir_imon_decode_scancode()
56 rel_y = (buf & 0x08) | (buf & 0x10) >> 2 | in ir_imon_decode_scancode()
57 (buf & 0x20) >> 4 | (buf & 0x40) >> 6; in ir_imon_decode_scancode()
58 if (imon->bits & 0x01000000) in ir_imon_decode_scancode()
59 rel_y |= ~0x0f; in ir_imon_decode_scancode()
63 imon->bits = rel_y > 0 ? in ir_imon_decode_scancode()
64 0x289515b7 : /* KEY_DOWN */ in ir_imon_decode_scancode()
65 0x2aa515b7; /* KEY_UP */ in ir_imon_decode_scancode()
67 imon->bits = rel_x > 0 ? in ir_imon_decode_scancode()
68 0x2ba515b7 : /* KEY_RIGHT */ in ir_imon_decode_scancode()
69 0x29a515b7; /* KEY_LEFT */ 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()
100 return 0; in ir_imon_decode()
120 return 0; in ir_imon_decode()
125 return 0; in ir_imon_decode()
133 data->bits = 0; in ir_imon_decode()
200 for (i = IMON_BITS; i >= 0; i--) { in ir_imon_encode()
204 pulse = 0; in ir_imon_encode()
237 return 0; in ir_imon_register()
254 return 0; in ir_imon_decode_init()