Lines Matching refs:oobregion
46 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_sp_ecc() argument
53 oobregion->offset = 0; in flctl_4secc_ooblayout_sp_ecc()
54 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_sp_ecc()
60 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_sp_free() argument
65 oobregion->offset = 12; in flctl_4secc_ooblayout_sp_free()
66 oobregion->length = 4; in flctl_4secc_ooblayout_sp_free()
77 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_lp_ecc() argument
84 oobregion->offset = (section * 16) + 6; in flctl_4secc_ooblayout_lp_ecc()
85 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_lp_ecc()
91 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_lp_free() argument
98 oobregion->offset = section * 16; in flctl_4secc_ooblayout_lp_free()
99 oobregion->length = 6; in flctl_4secc_ooblayout_lp_free()
102 oobregion->offset += 2; in flctl_4secc_ooblayout_lp_free()
103 oobregion->length -= 2; in flctl_4secc_ooblayout_lp_free()