Lines Matching refs:section
163 static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section,
169 if (section > 1)
172 if (!section) {
189 static int nand_ooblayout_free_sp(struct mtd_info *mtd, int section,
192 if (section > 1)
196 if (section)
203 if (!section)
223 static int nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section,
229 if (section || !total_ecc_bytes)
238 static int nand_ooblayout_free_lp(struct mtd_info *mtd, int section,
244 if (section)
268 static int nand_ooblayout_ecc_lp_hamming(struct mtd_info *mtd, int section,
274 if (section)
295 static int nand_ooblayout_free_lp_hamming(struct mtd_info *mtd, int section,
302 if (section < 0 || section > 1)
316 if (section == 0) {