Searched refs:tosend (Results 1 – 4 of 4) sorted by relevance
| /drivers/tty/ |
| A D | vcc.c | 388 size_t tosend = 0; in vcc_tx_timer() local 398 if (!tosend) in vcc_tx_timer() 403 pkt->tag.stype = 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() 863 total_sent += tosend; in vcc_write() [all …]
|
| /drivers/media/i2c/ |
| A D | ir-kbd-i2c.c | 423 int tosend = sizeof(*code_block) - i; in send_data_block() local 425 if (tosend > 4) in send_data_block() 426 tosend = 4; in send_data_block() 428 for (j = 0; j < tosend; ++j) in send_data_block() 430 dev_dbg(&ir->rc->dev, "%*ph", tosend + 1, buf); in send_data_block() 431 ret = i2c_master_send(ir->tx_c, buf, tosend + 1); in send_data_block() 432 if (ret != tosend + 1) { in send_data_block() 437 i += tosend; in send_data_block()
|
| /drivers/tty/hvc/ |
| A D | hvcs.c | 1265 size_t tosend = 0; in hvcs_write() local 1300 tosend = min_t(size_t, count, in hvcs_write() 1306 if (!tosend) in hvcs_write() 1311 tosend); in hvcs_write() 1313 hvcsd->chars_in_buffer += tosend; in hvcs_write() 1333 total_sent+=tosend; in hvcs_write() 1334 count-=tosend; in hvcs_write()
|
| /drivers/gpu/drm/display/ |
| A D | drm_dp_mst_topology.c | 2735 int tosend, total, offset; in drm_dp_send_sideband_msg() local 2742 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); in drm_dp_send_sideband_msg() 2746 tosend); in drm_dp_send_sideband_msg() 2755 offset += tosend; in drm_dp_send_sideband_msg() 2756 total -= tosend; in drm_dp_send_sideband_msg() 2796 int len, space, idx, tosend; in process_single_tx_qlock() local 2818 tosend = min(len, space); in process_single_tx_qlock() 2825 hdr.msg_len = tosend + 1; in process_single_tx_qlock() 2829 drm_dp_crc_sideband_chunk_req(&chunk[idx], tosend); in process_single_tx_qlock() 2830 idx += tosend + 1; in process_single_tx_qlock() [all …]
|
Completed in 31 milliseconds