Lines Matching refs:eccpos
99 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
470 pos = tmp + nand_chip->ecc.layout->eccpos[0]; in pmecc_correct_data()
534 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_read_page() local
563 if (pmecc_correction(mtd, stat, buf, &oob[eccpos[0]]) != 0) in atmel_nand_pmecc_read_page()
574 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_write_page() local
606 chip->oob_poi[eccpos[pos]] = in atmel_nand_pmecc_write_page()
672 pmecc_writel(host->pmecc, saddr, ecc_layout->eccpos[0]); in atmel_pmecc_core_init()
674 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init()
964 .eccpos = {60, 61, 62, 63},
977 .eccpos = {0, 1, 2, 3},
1025 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_read_page() local
1035 if (eccpos[0] != 0) { in atmel_nand_read_page()
1043 mtd->writesize + eccpos[0], -1); in atmel_nand_read_page()
1047 ecc_pos = oob + eccpos[0]; in atmel_nand_read_page()