Lines Matching refs:section
31 static int xt26g0xa_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g0xa_ooblayout_ecc() argument
34 if (section) in xt26g0xa_ooblayout_ecc()
43 static int xt26g0xa_ooblayout_free(struct mtd_info *mtd, int section, in xt26g0xa_ooblayout_free() argument
46 if (section) in xt26g0xa_ooblayout_free()
60 static int xt26g01b_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g01b_ooblayout_ecc() argument
66 static int xt26g01b_ooblayout_free(struct mtd_info *mtd, int section, in xt26g01b_ooblayout_free() argument
69 if (section) in xt26g01b_ooblayout_free()
83 static int xt26g02b_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g02b_ooblayout_ecc() argument
86 if (section > 3) in xt26g02b_ooblayout_ecc()
89 region->offset = (16 * section) + 8; in xt26g02b_ooblayout_ecc()
95 static int xt26g02b_ooblayout_free(struct mtd_info *mtd, int section, in xt26g02b_ooblayout_free() argument
98 if (section > 3) in xt26g02b_ooblayout_free()
101 region->offset = (16 * section) + 2; in xt26g02b_ooblayout_free()
112 static int xt26g01c_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g01c_ooblayout_ecc() argument
115 if (section) in xt26g01c_ooblayout_ecc()
124 static int xt26g01c_ooblayout_free(struct mtd_info *mtd, int section, in xt26g01c_ooblayout_free() argument
127 if (section) in xt26g01c_ooblayout_free()