Lines Matching refs:section
66 static int gd5fxgq4xa_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_ecc() argument
69 if (section > 3) in gd5fxgq4xa_ooblayout_ecc()
72 region->offset = (16 * section) + 8; in gd5fxgq4xa_ooblayout_ecc()
78 static int gd5fxgq4xa_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_free() argument
81 if (section > 3) in gd5fxgq4xa_ooblayout_free()
84 if (section) { in gd5fxgq4xa_ooblayout_free()
85 region->offset = 16 * section; in gd5fxgq4xa_ooblayout_free()
124 static int gd5fxgqx_variant2_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgqx_variant2_ooblayout_ecc() argument
127 if (section) in gd5fxgqx_variant2_ooblayout_ecc()
136 static int gd5fxgqx_variant2_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgqx_variant2_ooblayout_free() argument
139 if (section) in gd5fxgqx_variant2_ooblayout_free()
155 static int gd5fxgq4xc_ooblayout_256_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_ecc() argument
158 if (section) in gd5fxgq4xc_ooblayout_256_ecc()
167 static int gd5fxgq4xc_ooblayout_256_free(struct mtd_info *mtd, int section, in gd5fxgq4xc_ooblayout_256_free() argument
170 if (section) in gd5fxgq4xc_ooblayout_256_free()