Home
last modified time | relevance | path

Searched refs:tosend (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/tty/hvc/
Dhvcs.c1330 int tosend = 0; in hvcs_write() local
1365 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()
/linux-2.6.39/drivers/staging/lirc/
Dlirc_zilog.c657 int tosend = TX_BLOCK_SIZE - i; in send_data_block() local
658 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()
/linux-2.6.39/drivers/net/wan/
Dpc300_tty.c923 int tosend = len; in cpc_tty_send_to_card() local
940 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()
Dpc300_drv.c469 int tosend = len; in dma_buf_write() local
479 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()