1__NAND_UNLOCK(9)          Internal Functions Provided         __NAND_UNLOCK(9)
2
3
4

NAME

6       __nand_unlock - [REPLACABLE] unlocks specified locked blockes
7

SYNOPSIS

9       int __nand_unlock(struct mtd_info * mtd, loff_t ofs, uint64_t len,
10                         int invert);
11

ARGUMENTS

13       mtd
14           -- undescribed --
15
16       ofs
17           -- undescribed --
18
19       len
20           -- undescribed --
21
22       invert
23           -- undescribed --
24

DESCRIPTION

26       param mtd - mtd info param ofs - offset to start unlock from param len
27       - length to unlock invert - when = 0, unlock the range of blocks within
28       the lower and upper boundary address whne = 1, unlock the range of
29       blocks outside the boundaries of the lower and upper boundary address
30
31       return - unlock status
32

AUTHOR

34       Thomas Gleixner <tglx@linutronix.de>
35           Author.
36
38Kernel Hackers Manual 2.6.       November 2011                __NAND_UNLOCK(9)
Impressum