Lines Matching refs:rx_length
761 int rx_length; in userial_read_thread() local
783 rx_length = my_read(linux_cb.sock, current_packet, READ_LIMIT); in userial_read_thread()
789 rx_length = 0; /* paranoia setting */ in userial_read_thread()
793 if (rx_length > 0) in userial_read_thread()
798 if (rx_length > sRxLength) in userial_read_thread()
799 sRxLength = rx_length; in userial_read_thread()
800 p_buf->len = (UINT16)rx_length; in userial_read_thread()
804 p_buf, Userial_in_q.count, rx_length); in userial_read_thread()
814 if (rx_length == -EAGAIN) in userial_read_thread()
816 else if (rx_length == -1) in userial_read_thread()
821 else if (rx_length == 0 && !isWake(-1)) in userial_read_thread()
824 if (rx_length <= 0 && ((error_count > 0) && ((error_count % iMaxError) == 0))) in userial_read_thread()
829 rx_length, error_count, errno); in userial_read_thread()
839 rx_length, error_count, errno); in userial_read_thread()