1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct nand_buffers</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="MTD NAND Driver Programming Interface"><link rel="up" href="structs.html" title="Chapter&#160;9.&#160;Structures"><link rel="prev" href="API-struct-nand-ecc-ctrl.html" title="struct nand_ecc_ctrl"><link rel="next" href="API-struct-nand-chip.html" title="struct nand_chip"></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 nand_buffers</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-nand-ecc-ctrl.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;9.&#160;Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-nand-chip.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-nand-buffers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct nand_buffers &#8212; 
2     buffer structure for read/write
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct nand_buffers {
5  uint8_t * ecccalc;
6  uint8_t * ecccode;
7  uint8_t * databuf;
8};  </pre></div><div class="refsect1"><a name="idp1102634308"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">ecccalc</span></dt><dd><p>
9   buffer pointer for calculated ECC, size is oobsize.
10      </p></dd><dt><span class="term">ecccode</span></dt><dd><p>
11   buffer pointer for ECC read from flash, size is oobsize.
12      </p></dd><dt><span class="term">databuf</span></dt><dd><p>
13   buffer pointer for data, size is (page size + oobsize).
14      </p></dd></dl></div></div><div class="refsect1"><a name="idp1102637020"></a><h2>Description</h2><p>
15   Do not change the order of buffers. databuf and oobrbuf must be in
16   consecutive order.
17</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-nand-ecc-ctrl.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="structs.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-nand-chip.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct nand_ecc_ctrl</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 nand_chip</span></td></tr></table></div></body></html>
18