Searched refs:oob_region (Results 1 – 2 of 2) sorted by relevance
936 struct mtd_oob_region *oob_region) in rk_nfc_ooblayout_free() argument944 oob_region->length = rknand->metadata_size - NFC_SYS_DATA_SIZE - 2; in rk_nfc_ooblayout_free()945 oob_region->offset = 2; in rk_nfc_ooblayout_free()951 struct mtd_oob_region *oob_region) in rk_nfc_ooblayout_ecc() argument959 oob_region->length = mtd->oobsize - rknand->metadata_size; in rk_nfc_ooblayout_ecc()960 oob_region->offset = rknand->metadata_size; in rk_nfc_ooblayout_ecc()
1122 struct mtd_oob_region *oob_region) in mtk_nfc_ooblayout_free() argument1134 oob_region->length = fdm->reg_size - fdm->ecc_size; in mtk_nfc_ooblayout_free()1135 oob_region->offset = section * fdm->reg_size + fdm->ecc_size; in mtk_nfc_ooblayout_free()1141 struct mtd_oob_region *oob_region) in mtk_nfc_ooblayout_ecc() argument1151 oob_region->offset = mtk_nand->fdm.reg_size * eccsteps; in mtk_nfc_ooblayout_ecc()1152 oob_region->length = mtd->oobsize - oob_region->offset; in mtk_nfc_ooblayout_ecc()