Home
last modified time | relevance | path

Searched refs:oobfree (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/mtd/parsers/
Dsharpslpart.c76 struct mtd_oob_region oobfree = { }; in sharpsl_nand_check_ooblayout() local
79 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()
/linux-6.1.9/include/uapi/mtd/
Dmtd-abi.h271 __u32 oobfree[8][2]; member
294 struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES]; member
/linux-6.1.9/drivers/mtd/
Dmtdchar.c483 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()
Dmtdcore.c1764 struct mtd_oob_region *oobfree) in mtd_ooblayout_free() argument
1768 memset(oobfree, 0, sizeof(*oobfree)); in mtd_ooblayout_free()
1776 return master->ooblayout->free(master, section, oobfree); in mtd_ooblayout_free()
/linux-6.1.9/include/linux/mtd/
Dmtd.h110 struct mtd_oob_region *oobfree);
441 struct mtd_oob_region *oobfree);
/linux-6.1.9/drivers/spi/
Dspi-mtk-snfi.c611 struct mtd_oob_region *oobfree) in mtk_snand_ooblayout_free() argument
619 oobfree->length = ms->caps->fdm_size - 1; in mtk_snand_ooblayout_free()
620 oobfree->offset = section * ms->caps->fdm_size + 1; in mtk_snand_ooblayout_free()
/linux-6.1.9/Documentation/driver-api/
Dmtdnand.rst626 int oobfree[8][2];
648 - oobfree
650 The oobfree array defines the areas in the spare area which can be
684 size per page is determined by the oobfree array in the nand_oobinfo