Searched refs:tosend (Results 1 – 4 of 4) sorted by relevance
1330 int tosend = 0; in hvcs_write() local1365 tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer)); in hvcs_write()1370 if (!tosend) in hvcs_write()1375 tosend); in hvcs_write()1377 hvcsd->chars_in_buffer += tosend; in hvcs_write()1397 total_sent+=tosend; in hvcs_write()1398 count-=tosend; in hvcs_write()
657 int tosend = TX_BLOCK_SIZE - i; in send_data_block() local658 if (tosend > 4) in send_data_block()659 tosend = 4; in send_data_block()661 for (j = 0; j < tosend; ++j) in send_data_block()665 ret = i2c_master_send(tx->c, buf, tosend + 1); in send_data_block()666 if (ret != tosend + 1) { in send_data_block()670 i += tosend; in send_data_block()
923 int tosend = len; in cpc_tty_send_to_card() local940 nchar = (BD_DEF_LEN > tosend) ? tosend : BD_DEF_LEN; in cpc_tty_send_to_card()944 &pdata[len - tosend], in cpc_tty_send_to_card()960 tosend -= nchar; in cpc_tty_send_to_card()
469 int tosend = len; in dma_buf_write() local479 nchar = cpc_min(BD_DEF_LEN, tosend); in dma_buf_write()482 &ptdata[len - tosend], nchar); in dma_buf_write()494 tosend -= nchar; in dma_buf_write()