Lines Matching refs:i2c_write
423 buf[idx] = (req->u.i2c_write.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
425 buf[idx] = (req->u.i2c_write.write_i2c_device_id) & 0x7f; in drm_dp_encode_sideband_req()
427 buf[idx] = (req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req()
429 memcpy(&buf[idx], req->u.i2c_write.bytes, req->u.i2c_write.num_bytes); in drm_dp_encode_sideband_req()
430 idx += req->u.i2c_write.num_bytes; in drm_dp_encode_sideband_req()
565 struct drm_dp_remote_i2c_write *w = &req->u.i2c_write; in drm_dp_decode_sideband_req()
663 req->u.i2c_write.port_number, in drm_dp_dump_sideband_msg_req_body()
664 req->u.i2c_write.write_i2c_device_id, in drm_dp_dump_sideband_msg_req_body()
665 req->u.i2c_write.num_bytes, req->u.i2c_write.num_bytes, in drm_dp_dump_sideband_msg_req_body()
666 req->u.i2c_write.bytes); in drm_dp_dump_sideband_msg_req_body()
718 kfree(req.u.i2c_write.bytes); in drm_dp_mst_dump_sideband_msg_tx()
5677 msg.u.i2c_write.port_number = port->port_num; in drm_dp_mst_i2c_write()
5678 msg.u.i2c_write.write_i2c_device_id = msgs[i].addr; in drm_dp_mst_i2c_write()
5679 msg.u.i2c_write.num_bytes = msgs[i].len; in drm_dp_mst_i2c_write()
5680 msg.u.i2c_write.bytes = msgs[i].buf; in drm_dp_mst_i2c_write()