Lines Matching refs:ecclayout

1658 	struct nand_ecclayout		*ecclayout;  in omap_nand_probe()  local
1824 ecclayout = &info->oobinfo; in omap_nand_probe()
1840 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe()
1847 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in omap_nand_probe()
1848 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1850 ecclayout->oobfree->offset = in omap_nand_probe()
1851 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1864 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe()
1868 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) { in omap_nand_probe()
1869 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1874 ecclayout->oobfree->offset = 1 + in omap_nand_probe()
1875 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1880 &ecclayout); in omap_nand_probe()
1901 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe()
1905 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in omap_nand_probe()
1906 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1908 ecclayout->oobfree->offset = in omap_nand_probe()
1909 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1928 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe()
1932 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) { in omap_nand_probe()
1933 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1938 ecclayout->oobfree->offset = 1 + in omap_nand_probe()
1939 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1944 &ecclayout); in omap_nand_probe()
1972 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe()
1976 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in omap_nand_probe()
1977 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1979 ecclayout->oobfree->offset = in omap_nand_probe()
1980 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
2002 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe()
2006 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in omap_nand_probe()
2007 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
2009 ecclayout->oobfree->offset = in omap_nand_probe()
2010 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
2022 ecclayout->oobfree->length = mtd->oobsize - ecclayout->oobfree->offset; in omap_nand_probe()
2024 if (mtd->oobsize < (ecclayout->eccbytes + BADBLOCK_MARKER_LENGTH)) { in omap_nand_probe()
2027 ecclayout->eccbytes, mtd->oobsize); in omap_nand_probe()
2031 nand_chip->ecc.layout = ecclayout; in omap_nand_probe()