Lines Matching refs:section
156 static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section,
162 if (section > 1)
165 if (!section) {
182 static int nand_ooblayout_free_sp(struct mtd_info *mtd, int section,
185 if (section > 1)
189 if (section)
196 if (!section)
216 static int nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section,
222 if (section || !total_ecc_bytes)
231 static int nand_ooblayout_free_lp(struct mtd_info *mtd, int section,
237 if (section)
261 static int nand_ooblayout_ecc_lp_hamming(struct mtd_info *mtd, int section,
267 if (section)
288 static int nand_ooblayout_free_lp_hamming(struct mtd_info *mtd, int section,
295 if (section < 0 || section > 1)
309 if (section == 0) {