Lines Matching refs:JVC_UNIT
20 #define JVC_UNIT 525000 /* ns */ macro
21 #define JVC_HEADER_PULSE (16 * JVC_UNIT) /* lack of header -> repeat */
22 #define JVC_HEADER_SPACE (8 * JVC_UNIT)
23 #define JVC_BIT_PULSE (1 * JVC_UNIT)
24 #define JVC_BIT_0_SPACE (1 * JVC_UNIT)
25 #define JVC_BIT_1_SPACE (3 * JVC_UNIT)
26 #define JVC_TRAILER_PULSE (1 * JVC_UNIT)
27 #define JVC_TRAILER_SPACE (35 * JVC_UNIT)
59 if (!geq_margin(ev.duration, JVC_UNIT, JVC_UNIT / 2)) in ir_jvc_decode()
72 if (!eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()
85 if (!eq_margin(ev.duration, JVC_HEADER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode()
95 if (!eq_margin(ev.duration, JVC_BIT_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()
106 if (eq_margin(ev.duration, JVC_BIT_1_SPACE, JVC_UNIT / 2)) { in ir_jvc_decode()
109 } else if (eq_margin(ev.duration, JVC_BIT_0_SPACE, JVC_UNIT / 2)) in ir_jvc_decode()
125 if (!eq_margin(ev.duration, JVC_TRAILER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()
135 if (!geq_margin(ev.duration, JVC_TRAILER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode()
162 if (eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode()