Lines Matching refs:JVC_UNIT
12 #define JVC_UNIT 525 /* us */ macro
13 #define JVC_HEADER_PULSE (16 * JVC_UNIT) /* lack of header -> repeat */
14 #define JVC_HEADER_SPACE (8 * JVC_UNIT)
15 #define JVC_BIT_PULSE (1 * JVC_UNIT)
16 #define JVC_BIT_0_SPACE (1 * JVC_UNIT)
17 #define JVC_BIT_1_SPACE (3 * JVC_UNIT)
18 #define JVC_TRAILER_PULSE (1 * JVC_UNIT)
19 #define JVC_TRAILER_SPACE (35 * JVC_UNIT)
48 if (!geq_margin(ev.duration, JVC_UNIT, JVC_UNIT / 2)) in ir_jvc_decode()
61 if (!eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()
74 if (!eq_margin(ev.duration, JVC_HEADER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode()
84 if (!eq_margin(ev.duration, JVC_BIT_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()
95 if (eq_margin(ev.duration, JVC_BIT_1_SPACE, JVC_UNIT / 2)) { in ir_jvc_decode()
98 } else if (eq_margin(ev.duration, JVC_BIT_0_SPACE, JVC_UNIT / 2)) in ir_jvc_decode()
114 if (!eq_margin(ev.duration, JVC_TRAILER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()
124 if (!geq_margin(ev.duration, JVC_TRAILER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode()
151 if (eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()