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.c751 ecclayout->eccpos[i] = i + 2; in omap_select_ecc_scheme()
753 ecclayout->eccpos[i] = i + 1; in omap_select_ecc_scheme()
756 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
789 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
790 ecclayout->eccpos[i - 1] + 1; in omap_select_ecc_scheme()
792 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
793 ecclayout->eccpos[i - 1] + 2; in omap_select_ecc_scheme()
796 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
828 for (i = 0; i < ecclayout->eccbytes; i++) in omap_select_ecc_scheme()
831 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - 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()
1377 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
1386 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
2752 this->ecclayout = &onenand_oob_64; in onenand_scan()
2757 this->ecclayout = &onenand_oob_32; in onenand_scan()
2766 this->ecclayout = &onenand_oob_32; in onenand_scan()
2776 this->ecclayout->oobavail = 0; in onenand_scan()
2780 this->ecclayout->oobavail += 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()