1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct mipi_dsi_packet</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-struct-mipi-dsi-msg.html" title="struct mipi_dsi_msg"><link rel="next" href="API-struct-mipi-dsi-host-ops.html" title="struct mipi_dsi_host_ops"></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_packet</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-mipi-dsi-msg.html">Prev</a> </td><th width="60%" align="center">MIPI DSI Helper Functions Reference</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-mipi-dsi-host-ops.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-mipi-dsi-packet"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct mipi_dsi_packet — 2 represents a MIPI DSI packet in protocol format 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct mipi_dsi_packet { 5 size_t size; 6 u8 header[4]; 7 size_t payload_length; 8 const u8 * payload; 9}; </pre></div><div class="refsect1"><a name="idp1126155076"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">size</span></dt><dd><p> 10 size (in bytes) of the packet 11 </p></dd><dt><span class="term">header[4]</span></dt><dd><p> 12 the four bytes that make up the header (Data ID, Word Count or 13 Packet Data, and ECC) 14 </p></dd><dt><span class="term">payload_length</span></dt><dd><p> 15 number of bytes in the payload 16 </p></dd><dt><span class="term">payload</span></dt><dd><p> 17 a pointer to a buffer containing the payload, if any 18 </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-struct-mipi-dsi-msg.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html#idp1126139892">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-mipi-dsi-host-ops.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct mipi_dsi_msg</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct mipi_dsi_host_ops</span></td></tr></table></div></body></html> 19