Searched refs:NEC_UNIT (Results 1 – 2 of 2) sorted by relevance
35 #define NEC_UNIT 562500 /* ns */ macro36 #define NEC_HEADER_PULSE (16 * NEC_UNIT)37 #define NEC_HEADER_SPACE (8 * NEC_UNIT)38 #define NEC_BIT_PULSE (1 * NEC_UNIT)39 #define NEC_BIT_0_SPACE (1 * NEC_UNIT)40 #define NEC_BIT_1_SPACE (3 * NEC_UNIT)
131 if (!eq_margin(ev->duration, NEC_HEADER_PULSE, NEC_UNIT * 2)) in ir_nec_decode()142 if (eq_margin(ev->duration, NEC_HEADER_SPACE, NEC_UNIT)) { in ir_nec_decode()153 if (!eq_margin(ev->duration, NEC_BIT_PULSE, NEC_UNIT / 2)) in ir_nec_decode()164 if (eq_margin(ev->duration, NEC_BIT_1_SPACE, NEC_UNIT / 2)) { in ir_nec_decode()167 NEC_UNIT / 2)) { in ir_nec_decode()