Lines Matching refs:section
70 static int gd5fxgq4xa_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_ecc() argument
73 if (section > 3) in gd5fxgq4xa_ooblayout_ecc()
76 region->offset = (16 * section) + 8; in gd5fxgq4xa_ooblayout_ecc()
82 static int gd5fxgq4xa_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_free() argument
85 if (section > 3) in gd5fxgq4xa_ooblayout_free()
88 if (section) { in gd5fxgq4xa_ooblayout_free()
89 region->offset = 16 * section; in gd5fxgq4xa_ooblayout_free()
128 static int gd5fxgqx_variant2_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgqx_variant2_ooblayout_ecc() argument
131 if (section) in gd5fxgqx_variant2_ooblayout_ecc()
140 static int gd5fxgqx_variant2_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgqx_variant2_ooblayout_free() argument
143 if (section) in gd5fxgqx_variant2_ooblayout_free()
159 static int gd5fxgq4xc_ooblayout_256_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_ecc() argument
162 if (section) in gd5fxgq4xc_ooblayout_256_ecc()
171 static int gd5fxgq4xc_ooblayout_256_free(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_free() argument
174 if (section) in gd5fxgq4xc_ooblayout_256_free()
188 static int gd5fxgqx_variant3_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgqx_variant3_ooblayout_ecc() argument
194 static int gd5fxgqx_variant3_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgqx_variant3_ooblayout_free() argument
197 if (section) in gd5fxgqx_variant3_ooblayout_free()