'\" t .\" Title: __nand_unlock .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Internal Functions Provided .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "__NAND_UNLOCK" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Internal 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_unlock \- [REPLACEABLE] unlocks specified locked blocks .SH "SYNOPSIS" .HP \w'int\ __nand_unlock('u .BI "int __nand_unlock(struct\ mtd_info\ *\ " "mtd" ", loff_t\ " "ofs" ", uint64_t\ " "len" ", int\ " "invert" ");" .SH "ARGUMENTS" .PP \fImtd\fR .RS 4 mtd info .RE .PP \fIofs\fR .RS 4 offset to start unlock from .RE .PP \fIlen\fR .RS 4 length to unlock .RE .PP \fIinvert\fR .RS 4 when = 0, unlock the range of blocks within the lower and upper boundary address when = 1, unlock the range of blocks outside the boundaries of the lower and upper boundary address .RE .SH "DESCRIPTION" .PP Returs unlock status\&. .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br