Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c715 struct nand_ecclayout *ecclayout = &omap_ecclayout; in omap_select_ecc_scheme() local
749 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; in omap_select_ecc_scheme()
750 for (i = 0; i < ecclayout->eccbytes; i++) { in omap_select_ecc_scheme()
752 ecclayout->eccpos[i] = i + 2; in omap_select_ecc_scheme()
754 ecclayout->eccpos[i] = i + 1; in omap_select_ecc_scheme()
756 ecclayout->oobfree[0].offset = i + BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
757 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
786 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; in omap_select_ecc_scheme()
787 ecclayout->eccpos[0] = BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
788 for (i = 1; i < ecclayout->eccbytes; i++) { in omap_select_ecc_scheme()
[all …]
H A Dstm32_fmc2_nand.c162 struct nand_ecclayout ecclayout; member
932 struct nand_ecclayout *ecclayout; in stm32_fmc2_probe() local
1046 ecclayout = &fmc2->ecclayout; in stm32_fmc2_probe()
1047 ecclayout->eccbytes = chip->ecc.bytes * in stm32_fmc2_probe()
1050 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in stm32_fmc2_probe()
1051 ecclayout->eccpos[i] = oob_index; in stm32_fmc2_probe()
1052 ecclayout->oobfree->offset = oob_index; in stm32_fmc2_probe()
1053 ecclayout->oobfree->length = mtd->oobsize - ecclayout->oobfree->offset; in stm32_fmc2_probe()
1054 chip->ecc.layout = ecclayout; in stm32_fmc2_probe()
H A Dnand_bch.c30 struct nand_ecclayout ecclayout; member
161 layout = &nbc->ecclayout; in nand_bch_init()
H A Dvf610_nfc.c729 mtd->ecclayout = chip->ecc.layout; in vf610_nfc_nand_init()
H A Dnand_base.c5278 mtd->ecclayout = ecc->layout; in nand_scan_tail()
/OK3568_Linux_fs/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 …]
/OK3568_Linux_fs/u-boot/drivers/mtd/
H A Dmtdpart.c251 parts[idx].ecclayout = parent->ecclayout; in mtd_parse_partitions()
758 slave->ecclayout = master->ecclayout; in allocate_partition()
801 part.ecclayout = NULL; in mtd_add_partition()
H A Dmtdconcat.c808 concat->mtd.ecclayout = subdev[0]->ecclayout; in mtd_concat_create()
/OK3568_Linux_fs/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.h220 struct nand_ecclayout *ecclayout; member
H A Drawnand.h928 struct nand_ecclayout *ecclayout; member
/OK3568_Linux_fs/kernel/drivers/mtd/rknand/
H A Drknand_base_ko.c422 mtd->ecclayout = 0; in rknand_info_init()