Lines Matching refs:MCIR2_UNIT
24 #define MCIR2_UNIT 333 /* us */ macro
28 #define MCIR2_PREFIX_PULSE (8 * MCIR2_UNIT)
29 #define MCIR2_PREFIX_SPACE (1 * MCIR2_UNIT)
30 #define MCIR2_MAX_LEN (3 * MCIR2_UNIT)
31 #define MCIR2_BIT_START (1 * MCIR2_UNIT)
32 #define MCIR2_BIT_END (1 * MCIR2_UNIT)
33 #define MCIR2_BIT_0 (1 * MCIR2_UNIT)
34 #define MCIR2_BIT_SET (2 * MCIR2_UNIT)
229 if (!geq_margin(ev.duration, MCIR2_UNIT, MCIR2_UNIT / 2)) in ir_mce_kbd_decode()
236 if (!geq_margin(ev.duration, MCIR2_UNIT, MCIR2_UNIT / 2)) in ir_mce_kbd_decode()
248 if (!eq_margin(ev.duration, MCIR2_PREFIX_PULSE, MCIR2_UNIT)) in ir_mce_kbd_decode()
257 if (geq_margin(ev.duration, MCIR2_MAX_LEN, MCIR2_UNIT / 2)) in ir_mce_kbd_decode()
293 if (geq_margin(ev.duration, MCIR2_MAX_LEN, MCIR2_UNIT / 2)) in ir_mce_kbd_decode()
383 .clock = MCIR2_UNIT,
384 .trailer_space = MCIR2_UNIT * 10,
430 .min_timeout = MCIR2_MAX_LEN + MCIR2_UNIT / 2,