Lines Matching refs:rx_counter
358 u32 rx_counter; in l1oip_socket_recv() local
408 rx_counter = hc->chan[channel].rx_counter; in l1oip_socket_recv()
409 if (((s16)(timebase - rx_counter)) >= 0) { in l1oip_socket_recv()
411 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv()
412 rx_counter = in l1oip_socket_recv()
413 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
415 rx_counter = ((rx_counter & 0xffff0000) + 0x10000) in l1oip_socket_recv()
419 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv()
420 rx_counter = in l1oip_socket_recv()
421 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
423 rx_counter = ((rx_counter & 0xffff0000) - 0x10000) in l1oip_socket_recv()
426 hc->chan[channel].rx_counter = rx_counter; in l1oip_socket_recv()
431 swap(hc->chan[channel].disorder_cnt, rx_counter); in l1oip_socket_recv()
436 queue_ch_frame(&bch->ch, PH_DATA_IND, rx_counter, nskb); in l1oip_socket_recv()