Lines Matching refs:gap
187 u32 gap, rc5, scancode; in bttv_rc5_timer_end() local
193 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end()
195 if (gap > USEC_PER_SEC) { in bttv_rc5_timer_end()
196 gap = 200000; in bttv_rc5_timer_end()
202 if (gap < 28000) { in bttv_rc5_timer_end()
240 u32 gap; in bttv_rc5_irq() local
250 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq()
252 if (gap > USEC_PER_SEC) { in bttv_rc5_irq()
253 gap = 200000; in bttv_rc5_irq()
257 gap, (gpio & 0x20) ? "mark" : "space"); in bttv_rc5_irq()
268 ir->last_bit = (gap - ir_rc5_remote_gap / 2) / in bttv_rc5_irq()