Searched refs:tosend (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/tty/ |
D | vcc.c | 395 int tosend = 0; in vcc_tx_timer() local 404 tosend = min(VCC_BUFF_LEN, port->chars_in_buffer); in vcc_tx_timer() 405 if (!tosend) in vcc_tx_timer() 410 pkt->tag.stype = tosend; in vcc_tx_timer() 413 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_tx_timer() 843 int tosend = 0; in vcc_write() local 864 tosend = min(count, (VCC_BUFF_LEN - port->chars_in_buffer)); in vcc_write() 866 if (!tosend) in vcc_write() 870 tosend); in vcc_write() 871 port->chars_in_buffer += tosend; in vcc_write() [all …]
|
/Linux-v4.19/drivers/media/i2c/ |
D | ir-kbd-i2c.c | 396 int tosend = sizeof(*code_block) - i; in send_data_block() local 398 if (tosend > 4) in send_data_block() 399 tosend = 4; in send_data_block() 401 for (j = 0; j < tosend; ++j) in send_data_block() 403 dev_dbg(&ir->rc->dev, "%*ph", tosend + 1, buf); in send_data_block() 404 ret = i2c_master_send(ir->tx_c, buf, tosend + 1); in send_data_block() 405 if (ret != tosend + 1) { in send_data_block() 410 i += tosend; in send_data_block()
|
/Linux-v4.19/drivers/tty/hvc/ |
D | hvcs.c | 1313 int tosend = 0; in hvcs_write() local 1348 tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer)); in hvcs_write() 1353 if (!tosend) in hvcs_write() 1358 tosend); in hvcs_write() 1360 hvcsd->chars_in_buffer += tosend; in hvcs_write() 1380 total_sent+=tosend; in hvcs_write() 1381 count-=tosend; in hvcs_write()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 1422 int tosend, total, offset; in drm_dp_send_sideband_msg() local 1429 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); in drm_dp_send_sideband_msg() 1433 tosend); in drm_dp_send_sideband_msg() 1434 if (ret != tosend) { in drm_dp_send_sideband_msg() 1439 DRM_DEBUG_KMS("failed to dpcd write %d %d\n", tosend, ret); in drm_dp_send_sideband_msg() 1443 offset += tosend; in drm_dp_send_sideband_msg() 1444 total -= tosend; in drm_dp_send_sideband_msg() 1494 int len, space, idx, tosend; in process_single_tx_qlock() local 1516 tosend = min(len, space); in process_single_tx_qlock() 1523 hdr.msg_len = tosend + 1; in process_single_tx_qlock() [all …]
|