Home
last modified time | relevance | path

Searched refs:RCMM_UNIT (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/rc/
H A Dir-rcmm-decoder.c9 #define RCMM_UNIT 166 /* microseconds */ macro
82 if (!eq_margin(ev.duration, RCMM_PREFIX_PULSE, RCMM_UNIT)) in ir_rcmm_decode()
94 if (!eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT)) in ir_rcmm_decode()
104 if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2)) in ir_rcmm_decode()
114 if (eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT / 2)) in ir_rcmm_decode()
116 else if (eq_margin(ev.duration, RCMM_PULSE_1, RCMM_UNIT / 2)) in ir_rcmm_decode()
118 else if (eq_margin(ev.duration, RCMM_PULSE_2, RCMM_UNIT / 2)) in ir_rcmm_decode()
120 else if (eq_margin(ev.duration, RCMM_PULSE_3, RCMM_UNIT / 2)) in ir_rcmm_decode()
147 if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2)) in ir_rcmm_decode()
193 ret = ir_raw_gen_pulse_space(ev, &max, RCMM_UNIT, space); in ir_rcmm_rawencoder()
[all …]