android_kernel_xiaomi_sm8350/include/linux/mtd
Vitaly Wool 7014568bad [MTD] [NAND] remove len/ooblen confusion.
As was discussed between Ricard Wanderlöf, David Woodhouse, Artem 
Bityutskiy and me, the current API for reading/writing OOB is confusing. 

The thing that introduces confusion is the need to specify ops.len 
together with ops.ooblen for reads/writes that concern only OOB not data 
area. So, ops.len is overloaded: when ops.datbuf != NULL it serves to 
specify the length of the data read, and when ops.datbuf == NULL, it 
serves to specify the full OOB read length.

The patch inlined below is the slightly updated version of the previous 
patch serving the same purpose, but with the new Artem's comments taken 
into account.

Artem, BTW, thanks a lot for your valuable input!

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-11-28 22:39:03 +00:00
..
bbm.h MTD: kernel-doc fixes + additions 2006-06-29 08:55:41 +01:00
blktrans.h [MTD] Allow variable block sizes in mtd_blkdevs 2006-11-28 22:27:47 +00:00
cfi_endian.h
cfi.h MTD: Convert Atmel PRI information to AMD format 2006-08-16 20:13:06 -05:00
compatmac.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
iflash.h
inftl.h [MTD] NAND Replace oobinfo by ecclayout 2006-05-29 15:06:50 +02:00
jedec.h
map.h
mtd.h [MTD] [NAND] remove len/ooblen confusion. 2006-11-28 22:39:03 +00:00
nand_ecc.h
nand.h [MTD] NAND: Combined oob buffer so it's contiguous with data 2006-10-21 17:48:58 +01:00
ndfc.h [MTD] NAND Fix platform structure and NDFC driver 2006-05-29 15:06:49 +02:00
nftl.h [MTD] NAND Replace oobinfo by ecclayout 2006-05-29 15:06:50 +02:00
onenand_regs.h [MTD ONENAND] Check OneNAND lock scheme & all block unlock command support 2006-09-26 16:46:28 +01:00
onenand.h [MTD ONENAND] Check OneNAND lock scheme & all block unlock command support 2006-09-26 16:46:28 +01:00
partitions.h [MTD] NAND Replace oobinfo by ecclayout 2006-05-29 15:06:50 +02:00
physmap.h
plat-ram.h fix file specification in comments 2006-10-03 23:01:26 +02:00
pmc551.h
xip.h