Lines Matching refs:to_send
762 unsigned int txlen, to_send, until_end;
775 to_send = uart_circ_chars_pending(xmit);
777 if (likely(to_send)) {
781 to_send = (to_send > txlen) ? txlen : to_send;
783 if (until_end < to_send) {
787 max310x_batch_write(port, xmit->buf, to_send - until_end);
789 max310x_batch_write(port, xmit->buf + xmit->tail, to_send);
793 port->icount.tx += to_send;
794 xmit->tail = (xmit->tail + to_send) & (UART_XMIT_SIZE - 1);