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.c915 ecclayout->eccpos[i] = i + 2; in omap_select_ecc_scheme()
917 ecclayout->eccpos[i] = i + 1; in omap_select_ecc_scheme()
920 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
953 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
954 ecclayout->eccpos[i - 1] + 1; in omap_select_ecc_scheme()
956 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
957 ecclayout->eccpos[i - 1] + 2; in omap_select_ecc_scheme()
960 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
992 for (i = 0; i < ecclayout->eccbytes; i++) in omap_select_ecc_scheme()
995 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
[all …]
A Dstm32_fmc2_nand.c166 struct nand_ecclayout ecclayout; member
898 struct nand_ecclayout *ecclayout; in stm32_fmc2_nfc_probe() local
1016 ecclayout = &nfc->ecclayout; in stm32_fmc2_nfc_probe()
1017 ecclayout->eccbytes = chip->ecc.bytes * in stm32_fmc2_nfc_probe()
1020 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in stm32_fmc2_nfc_probe()
1021 ecclayout->eccpos[i] = oob_index; in stm32_fmc2_nfc_probe()
1022 ecclayout->oobfree->offset = oob_index; in stm32_fmc2_nfc_probe()
1023 ecclayout->oobfree->length = mtd->oobsize - ecclayout->oobfree->offset; in stm32_fmc2_nfc_probe()
1024 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.c5217 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.h962 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()
2753 this->ecclayout = &onenand_oob_64; in onenand_scan()
2758 this->ecclayout = &onenand_oob_32; in onenand_scan()
2767 this->ecclayout = &onenand_oob_32; in onenand_scan()
2777 this->ecclayout->oobavail = 0; in onenand_scan()
2781 this->ecclayout->oobavail += in onenand_scan()
[all …]
/u-boot/drivers/mtd/
A Dmtdpart.c253 parts[idx].ecclayout = parent->ecclayout; in mtd_parse_partitions()
749 slave->ecclayout = master->ecclayout; in allocate_partition()
792 part.ecclayout = NULL; in mtd_add_partition()
935 part.ecclayout = master->ecclayout; in add_mtd_partitions_of()
A Dmtdconcat.c799 concat->mtd.ecclayout = subdev[0]->ecclayout; in mtd_concat_create()

Completed in 85 milliseconds