Searched refs:tosend (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/tty/hvc/ |
D | hvcs.c | 1328 int tosend = 0; in hvcs_write() local 1363 tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer)); in hvcs_write() 1368 if (!tosend) in hvcs_write() 1373 tosend); in hvcs_write() 1375 hvcsd->chars_in_buffer += tosend; in hvcs_write() 1395 total_sent+=tosend; in hvcs_write() 1396 count-=tosend; in hvcs_write()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_zilog.c | 651 int tosend = TX_BLOCK_SIZE - i; in send_data_block() local 653 if (tosend > 4) in send_data_block() 654 tosend = 4; in send_data_block() 656 for (j = 0; j < tosend; ++j) in send_data_block() 659 ret = i2c_master_send(tx->c, buf, tosend + 1); in send_data_block() 660 if (ret != tosend + 1) { in send_data_block() 665 i += tosend; in send_data_block()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 1361 int tosend, total, offset; in drm_dp_send_sideband_msg() local 1368 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total); in drm_dp_send_sideband_msg() 1372 tosend); in drm_dp_send_sideband_msg() 1373 if (ret != tosend) { in drm_dp_send_sideband_msg() 1378 DRM_DEBUG_KMS("failed to dpcd write %d %d\n", tosend, ret); in drm_dp_send_sideband_msg() 1382 offset += tosend; in drm_dp_send_sideband_msg() 1383 total -= tosend; in drm_dp_send_sideband_msg() 1433 int len, space, idx, tosend; in process_single_tx_qlock() local 1455 tosend = min(len, space); in process_single_tx_qlock() 1462 hdr.msg_len = tosend + 1; in process_single_tx_qlock() [all …]
|