Searched refs:oobfree (Results 1 – 7 of 7) sorted by relevance
76 struct mtd_oob_region oobfree = { }; in sharpsl_nand_check_ooblayout() local79 ret = mtd_ooblayout_free(mtd, section++, &oobfree); in sharpsl_nand_check_ooblayout()83 if (!oobfree.length || oobfree.offset > 15 || in sharpsl_nand_check_ooblayout()84 (oobfree.offset + oobfree.length) < 8) in sharpsl_nand_check_ooblayout()87 i = oobfree.offset >= 8 ? oobfree.offset : 8; in sharpsl_nand_check_ooblayout()88 for (; i < oobfree.offset + oobfree.length && i < 16; i++) in sharpsl_nand_check_ooblayout()
271 __u32 oobfree[8][2]; member294 struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES]; member
483 to->oobfree[i].offset = oobregion.offset; in shrink_ecclayout()484 to->oobfree[i].length = oobregion.length; in shrink_ecclayout()485 to->oobavail += to->oobfree[i].length; in shrink_ecclayout()532 to->oobfree[i][0] = oobregion.offset; in get_oobinfo()533 to->oobfree[i][1] = oobregion.length; in get_oobinfo()
1821 struct mtd_oob_region *oobfree) in mtd_ooblayout_free() argument1825 memset(oobfree, 0, sizeof(*oobfree)); in mtd_ooblayout_free()1833 return master->ooblayout->free(master, section, oobfree); in mtd_ooblayout_free()
110 struct mtd_oob_region *oobfree);441 struct mtd_oob_region *oobfree);
642 struct mtd_oob_region *oobfree) in mtk_snand_ooblayout_free() argument650 oobfree->length = ms->caps->fdm_size - 1; in mtk_snand_ooblayout_free()651 oobfree->offset = section * ms->caps->fdm_size + 1; in mtk_snand_ooblayout_free()
626 int oobfree[8][2];648 - oobfree650 The oobfree array defines the areas in the spare area which can be684 size per page is determined by the oobfree array in the nand_oobinfo