Lines Matching refs:oobregion
32 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_sp_ecc() argument
39 oobregion->offset = 0; in flctl_4secc_ooblayout_sp_ecc()
40 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_sp_ecc()
46 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_sp_free() argument
51 oobregion->offset = 12; in flctl_4secc_ooblayout_sp_free()
52 oobregion->length = 4; in flctl_4secc_ooblayout_sp_free()
63 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_lp_ecc() argument
70 oobregion->offset = (section * 16) + 6; in flctl_4secc_ooblayout_lp_ecc()
71 oobregion->length = chip->ecc.bytes; in flctl_4secc_ooblayout_lp_ecc()
77 struct mtd_oob_region *oobregion) in flctl_4secc_ooblayout_lp_free() argument
84 oobregion->offset = section * 16; in flctl_4secc_ooblayout_lp_free()
85 oobregion->length = 6; in flctl_4secc_ooblayout_lp_free()
88 oobregion->offset += 2; in flctl_4secc_ooblayout_lp_free()
89 oobregion->length -= 2; in flctl_4secc_ooblayout_lp_free()