Searched refs:pulse_time (Results 1 – 1 of 1) sorted by relevance
125 u64 pulse_time; in walkera0701_irq_handler() local129 pulse_time = w->irq_time - w->irq_lasttime; in walkera0701_irq_handler()140 pulse_time -= BIN1_PULSE; in walkera0701_irq_handler()143 pulse_time -= BIN0_PULSE; in walkera0701_irq_handler()149 if (abs(pulse_time - SYNC_PULSE) < RESERVE) /* new frame sync */ in walkera0701_irq_handler()152 if ((pulse_time > (ANALOG_MIN_PULSE - RESERVE) in walkera0701_irq_handler()153 && (pulse_time < (ANALOG_MAX_PULSE + RESERVE)))) { in walkera0701_irq_handler()154 pulse_time -= (ANALOG_MIN_PULSE - RESERVE); in walkera0701_irq_handler()155 pulse_time = (u32) pulse_time / ANALOG_DELTA; /* overtiping is safe, pulsetime < s32.. */ in walkera0701_irq_handler()156 w->buf[w->counter++] |= (pulse_time & 7); in walkera0701_irq_handler()[all …]