Lines Matching full:pulse

2 // rc-ir-raw.c - handle IR pulse/space events
37 TO_STR(ev.pulse)); in ir_raw_event_thread()
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)); in ir_raw_event_store()
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) in ir_raw_event_store_edge() argument
110 ev.pulse = !pulse; in ir_raw_event_store_edge()
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) in ir_raw_event_store_with_filter()
180 else if (ev->pulse == dev->raw->this_ev.pulse) in ir_raw_event_store_with_filter()
188 if (!ev->pulse && dev->timeout && in ir_raw_event_store_with_filter()
346 if (need_pulse == !!(*ev)->pulse) { in ir_raw_gen_manchester()
363 if (!(*ev)->pulse) in ir_raw_gen_manchester()
381 * ir_raw_gen_pd() - Encode data to raw events with pulse-distance modulation.
385 * @timings: Pulse distance modulation timings.
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.
444 * @timings: Pulse distance modulation timings.
463 unsigned int pulse; in ir_raw_gen_pl() local
478 pulse = timings->bit_pulse[(data >> i) & 1]; in ir_raw_gen_pl()
479 init_ir_raw_event_duration((*ev)++, 1, pulse); in ir_raw_gen_pl()
489 pulse = timings->bit_pulse[data & 1]; in ir_raw_gen_pl()
490 init_ir_raw_event_duration((*ev)++, 1, pulse); in ir_raw_gen_pl()