Lines Matching refs:section
36 static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_ecc() argument
39 if (section > 3) in w25m02gv_ooblayout_ecc()
42 region->offset = (16 * section) + 8; in w25m02gv_ooblayout_ecc()
48 static int w25m02gv_ooblayout_free(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_free() argument
51 if (section > 3) in w25m02gv_ooblayout_free()
54 region->offset = (16 * section) + 2; in w25m02gv_ooblayout_free()
79 static int w25n01kv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25n01kv_ooblayout_ecc() argument
82 if (section > 3) in w25n01kv_ooblayout_ecc()
85 region->offset = 64 + (8 * section); in w25n01kv_ooblayout_ecc()
91 static int w25n02kv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25n02kv_ooblayout_ecc() argument
94 if (section > 3) in w25n02kv_ooblayout_ecc()
97 region->offset = 64 + (16 * section); in w25n02kv_ooblayout_ecc()
103 static int w25n02kv_ooblayout_free(struct mtd_info *mtd, int section, in w25n02kv_ooblayout_free() argument
106 if (section > 3) in w25n02kv_ooblayout_free()
109 region->offset = (16 * section) + 2; in w25n02kv_ooblayout_free()