Lines Matching refs:oob
239 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_page_hwecc() local
264 memcpy(&oob->free[i], lpc32xx_nand_mlc_registers->buff, 6); in lpc32xx_read_page_hwecc()
266 memcpy(&oob->ecc[i], lpc32xx_nand_mlc_registers->buff, 10); in lpc32xx_read_page_hwecc()
287 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_page_raw() local
306 memcpy(&oob->free[i], lpc32xx_nand_mlc_registers->data, 6); in lpc32xx_read_page_raw()
308 memcpy(&oob->ecc[i], lpc32xx_nand_mlc_registers->data, 10); in lpc32xx_read_page_raw()
335 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_oob() local
364 memcpy(&oob->free[i], lpc32xx_nand_mlc_registers->buff, 6); in lpc32xx_read_oob()
366 memcpy(&oob->ecc[i], lpc32xx_nand_mlc_registers->buff, 10); in lpc32xx_read_oob()
389 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_page_hwecc() local
398 memcpy(&lpc32xx_nand_mlc_registers->buff, &oob->free[i], 6); in lpc32xx_write_page_hwecc()
447 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_page_raw() local
454 memcpy(lpc32xx_nand_mlc_registers->buff, &oob->free[i], 6); in lpc32xx_write_page_raw()
456 memcpy(lpc32xx_nand_mlc_registers->buff, &oob->ecc[i], 10); in lpc32xx_write_page_raw()
483 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_oob() local
489 memcpy(lpc32xx_nand_mlc_registers->data, &oob->free[i], 6); in lpc32xx_write_oob()
623 struct lpc32xx_oob *oob) in read_single_page() argument
664 memcpy(&oob->free[i], lpc32xx_nand_mlc_registers->buff, 6); in read_single_page()
723 struct lpc32xx_oob oob; in nand_spl_load_image() local
726 &oob); in nand_spl_load_image()
732 if ((oob.free[0].free_oob_bytes[0] != 0xff) in nand_spl_load_image()
733 | (oob.free[0].free_oob_bytes[1] != 0xff)) in nand_spl_load_image()