Lines Matching refs:section
47 static int gd5fxgq4xa_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_ecc() argument
50 if (section > 3) in gd5fxgq4xa_ooblayout_ecc()
53 region->offset = (16 * section) + 8; in gd5fxgq4xa_ooblayout_ecc()
59 static int gd5fxgq4xa_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_free() argument
62 if (section > 3) in gd5fxgq4xa_ooblayout_free()
65 if (section) { in gd5fxgq4xa_ooblayout_free()
66 region->offset = 16 * section; in gd5fxgq4xa_ooblayout_free()
105 static int gd5fxgq4_variant2_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4_variant2_ooblayout_ecc() argument
108 if (section) in gd5fxgq4_variant2_ooblayout_ecc()
117 static int gd5fxgq4_variant2_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4_variant2_ooblayout_free() argument
120 if (section) in gd5fxgq4_variant2_ooblayout_free()
135 static int gd5fxgq4xc_ooblayout_256_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_ecc() argument
138 if (section) in gd5fxgq4xc_ooblayout_256_ecc()
147 static int gd5fxgq4xc_ooblayout_256_free(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_free() argument
150 if (section) in gd5fxgq4xc_ooblayout_256_free()