Home
last modified time | relevance | path

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

/linux/drivers/mtd/parsers/
H A 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/include/uapi/mtd/
H A Dmtd-abi.h271 __u32 oobfree[8][2]; member
294 struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES]; member
/linux/drivers/mtd/
H A 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()
H A Dmtdcore.c1821 struct mtd_oob_region *oobfree) in mtd_ooblayout_free() argument
1825 memset(oobfree, 0, sizeof(*oobfree)); in mtd_ooblayout_free()
1833 return master->ooblayout->free(master, section, oobfree); in mtd_ooblayout_free()
/linux/include/linux/mtd/
H A Dmtd.h110 struct mtd_oob_region *oobfree);
441 struct mtd_oob_region *oobfree);
/linux/drivers/spi/
H A Dspi-mtk-snfi.c642 struct mtd_oob_region *oobfree) in mtk_snand_ooblayout_free() argument
650 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()
/linux/Documentation/driver-api/
H A 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