Lines Matching refs:tosend
2735 int tosend, total, offset;
2742 tosend = min3(mgr->max_dpcd_transaction_bytes, 16, total);
2746 tosend);
2751 drm_dbg_kms(mgr->dev, "failed to dpcd write %d %d\n", tosend, ret);
2755 offset += tosend;
2756 total -= tosend;
2796 int len, space, idx, tosend;
2818 tosend = min(len, space);
2825 hdr.msg_len = tosend + 1;
2827 memcpy(&chunk[idx], &txmsg->msg[txmsg->cur_offset], tosend);
2829 drm_dp_crc_sideband_chunk_req(&chunk[idx], tosend);
2830 idx += tosend + 1;
2845 txmsg->cur_offset += tosend;