Lines Matching refs:actual_len
678 int actual_len; in smsc95xx_send_common() local
703 &actual_len, in smsc95xx_send_common()
707 (unsigned int)actual_len, err); in smsc95xx_send_common()
739 int actual_len; in smsc95xx_recv() local
746 (void *)recv_buf, RX_URB_SIZE, &actual_len, in smsc95xx_recv()
749 actual_len, err); in smsc95xx_recv()
754 if (actual_len > RX_URB_SIZE) { in smsc95xx_recv()
755 debug("Rx: received too many bytes %d\n", actual_len); in smsc95xx_recv()
760 while (actual_len > 0) { in smsc95xx_recv()
765 if (actual_len < sizeof(packet_len)) { in smsc95xx_recv()
777 if (packet_len > actual_len - sizeof(packet_len)) { in smsc95xx_recv()
787 actual_len -= sizeof(packet_len) + packet_len; in smsc95xx_recv()
794 actual_len -= align; in smsc95xx_recv()