Lines Matching full:pulse
5 * serial_ir - Device driver that records pulse- and pause-lengths
223 unsigned int pulse, space; in send_pulse_homebrew_softcarrier() local
226 pulse = DIV_ROUND_CLOSEST(serial_ir.duty_cycle * (NSEC_PER_SEC / 100), in send_pulse_homebrew_softcarrier()
236 edge = ktime_add_ns(edge, pulse); in send_pulse_homebrew_softcarrier()
268 static unsigned int ptr, pulse, space; in frbwrite() local
272 pulse += l; in frbwrite()
273 if (pulse > 250) { in frbwrite()
275 ev.pulse = false; in frbwrite()
277 ev.duration = pulse; in frbwrite()
278 ev.pulse = true; in frbwrite()
281 pulse = 0; in frbwrite()
294 space += pulse; in frbwrite()
300 pulse = 0; in frbwrite()
305 ev.pulse = false; in frbwrite()
307 ev.duration = pulse; in frbwrite()
308 ev.pulse = true; in frbwrite()
311 pulse = 0; in frbwrite()
316 ev.pulse = is_pulse; in frbwrite()
349 * active high or active low, or the space/pulse in serial_ir_irq_handler()
374 * detecting pulse while this in serial_ir_irq_handler()
567 /* Initialize pulse/space widths */ in serial_ir_probe()