Lines Matching refs:rx_counter
371 u32 rx_counter; in l1oip_socket_recv() local
421 rx_counter = hc->chan[channel].rx_counter; in l1oip_socket_recv()
422 if (((s16)(timebase - rx_counter)) >= 0) { in l1oip_socket_recv()
424 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv()
425 rx_counter = in l1oip_socket_recv()
426 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
428 rx_counter = ((rx_counter & 0xffff0000) + 0x10000) in l1oip_socket_recv()
432 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv()
433 rx_counter = in l1oip_socket_recv()
434 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
436 rx_counter = ((rx_counter & 0xffff0000) - 0x10000) in l1oip_socket_recv()
439 hc->chan[channel].rx_counter = rx_counter; in l1oip_socket_recv()
444 swap(hc->chan[channel].disorder_cnt, rx_counter); in l1oip_socket_recv()
449 queue_ch_frame(&bch->ch, PH_DATA_IND, rx_counter, nskb); in l1oip_socket_recv()