'\" t .\" Title: nand_scan .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Public Functions Provided .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "NAND_SCAN" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "Public Functions Provided" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" nand_scan \- [NAND Interface] Scan for the NAND device .SH "SYNOPSIS" .HP \w'int\ nand_scan('u .BI "int nand_scan(struct\ mtd_info\ *\ " "mtd" ", int\ " "maxchips" ");" .SH "ARGUMENTS" .PP \fImtd\fR .RS 4 MTD device structure .RE .PP \fImaxchips\fR .RS 4 number of chips to scan for .RE .SH "DESCRIPTION" .PP This fills out all the uninitialized function pointers with the defaults\&. The flash ID is read and the mtd/chip structures are filled with the appropriate values\&. .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br