Home
last modified time | relevance | path

Searched refs:ecclayout (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c714 struct nand_ecclayout *ecclayout = &omap_ecclayout; in omap_select_ecc_scheme() local
748 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; in omap_select_ecc_scheme()
749 for (i = 0; i < ecclayout->eccbytes; i++) { in omap_select_ecc_scheme()
751 ecclayout->eccpos[i] = i + 2; in omap_select_ecc_scheme()
753 ecclayout->eccpos[i] = i + 1; in omap_select_ecc_scheme()
755 ecclayout->oobfree[0].offset = i + BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
756 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
785 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; in omap_select_ecc_scheme()
786 ecclayout->eccpos[0] = BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
787 for (i = 1; i < ecclayout->eccbytes; i++) { in omap_select_ecc_scheme()
[all …]
H A Dnand_bch.c30 struct nand_ecclayout ecclayout; member
161 layout = &nbc->ecclayout; in nand_bch_init()
H A Dvf610_nfc.c728 mtd->ecclayout = chip->ecc.layout; in vf610_nfc_nand_init()
H A Dnand_base.c4585 mtd->ecclayout = ecc->layout; in nand_scan_tail()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c774 free = this->ecclayout->oobfree; in onenand_transfer_auto_oob()
784 free = this->ecclayout->oobfree; in onenand_transfer_auto_oob()
865 oobsize = this->ecclayout->oobavail; in onenand_read_ops_nolock()
1018 oobsize = this->ecclayout->oobavail; in onenand_read_oob_nolock()
1377 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
1386 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
1437 oobsize = this->ecclayout->oobavail; in onenand_write_ops_nolock()
1552 oobsize = this->ecclayout->oobavail; in onenand_write_oob_nolock()
2747 this->ecclayout = &onenand_oob_128; in onenand_scan()
2752 this->ecclayout = &onenand_oob_64; in onenand_scan()
[all …]
/openbmc/u-boot/include/linux/mtd/
H A Dpartitions.h44 struct nand_ecclayout *ecclayout; /* out of band layout for this partition (NAND only) */ member
H A Donenand.h121 struct nand_ecclayout *ecclayout; member
H A Dmtd.h215 struct nand_ecclayout *ecclayout; member
H A Drawnand.h948 struct nand_ecclayout *ecclayout; member
/openbmc/u-boot/drivers/mtd/
H A Dmtdpart.c250 parts[idx].ecclayout = parent->ecclayout; in mtd_parse_partitions()
757 slave->ecclayout = master->ecclayout; in allocate_partition()
800 part.ecclayout = NULL; in mtd_add_partition()
H A Dmtdconcat.c807 concat->mtd.ecclayout = subdev[0]->ecclayout; in mtd_concat_create()