Lines Matching defs:pulse

2 // rc-ir-raw.c - handle IR pulse/space events
37 TO_STR(ev.pulse));
63 * ir_raw_event_store() - pass a pulse/space duration to the raw ir decoders
65 * @ev: the struct ir_raw_event descriptor of the pulse/space
68 * pulse/space duration for the raw ir decoding state machines. Pulses are
78 ev->duration, TO_STR(ev->pulse));
90 * ir_raw_event_store_edge() - notify raw ir decoders of the start of a pulse/space
92 * @pulse: true for pulse, false for space
95 * store the beginning of an ir pulse or space (or the start/end of ir
100 int ir_raw_event_store_edge(struct rc_dev *dev, bool pulse)
110 ev.pulse = !pulse;
117 * ir_raw_event_store_with_timeout() - pass a pulse/space duration to the raw
121 * @ev: the struct ir_raw_event descriptor of the pulse/space
124 * pulse/space duration for the raw ir decoding state machines, schedules
156 * ir_raw_event_store_with_filter() - pass next pulse/space to decoders with some processing
173 if (dev->idle && !ev->pulse)
180 else if (ev->pulse == dev->raw->this_ev.pulse)
188 if (!ev->pulse && dev->timeout &&
346 if (need_pulse == !!(*ev)->pulse) {
363 if (!(*ev)->pulse)
381 * ir_raw_gen_pd() - Encode data to raw events with pulse-distance modulation.
389 * Encodes the @n least significant bits of @data using pulse-distance
440 * ir_raw_gen_pl() - Encode data to raw events with pulse-length modulation.
463 unsigned int pulse;
478 pulse = timings->bit_pulse[(data >> i) & 1];
479 init_ir_raw_event_duration((*ev)++, 1, pulse);
489 pulse = timings->bit_pulse[data & 1];
490 init_ir_raw_event_duration((*ev)++, 1, pulse);