Lines Matching refs:wbuf_index
30 int wbuf_index; member
59 if (ir_rx51->wbuf_index < 0) { in ir_rx51_timer_cb()
62 ir_rx51->wbuf_index); in ir_rx51_timer_cb()
73 if (ir_rx51->wbuf_index >= WBUF_LEN) in ir_rx51_timer_cb()
75 if (ir_rx51->wbuf[ir_rx51->wbuf_index] == -1) in ir_rx51_timer_cb()
78 if (ir_rx51->wbuf_index % 2) in ir_rx51_timer_cb()
83 ns = US_TO_NS(ir_rx51->wbuf[ir_rx51->wbuf_index]); in ir_rx51_timer_cb()
86 ir_rx51->wbuf_index++; in ir_rx51_timer_cb()
96 ir_rx51->wbuf_index = -1; in ir_rx51_timer_cb()
114 wait_event_interruptible(ir_rx51->wqueue, ir_rx51->wbuf_index < 0); in ir_rx51_tx()
126 ir_rx51->wbuf_index = 1; in ir_rx51_tx()
134 wait_event_interruptible(ir_rx51->wqueue, ir_rx51->wbuf_index < 0); in ir_rx51_tx()
172 .wbuf_index = -1,