Lines Matching refs:ecc
110 } ecc[4]; member
266 memcpy(&oob->ecc[i], lpc32xx_nand_mlc_registers->buff, 10); in lpc32xx_read_page_hwecc()
308 memcpy(&oob->ecc[i], lpc32xx_nand_mlc_registers->data, 10); in lpc32xx_read_page_raw()
366 memcpy(&oob->ecc[i], lpc32xx_nand_mlc_registers->buff, 10); in lpc32xx_read_oob()
456 memcpy(lpc32xx_nand_mlc_registers->buff, &oob->ecc[i], 10); in lpc32xx_write_page_raw()
564 lpc32xx_chip.ecc.mode = NAND_ECC_HW; in board_nand_init()
565 lpc32xx_chip.ecc.layout = &lpc32xx_largepage_ecclayout; in board_nand_init()
566 lpc32xx_chip.ecc.size = 512; in board_nand_init()
567 lpc32xx_chip.ecc.bytes = 10; in board_nand_init()
568 lpc32xx_chip.ecc.strength = 4; in board_nand_init()
569 lpc32xx_chip.ecc.read_page = lpc32xx_read_page_hwecc; in board_nand_init()
570 lpc32xx_chip.ecc.read_page_raw = lpc32xx_read_page_raw; in board_nand_init()
571 lpc32xx_chip.ecc.write_page = lpc32xx_write_page_hwecc; in board_nand_init()
572 lpc32xx_chip.ecc.write_page_raw = lpc32xx_write_page_raw; in board_nand_init()
573 lpc32xx_chip.ecc.read_oob = lpc32xx_read_oob; in board_nand_init()
574 lpc32xx_chip.ecc.write_oob = lpc32xx_write_oob; in board_nand_init()