Lines Matching refs:oobregion
33 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_sp_ecc() argument
40 oobregion->offset = 0; in flctl_4secc_ooblayout_sp_ecc()
41 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_sp_ecc()
47 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_sp_free() argument
52 oobregion->offset = 12; in flctl_4secc_ooblayout_sp_free()
53 oobregion->length = 4; in flctl_4secc_ooblayout_sp_free()
64 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_lp_ecc() argument
71 oobregion->offset = (section * 16) + 6; in flctl_4secc_ooblayout_lp_ecc()
72 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_lp_ecc()
78 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_lp_free() argument
85 oobregion->offset = section * 16; in flctl_4secc_ooblayout_lp_free()
86 oobregion->length = 6; in flctl_4secc_ooblayout_lp_free()
89 oobregion->offset += 2; in flctl_4secc_ooblayout_lp_free()
90 oobregion->length -= 2; in flctl_4secc_ooblayout_lp_free()