Lines Matching full:pulse
2 // ir-nec-decoder.c - handle NEC IR Pulse/Space protocol
33 * ir_nec_decode() - Decode one NEC pulse or space
35 * @ev: the struct ir_raw_event descriptor of the pulse/space
37 * This function returns -EINVAL if the pulse violates the state machine
53 data->state, ev.duration, TO_STR(ev.pulse)); in ir_nec_decode()
58 if (!ev.pulse) in ir_nec_decode()
74 if (ev.pulse) in ir_nec_decode()
88 if (!ev.pulse) in ir_nec_decode()
98 if (ev.pulse) in ir_nec_decode()
125 if (!ev.pulse) in ir_nec_decode()
135 if (ev.pulse) in ir_nec_decode()
166 data->count, data->state, ev.duration, TO_STR(ev.pulse)); in ir_nec_decode()
242 /* Modulate the raw data using a pulse distance modulation */ in ir_nec_encode()