Home
last modified time | relevance | path

Searched refs:oobfree (Results 1 – 25 of 25) sorted by relevance

/u-boot/drivers/mtd/nand/raw/
A Ddavinci_nand.c275 .oobfree = {
286 .oobfree = {
302 .oobfree = {
318 .oobfree = {
336 .oobfree = {
743 for (i = 0; i < ARRAY_SIZE(layout->oobfree) && in davinci_nand_init()
744 layout->oobfree[i].length; i++) in davinci_nand_init()
745 layout->oobavail += layout->oobfree[i].length; in davinci_nand_init()
A Domap_gpmc.c756 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()
796 ecclayout->oobfree[0].offset = i + BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
797 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
831 ecclayout->oobfree[0].offset = i + BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
832 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - in omap_select_ecc_scheme()
864 ecclayout->oobfree[0].offset = i + BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
865 ecclayout->oobfree[0].length = oobsize - nand->ecc.bytes - in omap_select_ecc_scheme()
A Dsunxi_nand.c1491 layout->oobfree[i].offset = in sunxi_nand_hw_ecc_ctrl_init()
1492 layout->oobfree[i - 1].offset + in sunxi_nand_hw_ecc_ctrl_init()
1493 layout->oobfree[i - 1].length + in sunxi_nand_hw_ecc_ctrl_init()
1495 layout->oobfree[i].length = 4; in sunxi_nand_hw_ecc_ctrl_init()
1502 layout->oobfree[i].length = 2; in sunxi_nand_hw_ecc_ctrl_init()
1503 layout->oobfree[i].offset = 2; in sunxi_nand_hw_ecc_ctrl_init()
1508 layout->oobfree[i].offset + in sunxi_nand_hw_ecc_ctrl_init()
1509 layout->oobfree[i].length + j; in sunxi_nand_hw_ecc_ctrl_init()
1513 layout->oobfree[nsectors].offset = in sunxi_nand_hw_ecc_ctrl_init()
1514 layout->oobfree[nsectors - 1].offset + in sunxi_nand_hw_ecc_ctrl_init()
[all …]
A Dnand_bch.c177 layout->oobfree[0].offset = 2; in nand_bch_init()
178 layout->oobfree[0].length = mtd->oobsize-2-layout->eccbytes; in nand_bch_init()
A Dfsmc_nand.c48 .oobfree = {
84 .oobfree = {
123 .oobfree = {
139 .oobfree = {
A Dfsl_ifc_nand.c67 .oobfree = { {0, 5}, {6, 2} },
74 .oobfree = { {2, 6}, },
86 .oobfree = { {2, 6}, {40, 24} },
102 .oobfree = { {2, 6}, {72, 56} },
126 .oobfree = { {2, 6}, {136, 82} },
150 .oobfree = { {2, 6}, {136, 208} },
190 .oobfree = { {2, 6}, {264, 80} },
A Dfsl_elbc_nand.c84 .oobfree = { {0, 5}, {9, 7} },
91 .oobfree = { {0, 5}, {6, 2}, {11, 5} },
98 .oobfree = { {1, 5}, {9, 13}, {25, 13}, {41, 13}, {57, 7} },
105 .oobfree = { {1, 7}, {11, 13}, {27, 13}, {43, 13}, {59, 5} },
A Dtegra_nand.c63 .oobfree = {
515 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_rw_page()
731 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_rw_oob()
A Datmel_nand.c107 layout->oobfree[0].offset = 2; in pmecc_config_ecc_layout()
108 layout->oobfree[0].length = in pmecc_config_ecc_layout()
109 oobsize - ecc_len - layout->oobfree[0].offset; in pmecc_config_ecc_layout()
982 .oobfree = {
995 .oobfree = {
A Dpxa3xx_nand.c340 .oobfree = { {2, 30} }
354 .oobfree = { {1, 4}, {6, 26} }
369 .oobfree = { {6, 26}, { 64, 32} }
396 .oobfree = { {1, 4}, {6, 26}, { 64, 32}, {128, 32}, {192, 32} }
406 .oobfree = { }
413 .oobfree = {{0, 160} }
A Dmxc_nand.c56 .oobfree = { {0, 5}, {11, 5}, }
67 .oobfree = { {2, 4}, {11, 11}, {27, 11}, {43, 11}, {59, 5} },
75 .oobfree = { {2, 5} }
86 .oobfree = { {2, 5}, {16, 7}, {32, 7}, {48, 7} },
A Dvf610_nfc.c177 .oobfree = {
194 .oobfree = {
A Dstm32_fmc2_nand.c1009 ecclayout->oobfree->offset = oob_index; in stm32_fmc2_nfc_probe()
1010 ecclayout->oobfree->length = mtd->oobsize - ecclayout->oobfree->offset; in stm32_fmc2_nfc_probe()
A Dzynq_nand.c192 .oobfree = {
202 .oobfree = {
217 .oobfree = {
A Darasan_nfc.c232 .oobfree = {
1215 nand_oob.oobfree[0].offset = 2; in arasan_nand_ecc_init()
1216 nand_oob.oobfree[0].length = eccpos_start - 2; in arasan_nand_ecc_init()
A Dcortina_nand.c1272 eccoob.oobfree[0].offset = 2; in nand_config_oob_layout()
1273 eccoob.oobfree[0].length = in nand_config_oob_layout()
1274 mtd->oobsize - eccoob.eccbytes - eccoob.oobfree[0].offset - 1; in nand_config_oob_layout()
A Dlpc32xx_nand_mlc.c208 .oobfree = {
A Dlpc32xx_nand_slc.c79 .oobfree = {
A Dnand_base.c59 .oobfree = {
69 .oobfree = {
80 .oobfree = {
94 .oobfree = {
2247 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_transfer_oob()
3156 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_fill_oob()
5214 for (i = 0; ecc->layout->oobfree[i].length; i++) in nand_scan_tail()
5215 mtd->oobavail += ecc->layout->oobfree[i].length; in nand_scan_tail()
A Docteontx_nand.c476 layout->oobfree[0].offset = 2; in octeontx_nand_calc_ecc_layout()
477 layout->oobfree[0].length = oobsize - 2 - layout->eccbytes; in octeontx_nand_calc_ecc_layout()
/u-boot/include/mtd/
A Dmtd-abi.h204 __u32 oobfree[8][2]; member
227 struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES]; member
/u-boot/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c929 layout->oobfree[idx2].offset--; in brcmnand_create_layout()
930 layout->oobfree[idx2].length = 5; in brcmnand_create_layout()
932 layout->oobfree[idx2].offset = i * sas; in brcmnand_create_layout()
933 layout->oobfree[idx2].length = 6; in brcmnand_create_layout()
940 layout->oobfree[idx2].length = 7; in brcmnand_create_layout()
975 layout->oobfree[idx2].offset = 0; in brcmnand_create_layout()
976 layout->oobfree[idx2].length = 5; in brcmnand_create_layout()
979 layout->oobfree[idx2].offset = 6; in brcmnand_create_layout()
980 layout->oobfree[idx2].length = in brcmnand_create_layout()
990 layout->oobfree[idx2].offset = i * sas; in brcmnand_create_layout()
[all …]
/u-boot/include/linux/mtd/
A Dmtd.h133 struct mtd_oob_region *oobfree);
146 struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES_LARGE]; member
380 struct mtd_oob_region *oobfree);
/u-boot/drivers/mtd/onenand/
A Donenand_base.c64 .oobfree = {
81 .oobfree = {
96 .oobfree = { {2, 3}, {14, 2}, {18, 3}, {30, 2} }
777 free = this->ecclayout->oobfree; in onenand_transfer_auto_oob()
787 free = this->ecclayout->oobfree; in onenand_transfer_auto_oob()
1380 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
1389 free = this->ecclayout->oobfree; in onenand_fill_auto_oob()
2783 this->ecclayout->oobfree[i].length; i++) in onenand_scan()
2785 this->ecclayout->oobfree[i].length; in onenand_scan()
/u-boot/drivers/mtd/
A Dmtdcore.c1177 struct mtd_oob_region *oobfree) in mtd_ooblayout_free() argument
1179 memset(oobfree, 0, sizeof(*oobfree)); in mtd_ooblayout_free()
1187 return mtd->ooblayout->rfree(mtd, section, oobfree); in mtd_ooblayout_free()

Completed in 75 milliseconds