Lines Matching refs:RC5_UNIT
19 #define RC5_UNIT 889 /* us */ macro
20 #define RC5_BIT_START (1 * RC5_UNIT)
21 #define RC5_BIT_END (1 * RC5_UNIT)
22 #define RC5X_SPACE (4 * RC5_UNIT)
23 #define RC5_TRAILER (6 * RC5_UNIT) /* In reality, approx 100 */
53 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) in ir_rc5_decode()
60 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) in ir_rc5_decode()
75 if (!ev.pulse && geq_margin(ev.duration, RC5_TRAILER, RC5_UNIT / 2)) { in ir_rc5_decode()
80 if (!eq_margin(ev.duration, RC5_BIT_START, RC5_UNIT / 2)) in ir_rc5_decode()
100 if (!ev.pulse && geq_margin(ev.duration, RC5X_SPACE, RC5_UNIT / 2)) { in ir_rc5_decode()
173 .leader_pulse = RC5_UNIT,
174 .clock = RC5_UNIT,
175 .trailer_space = RC5_UNIT * 10,
180 .leader_pulse = RC5_UNIT,
181 .clock = RC5_UNIT,
185 .clock = RC5_UNIT,
186 .trailer_space = RC5_UNIT * 10,
191 .leader_pulse = RC5_UNIT,
192 .clock = RC5_UNIT,
193 .trailer_space = RC5_UNIT * 10,