Lines Matching refs:eccpos
1511 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_write_page_bch() local
1523 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in omap_write_page_bch()
1550 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_read_page_bch() local
1551 uint8_t *oob = &chip->oob_poi[eccpos[0]]; in omap_read_page_bch()
1552 uint32_t oob_pos = mtd->writesize + chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
1569 memcpy(ecc_code, &chip->oob_poi[eccpos[0]], chip->ecc.total); in omap_read_page_bch()
1848 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1851 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1869 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1875 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1906 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1909 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1933 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1939 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1977 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1980 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
2007 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
2010 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()