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