Lines Matching refs:region
32 struct mtd_oob_region *region) in xt26g0xa_ooblayout_ecc() argument
37 region->offset = 48; in xt26g0xa_ooblayout_ecc()
38 region->length = 16; in xt26g0xa_ooblayout_ecc()
44 struct mtd_oob_region *region) in xt26g0xa_ooblayout_free() argument
49 region->offset = 2; in xt26g0xa_ooblayout_free()
50 region->length = mtd->oobsize - 18; in xt26g0xa_ooblayout_free()
61 struct mtd_oob_region *region) in xt26g01b_ooblayout_ecc() argument
67 struct mtd_oob_region *region) in xt26g01b_ooblayout_free() argument
72 region->offset = 2; in xt26g01b_ooblayout_free()
73 region->length = mtd->oobsize - 2; in xt26g01b_ooblayout_free()
84 struct mtd_oob_region *region) in xt26g02b_ooblayout_ecc() argument
89 region->offset = (16 * section) + 8; in xt26g02b_ooblayout_ecc()
90 region->length = 8; in xt26g02b_ooblayout_ecc()
96 struct mtd_oob_region *region) in xt26g02b_ooblayout_free() argument
101 region->offset = (16 * section) + 2; in xt26g02b_ooblayout_free()
102 region->length = 6; in xt26g02b_ooblayout_free()
113 struct mtd_oob_region *region) in xt26g01c_ooblayout_ecc() argument
118 region->offset = mtd->oobsize / 2; in xt26g01c_ooblayout_ecc()
119 region->length = mtd->oobsize / 2; in xt26g01c_ooblayout_ecc()
125 struct mtd_oob_region *region) in xt26g01c_ooblayout_free() argument
130 region->offset = 2; in xt26g01c_ooblayout_free()
131 region->length = mtd->oobsize / 2 - 2; in xt26g01c_ooblayout_free()