Lines Matching full:oob
359 * oob = | BBM | M | ECC_0 | ... | ECC_N |
366 static void raw_read(struct nand_chip *chip, u8 *buf, u8 *oob) in raw_read() argument
369 u8 *oob_orig = oob; in raw_read()
376 if (oob) in raw_read()
377 oob += BBM_SIZE; in raw_read()
379 aux_read(chip, &oob, METADATA_SIZE, &pos); in raw_read()
383 aux_read(chip, &oob, ecc_size, &pos); in raw_read()
390 aux_read(chip, &oob, ecc_size, &pos); in raw_read()
393 static void raw_write(struct nand_chip *chip, const u8 *buf, const u8 *oob) in raw_write() argument
396 const u8 *oob_orig = oob; in raw_write()
403 if (oob) in raw_write()
404 oob += BBM_SIZE; in raw_write()
406 aux_write(chip, &oob, METADATA_SIZE, &pos); in raw_write()
410 aux_write(chip, &oob, ecc_size, &pos); in raw_write()
417 aux_write(chip, &oob, ecc_size, &pos); in raw_write()