Lines Matching defs:data
51 * adjust 'oobfree' to match your existing Yaffs data.
70 /* Write a chunk (page) of data to NAND.
72 * Caller always provides ExtendedTags data which are converted to a more
74 * contents of the tags meta-data; used to valid the tags when read.
78 * - Write data and packed tags to NAND.
80 * Note: Due to the use of the PackedTags1 meta-data which does not include
85 * function is called with a NULL data pointer -- calling MTD write_oob
86 * without data is valid usage (2.6.17).
92 int nand_chunk, const __u8 *data, const yaffs_ext_tags *etags)
131 ops.len = (data) ? chunkBytes : 0;
133 ops.datbuf = (__u8 *)data;
158 * Caller expects ExtendedTags data to be usable even on error; that is,
161 * - Check ECC results for data (if applicable)
170 int nand_chunk, __u8 *data, yaffs_ext_tags *etags)
183 ops.len = (data) ? chunkBytes : 0;
185 ops.datbuf = data;
210 /* MTD's ECC fixed the data */
216 /* MTD's ECC could not fix the data */