Lines Matching refs:tosend
388 int tosend = 0; in vcc_tx_timer() local
397 tosend = min(VCC_BUFF_LEN, port->chars_in_buffer); in vcc_tx_timer()
398 if (!tosend) in vcc_tx_timer()
403 pkt->tag.stype = tosend; in vcc_tx_timer()
406 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_tx_timer()
814 int tosend = 0; in vcc_write() local
830 tosend = min(count, (VCC_BUFF_LEN - port->chars_in_buffer)); in vcc_write()
832 if (!tosend) in vcc_write()
836 tosend); in vcc_write()
837 port->chars_in_buffer += tosend; in vcc_write()
838 pkt->tag.stype = tosend; in vcc_write()
849 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_write()
851 (VIO_TAG_SIZE + tosend), rv); in vcc_write()
853 total_sent += tosend; in vcc_write()
854 count -= tosend; in vcc_write()