Lines Matching refs:num_bytes
247 buf[idx] = (req->u.dpcd_read.num_bytes); in drm_dp_encode_sideband_req()
259 buf[idx] = (req->u.dpcd_write.num_bytes); in drm_dp_encode_sideband_req()
261 memcpy(&buf[idx], req->u.dpcd_write.bytes, req->u.dpcd_write.num_bytes); in drm_dp_encode_sideband_req()
262 idx += req->u.dpcd_write.num_bytes; in drm_dp_encode_sideband_req()
271 buf[idx] = req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req()
273 …emcpy(&buf[idx], req->u.i2c_read.transactions[i].bytes, req->u.i2c_read.transactions[i].num_bytes); in drm_dp_encode_sideband_req()
274 idx += req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req()
291 buf[idx] = (req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req()
293 memcpy(&buf[idx], req->u.i2c_write.bytes, req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req()
294 idx += req->u.i2c_write.num_bytes; in drm_dp_encode_sideband_req()
434 repmsg->u.remote_dpcd_read_ack.num_bytes = raw->msg[idx]; in drm_dp_sideband_parse_remote_dpcd_read()
439 …py(repmsg->u.remote_dpcd_read_ack.bytes, &raw->msg[idx], repmsg->u.remote_dpcd_read_ack.num_bytes); in drm_dp_sideband_parse_remote_dpcd_read()
469 repmsg->u.remote_i2c_read_ack.num_bytes = raw->msg[idx]; in drm_dp_sideband_parse_remote_i2c_read_ack()
472 …mcpy(repmsg->u.remote_i2c_read_ack.bytes, &raw->msg[idx], repmsg->u.remote_i2c_read_ack.num_bytes); in drm_dp_sideband_parse_remote_i2c_read_ack()
643 …ld_dpcd_write(struct drm_dp_sideband_msg_tx *msg, u8 port_num, u32 offset, u8 num_bytes, u8 *bytes) in build_dpcd_write() argument
650 req.u.dpcd_write.num_bytes = num_bytes; in build_dpcd_write()
1359 …atic int build_dpcd_read(struct drm_dp_sideband_msg_tx *msg, u8 port_num, u32 offset, u8 num_bytes)
1366 req.u.dpcd_read.num_bytes = num_bytes;
3040 msg.u.i2c_read.transactions[i].num_bytes = msgs[i].len; in drm_dp_mst_i2c_xfer()
3065 if (txmsg->reply.u.remote_i2c_read_ack.num_bytes != msgs[num - 1].len) { in drm_dp_mst_i2c_xfer()