Lines Matching refs:ecc

1256 		chip->ecc.read_page_raw(mtd, chip, buf, oob_required, page);  in pxa3xx_nand_read_page_hwecc()
1259 NULL, 0, chip->ecc.strength); in pxa3xx_nand_read_page_hwecc()
1341 return chip->ecc.read_page_raw(mtd, chip, chip->buffers->databuf, true, in pxa3xx_nand_read_oob_raw()
1521 struct nand_ecc_ctrl *ecc, in pxa_ecc_init() argument
1530 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1531 ecc->size = 512; in pxa_ecc_init()
1532 ecc->strength = 1; in pxa_ecc_init()
1540 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1541 ecc->size = 512; in pxa_ecc_init()
1542 ecc->strength = 1; in pxa_ecc_init()
1555 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1556 ecc->size = info->chunk_size; in pxa_ecc_init()
1557 ecc->layout = &ecc_layout_2KB_bch4bit; in pxa_ecc_init()
1558 ecc->strength = 16; in pxa_ecc_init()
1567 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1568 ecc->size = info->chunk_size; in pxa_ecc_init()
1569 ecc->layout = &ecc_layout_4KB_bch4bit; in pxa_ecc_init()
1570 ecc->strength = 16; in pxa_ecc_init()
1579 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1580 ecc->size = info->chunk_size; in pxa_ecc_init()
1581 ecc->layout = &ecc_layout_8KB_bch4bit; in pxa_ecc_init()
1582 ecc->strength = 16; in pxa_ecc_init()
1597 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1598 ecc->size = info->chunk_size; in pxa_ecc_init()
1599 ecc->layout = &ecc_layout_2KB_bch8bit; in pxa_ecc_init()
1600 ecc->strength = 16; in pxa_ecc_init()
1611 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1612 ecc->size = info->chunk_size; in pxa_ecc_init()
1613 ecc->layout = &ecc_layout_4KB_bch8bit; in pxa_ecc_init()
1614 ecc->strength = 16; in pxa_ecc_init()
1625 ecc->mode = NAND_ECC_HW; in pxa_ecc_init()
1626 ecc->size = info->chunk_size; in pxa_ecc_init()
1627 ecc->layout = &ecc_layout_8KB_bch8bit; in pxa_ecc_init()
1628 ecc->strength = 16; in pxa_ecc_init()
1704 ret = pxa_ecc_init(info, &chip->ecc, ecc_strength, in pxa3xx_nand_scan()
1775 chip->ecc.read_page = pxa3xx_nand_read_page_hwecc; in alloc_nand_resource()
1776 chip->ecc.read_page_raw = pxa3xx_nand_read_page_raw; in alloc_nand_resource()
1777 chip->ecc.read_oob_raw = pxa3xx_nand_read_oob_raw; in alloc_nand_resource()
1778 chip->ecc.write_page = pxa3xx_nand_write_page_hwecc; in alloc_nand_resource()