Lines Matching refs:tosend
388 size_t 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()
823 size_t tosend = 0; in vcc_write() local
839 tosend = min_t(size_t, count, in vcc_write()
842 if (!tosend) in vcc_write()
846 tosend); in vcc_write()
847 port->chars_in_buffer += tosend; in vcc_write()
848 pkt->tag.stype = tosend; in vcc_write()
859 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_write()
861 (VIO_TAG_SIZE + tosend), rv); in vcc_write()
863 total_sent += tosend; in vcc_write()
864 count -= tosend; in vcc_write()