Lines Matching refs:rx_length
731 int rx_length; in userial_read_thread() local
752 rx_length = my_read(linux_cb.sock, current_packet, READ_LIMIT); in userial_read_thread()
759 rx_length = 0; /* paranoia setting */ in userial_read_thread()
763 if (rx_length > 0) { in userial_read_thread()
767 if (rx_length > sRxLength) sRxLength = rx_length; in userial_read_thread()
768 p_buf->len = (uint16_t)rx_length; in userial_read_thread()
774 p_buf, Userial_in_q.count, rx_length); in userial_read_thread()
783 if (rx_length == -EAGAIN) in userial_read_thread()
785 else if (rx_length == -1) { in userial_read_thread()
788 } else if (rx_length == 0 && !isWake(-1)) in userial_read_thread()
791 if (rx_length <= 0 && in userial_read_thread()
797 rx_length, error_count, errno); in userial_read_thread()
809 rx_length, error_count, errno); in userial_read_thread()