Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A Domap_gpmc.c752 ecclayout->eccpos[i] = i + 2; in omap_select_ecc_scheme()
754 ecclayout->eccpos[i] = i + 1; in omap_select_ecc_scheme()
757 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
790 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
791 ecclayout->eccpos[i - 1] + 1; in omap_select_ecc_scheme()
793 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
794 ecclayout->eccpos[i - 1] + 2; in omap_select_ecc_scheme()
797 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
829 for (i = 0; i < ecclayout->eccbytes; i++) in omap_select_ecc_scheme()
832 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
[all …]
A Dstm32_fmc2_nand.c163 struct nand_ecclayout ecclayout; member
889 struct nand_ecclayout *ecclayout; in stm32_fmc2_nfc_probe() local
1003 ecclayout = &nfc->ecclayout; in stm32_fmc2_nfc_probe()
1004 ecclayout->eccbytes = chip->ecc.bytes * in stm32_fmc2_nfc_probe()
1007 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in stm32_fmc2_nfc_probe()
1008 ecclayout->eccpos[i] = oob_index; in stm32_fmc2_nfc_probe()
1009 ecclayout->oobfree->offset = oob_index; in stm32_fmc2_nfc_probe()
1010 ecclayout->oobfree->length = mtd->oobsize - ecclayout->oobfree->offset; in stm32_fmc2_nfc_probe()
1011 chip->ecc.layout = ecclayout; in stm32_fmc2_nfc_probe()
A Dnand_bch.c32 struct nand_ecclayout ecclayout; member
163 layout = &nbc->ecclayout; in nand_bch_init()
A Dvf610_nfc.c720 mtd->ecclayout = chip->ecc.layout; in vf610_nfc_nand_init()
A Dnand_base.c5284 mtd->ecclayout = ecc->layout; in nand_scan_tail()
/u-boot/include/linux/mtd/
A Dpartitions.h44 struct nand_ecclayout *ecclayout; /* out of band layout for this partition (NAND only) */ member
A Donenand.h121 struct nand_ecclayout *ecclayout; member
A Dmtd.h215 struct nand_ecclayout *ecclayout; member
A Drawnand.h957 struct nand_ecclayout *ecclayout; member
/u-boot/drivers/mtd/onenand/
A Donenand_base.c777 free = this->ecclayout->oobfree; in onenand_transfer_auto_oob()
787 free = this->ecclayout->oobfree; in onenand_transfer_auto_oob()
868 oobsize = this->ecclayout->oobavail; in onenand_read_ops_nolock()
1380 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
1389 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
2756 this->ecclayout = &onenand_oob_64; in onenand_scan()
2761 this->ecclayout = &onenand_oob_32; in onenand_scan()
2770 this->ecclayout = &onenand_oob_32; in onenand_scan()
2780 this->ecclayout->oobavail = 0; in onenand_scan()
2784 this->ecclayout->oobavail += in onenand_scan()
[all …]
/u-boot/drivers/mtd/
A Dmtdpart.c253 parts[idx].ecclayout = parent->ecclayout; in mtd_parse_partitions()
760 slave->ecclayout = master->ecclayout; in allocate_partition()
803 part.ecclayout = NULL; in mtd_add_partition()
A Dmtdconcat.c810 concat->mtd.ecclayout = subdev[0]->ecclayout; in mtd_concat_create()

Completed in 47 milliseconds