Lines Matching refs:region
30 struct mtd_oob_region *region) in xt26g0xa_ooblayout_ecc() argument
35 region->offset = 48; in xt26g0xa_ooblayout_ecc()
36 region->length = 16; in xt26g0xa_ooblayout_ecc()
42 struct mtd_oob_region *region) in xt26g0xa_ooblayout_free() argument
47 region->offset = 2; in xt26g0xa_ooblayout_free()
48 region->length = mtd->oobsize - 18; in xt26g0xa_ooblayout_free()
59 struct mtd_oob_region *region) in xt26g01b_ooblayout_ecc() argument
65 struct mtd_oob_region *region) in xt26g01b_ooblayout_free() argument
70 region->offset = 2; in xt26g01b_ooblayout_free()
71 region->length = mtd->oobsize - 2; in xt26g01b_ooblayout_free()
82 struct mtd_oob_region *region) in xt26g02b_ooblayout_ecc() argument
87 region->offset = (16 * section) + 8; in xt26g02b_ooblayout_ecc()
88 region->length = 8; in xt26g02b_ooblayout_ecc()
94 struct mtd_oob_region *region) in xt26g02b_ooblayout_free() argument
99 region->offset = (16 * section) + 2; in xt26g02b_ooblayout_free()
100 region->length = 6; in xt26g02b_ooblayout_free()
111 struct mtd_oob_region *region) in xt26g01c_ooblayout_ecc() argument
116 region->offset = mtd->oobsize / 2; in xt26g01c_ooblayout_ecc()
117 region->length = mtd->oobsize / 2; in xt26g01c_ooblayout_ecc()
123 struct mtd_oob_region *region) in xt26g01c_ooblayout_free() argument
128 region->offset = 2; in xt26g01c_ooblayout_free()
129 region->length = mtd->oobsize / 2 - 2; in xt26g01c_ooblayout_free()