Lines Matching full:pulse
5 * serial_ir - Device driver that records pulse- and pause-lengths
222 unsigned int pulse, space; in send_pulse_homebrew_softcarrier() local
225 pulse = DIV_ROUND_CLOSEST(serial_ir.duty_cycle * (NSEC_PER_SEC / 100), in send_pulse_homebrew_softcarrier()
235 edge = ktime_add_ns(edge, pulse); in send_pulse_homebrew_softcarrier()
267 static unsigned int ptr, pulse, space; in frbwrite() local
271 pulse += l; in frbwrite()
272 if (pulse > 250) { in frbwrite()
274 ev.pulse = false; in frbwrite()
276 ev.duration = pulse; in frbwrite()
277 ev.pulse = true; in frbwrite()
280 pulse = 0; in frbwrite()
293 space += pulse; in frbwrite()
299 pulse = 0; in frbwrite()
304 ev.pulse = false; in frbwrite()
306 ev.duration = pulse; in frbwrite()
307 ev.pulse = true; in frbwrite()
310 pulse = 0; in frbwrite()
315 ev.pulse = is_pulse; in frbwrite()
348 * active high or active low, or the space/pulse in serial_ir_irq_handler()
373 * detecting pulse while this in serial_ir_irq_handler()
566 /* Initialize pulse/space widths */ in serial_ir_probe()