Home
last modified time | relevance | path

Searched refs:oob_region (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c936 struct mtd_oob_region *oob_region) in rk_nfc_ooblayout_free() argument
944 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() argument
959 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()
H A Dmtk_nand.c1122 struct mtd_oob_region *oob_region) in mtk_nfc_ooblayout_free() argument
1134 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() argument
1151 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()