Lines Matching refs:section
60 static int micron_8_ooblayout_ecc(struct mtd_info *mtd, int section, in micron_8_ooblayout_ecc() argument
63 if (section) in micron_8_ooblayout_ecc()
72 static int micron_8_ooblayout_free(struct mtd_info *mtd, int section, in micron_8_ooblayout_free() argument
75 if (section) in micron_8_ooblayout_free()
90 static int micron_4_ooblayout_ecc(struct mtd_info *mtd, int section, in micron_4_ooblayout_ecc() argument
95 if (section >= spinand->base.memorg.pagesize / in micron_4_ooblayout_ecc()
99 region->offset = (section * 16) + 8; in micron_4_ooblayout_ecc()
105 static int micron_4_ooblayout_free(struct mtd_info *mtd, int section, in micron_4_ooblayout_free() argument
110 if (section >= spinand->base.memorg.pagesize / in micron_4_ooblayout_free()
114 if (section) { in micron_4_ooblayout_free()
115 region->offset = 16 * section; in micron_4_ooblayout_free()