Home
last modified time | relevance | path

Searched refs:ooblayout (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/include/linux/mtd/
Dmtd.h295 const struct mtd_ooblayout_ops *ooblayout; member
450 const struct mtd_ooblayout_ops *ooblayout) in mtd_set_ooblayout() argument
452 mtd->ooblayout = ooblayout; in mtd_set_ooblayout()
Dspinand.h307 const struct mtd_ooblayout_ops *ooblayout; member
372 .ooblayout = __ooblayout, \
/linux-6.1.9/drivers/mtd/nand/raw/
Dmxc_nand.c137 const struct mtd_ooblayout_ops *ooblayout; member
1472 .ooblayout = &mxc_v1_ooblayout_ops,
1496 .ooblayout = &mxc_v1_ooblayout_ops,
1521 .ooblayout = &mxc_v2_ooblayout_ops,
1547 .ooblayout = &mxc_v2_ooblayout_ops,
1573 .ooblayout = &mxc_v2_ooblayout_ops,
1631 mtd_set_ooblayout(mtd, host->devtype_data->ooblayout); in mxcnd_attach_chip()
Dfsl_elbc_nand.c801 mtd->ooblayout); in fsl_elbc_attach_chip()
Dfsl_ifc_nand.c759 mtd->ooblayout); in fsl_ifc_attach_chip()
Dnand_base.c5746 mtd->ooblayout != nand_get_large_page_ooblayout()) in nand_set_ecc_soft_ops()
6096 if (!mtd->ooblayout && in nand_scan_tail()
/linux-6.1.9/drivers/mtd/nand/spi/
Dcore.c272 if (spinand->eccinfo.ooblayout) in spinand_ondie_ecc_init_ctx()
273 mtd_set_ooblayout(mtd, spinand->eccinfo.ooblayout); in spinand_ondie_ecc_init_ctx()
645 if (ops->mode == MTD_OPS_RAW || !spinand->eccinfo.ooblayout) in spinand_mtd_read()
698 if (ops->mode == MTD_OPS_RAW || !mtd->ooblayout) in spinand_mtd_write()
/linux-6.1.9/drivers/mtd/
Dmtdcore.c1739 if (!master->ooblayout || !master->ooblayout->ecc) in mtd_ooblayout_ecc()
1742 return master->ooblayout->ecc(master, section, oobecc); in mtd_ooblayout_ecc()
1773 if (!master->ooblayout || !master->ooblayout->free) in mtd_ooblayout_free()
1776 return master->ooblayout->free(master, section, oobfree); in mtd_ooblayout_free()
Dmtdchar.c1064 if (!master->ooblayout) in mtdchar_ioctl()
1160 if (!master->ooblayout) in mtdchar_ioctl()
Dmtdconcat.c756 mtd_set_ooblayout(&concat->mtd, subdev[0]->ooblayout); in mtd_concat_create()
/linux-6.1.9/drivers/mtd/nand/
Decc-sw-bch.c184 if (!mtd->ooblayout) in nand_ecc_sw_bch_init_ctx()
Decc-sw-hamming.c474 if (!mtd->ooblayout) { in nand_ecc_sw_hamming_init_ctx()