Searched refs:SANYO_UNIT (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/media/rc/ |
H A D | ir-sanyo-decoder.c | 29 #define SANYO_UNIT 562500 /* ns */ macro 30 #define SANYO_HEADER_PULSE (16 * SANYO_UNIT) 31 #define SANYO_HEADER_SPACE (8 * SANYO_UNIT) 32 #define SANYO_BIT_PULSE (1 * SANYO_UNIT) 33 #define SANYO_BIT_0_SPACE (1 * SANYO_UNIT) 34 #define SANYO_BIT_1_SPACE (3 * SANYO_UNIT) 35 #define SANYO_REPEAT_SPACE (150 * SANYO_UNIT) 36 #define SANYO_TRAILER_PULSE (1 * SANYO_UNIT) 37 #define SANYO_TRAILER_SPACE (10 * SANYO_UNIT) /* in fact, 42 */ 81 if (eq_margin(ev.duration, SANYO_HEADER_PULSE, SANYO_UNIT / 2)) { ir_sanyo_decode() 93 if (eq_margin(ev.duration, SANYO_HEADER_SPACE, SANYO_UNIT / 2)) { ir_sanyo_decode() 104 if (!eq_margin(ev.duration, SANYO_BIT_PULSE, SANYO_UNIT / 2)) ir_sanyo_decode() 114 if (!data->count && geq_margin(ev.duration, SANYO_REPEAT_SPACE, SANYO_UNIT / 2)) { ir_sanyo_decode() 126 if (eq_margin(ev.duration, SANYO_BIT_1_SPACE, SANYO_UNIT / 2)) ir_sanyo_decode() 128 else if (!eq_margin(ev.duration, SANYO_BIT_0_SPACE, SANYO_UNIT / 2)) ir_sanyo_decode() 143 if (!eq_margin(ev.duration, SANYO_TRAILER_PULSE, SANYO_UNIT / 2)) ir_sanyo_decode() 153 if (!geq_margin(ev.duration, SANYO_TRAILER_SPACE, SANYO_UNIT / 2)) ir_sanyo_decode()
|
Completed in 73 milliseconds