1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct platform_nand_chip</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-manufacturers.html" title="struct nand_manufacturers"><link rel="next" href="API-struct-platform-nand-ctrl.html" title="struct platform_nand_ctrl"></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 platform_nand_chip</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-nand-manufacturers.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-platform-nand-ctrl.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-platform-nand-chip"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct platform_nand_chip &#8212; 
2     chip level device structure
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct platform_nand_chip {
5  int nr_chips;
6  int chip_offset;
7  int nr_partitions;
8  struct mtd_partition * partitions;
9  struct nand_ecclayout * ecclayout;
10  int chip_delay;
11  unsigned int options;
12  unsigned int bbt_options;
13  const char ** part_probe_types;
14};  </pre></div><div class="refsect1"><a name="idp1102703732"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">nr_chips</span></dt><dd><p>
15   max. number of chips to scan for
16      </p></dd><dt><span class="term">chip_offset</span></dt><dd><p>
17   chip number offset
18      </p></dd><dt><span class="term">nr_partitions</span></dt><dd><p>
19   number of partitions pointed to by partitions (or zero)
20      </p></dd><dt><span class="term">partitions</span></dt><dd><p>
21   mtd partition list
22      </p></dd><dt><span class="term">ecclayout</span></dt><dd><p>
23   ECC layout info structure
24      </p></dd><dt><span class="term">chip_delay</span></dt><dd><p>
25   R/B delay value in us
26      </p></dd><dt><span class="term">options</span></dt><dd><p>
27   Option flags, e.g. 16bit buswidth
28      </p></dd><dt><span class="term">bbt_options</span></dt><dd><p>
29   BBT option flags, e.g. NAND_BBT_USE_FLASH
30      </p></dd><dt><span class="term">part_probe_types</span></dt><dd><p>
31   NULL-terminated array of probe types
32      </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-nand-manufacturers.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-platform-nand-ctrl.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct nand_manufacturers</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 platform_nand_ctrl</span></td></tr></table></div></body></html>
33