1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct mipi_dsi_msg</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux DRM Developer's Guide"><link rel="up" href="ch02s05.html#idp1126139892" title="MIPI DSI Helper Functions Reference"><link rel="prev" href="API-drm-dp-mst-topology-mgr-destroy.html" title="drm_dp_mst_topology_mgr_destroy"><link rel="next" href="API-struct-mipi-dsi-packet.html" title="struct mipi_dsi_packet"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct mipi_dsi_msg</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-drm-dp-mst-topology-mgr-destroy.html">Prev</a>&#160;</td><th width="60%" align="center">MIPI DSI Helper Functions Reference</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-mipi-dsi-packet.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-mipi-dsi-msg"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct mipi_dsi_msg &#8212; 
2  read/write DSI buffer
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct mipi_dsi_msg {
5  u8 channel;
6  u8 type;
7  u16 flags;
8  size_t tx_len;
9  const void * tx_buf;
10  size_t rx_len;
11  void * rx_buf;
12};  </pre></div><div class="refsect1"><a name="idp1126145044"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">channel</span></dt><dd><p>
13virtual channel id
14      </p></dd><dt><span class="term">type</span></dt><dd><p>
15payload data type
16      </p></dd><dt><span class="term">flags</span></dt><dd><p>
17flags controlling this message transmission
18      </p></dd><dt><span class="term">tx_len</span></dt><dd><p>
19length of <em class="parameter"><code>tx_buf</code></em>
20      </p></dd><dt><span class="term">tx_buf</span></dt><dd><p>
21data to be written
22      </p></dd><dt><span class="term">rx_len</span></dt><dd><p>
23length of <em class="parameter"><code>rx_buf</code></em>
24      </p></dd><dt><span class="term">rx_buf</span></dt><dd><p>
25data to be read, or NULL
26      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-drm-dp-mst-topology-mgr-destroy.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html#idp1126139892">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-mipi-dsi-packet.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">drm_dp_mst_topology_mgr_destroy</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct mipi_dsi_packet</span></td></tr></table></div></body></html>
27