Lines Matching refs:section
45 static int flctl_4secc_ooblayout_sp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_ecc() argument
50 if (section) in flctl_4secc_ooblayout_sp_ecc()
59 static int flctl_4secc_ooblayout_sp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_free() argument
62 if (section) in flctl_4secc_ooblayout_sp_free()
76 static int flctl_4secc_ooblayout_lp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_ecc() argument
81 if (section >= chip->ecc.steps) in flctl_4secc_ooblayout_lp_ecc()
84 oobregion->offset = (section * 16) + 6; in flctl_4secc_ooblayout_lp_ecc()
90 static int flctl_4secc_ooblayout_lp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_free() argument
95 if (section >= chip->ecc.steps) in flctl_4secc_ooblayout_lp_free()
98 oobregion->offset = section * 16; in flctl_4secc_ooblayout_lp_free()
101 if (!section) { in flctl_4secc_ooblayout_lp_free()