Lines Matching refs:oobsize
713 enum omap_ecc ecc_scheme, unsigned int pagesize, unsigned int oobsize) { in omap_select_ecc_scheme() argument
733 if ((3 * eccsteps) + BADBLOCK_MARKER_LENGTH > oobsize) { in omap_select_ecc_scheme()
757 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
765 if ((13 * eccsteps) + BADBLOCK_MARKER_LENGTH > oobsize) { in omap_select_ecc_scheme()
797 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
809 if ((14 * eccsteps) + BADBLOCK_MARKER_LENGTH > oobsize) { in omap_select_ecc_scheme()
832 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
844 if ((26 * eccsteps) + BADBLOCK_MARKER_LENGTH > oobsize) { in omap_select_ecc_scheme()
865 ecclayout->oobfree[0].length = oobsize - nand->ecc.bytes - in omap_select_ecc_scheme()
913 mtd->writesize, mtd->oobsize); in omap_nand_switch_ecc()
917 mtd->writesize, mtd->oobsize); in omap_nand_switch_ecc()
921 mtd->writesize, mtd->oobsize); in omap_nand_switch_ecc()
930 mtd->writesize, mtd->oobsize); in omap_nand_switch_ecc()
934 mtd->writesize, mtd->oobsize); in omap_nand_switch_ecc()