Lines Matching refs:section
29 static int xt26g0xa_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g0xa_ooblayout_ecc() argument
32 if (section) in xt26g0xa_ooblayout_ecc()
41 static int xt26g0xa_ooblayout_free(struct mtd_info *mtd, int section, in xt26g0xa_ooblayout_free() argument
44 if (section) in xt26g0xa_ooblayout_free()
58 static int xt26g01b_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g01b_ooblayout_ecc() argument
64 static int xt26g01b_ooblayout_free(struct mtd_info *mtd, int section, in xt26g01b_ooblayout_free() argument
67 if (section) in xt26g01b_ooblayout_free()
81 static int xt26g02b_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g02b_ooblayout_ecc() argument
84 if (section > 3) in xt26g02b_ooblayout_ecc()
87 region->offset = (16 * section) + 8; in xt26g02b_ooblayout_ecc()
93 static int xt26g02b_ooblayout_free(struct mtd_info *mtd, int section, in xt26g02b_ooblayout_free() argument
96 if (section > 3) in xt26g02b_ooblayout_free()
99 region->offset = (16 * section) + 2; in xt26g02b_ooblayout_free()
110 static int xt26g01c_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g01c_ooblayout_ecc() argument
113 if (section) in xt26g01c_ooblayout_ecc()
122 static int xt26g01c_ooblayout_free(struct mtd_info *mtd, int section, in xt26g01c_ooblayout_free() argument
125 if (section) in xt26g01c_ooblayout_free()