/u-boot/drivers/mtd/nand/raw/ |
A D | davinci_nand.c | 275 .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 D | omap_gpmc.c | 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() 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 D | sunxi_nand.c | 1491 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 D | nand_bch.c | 177 layout->oobfree[0].offset = 2; in nand_bch_init() 178 layout->oobfree[0].length = mtd->oobsize-2-layout->eccbytes; in nand_bch_init()
|
A D | fsmc_nand.c | 48 .oobfree = { 84 .oobfree = { 123 .oobfree = { 139 .oobfree = {
|
A D | fsl_ifc_nand.c | 67 .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 D | fsl_elbc_nand.c | 84 .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 D | tegra_nand.c | 63 .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 D | atmel_nand.c | 107 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 D | pxa3xx_nand.c | 340 .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 D | mxc_nand.c | 56 .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 D | vf610_nfc.c | 177 .oobfree = { 194 .oobfree = {
|
A D | stm32_fmc2_nand.c | 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()
|
A D | zynq_nand.c | 192 .oobfree = { 202 .oobfree = { 217 .oobfree = {
|
A D | arasan_nfc.c | 232 .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 D | cortina_nand.c | 1272 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 D | lpc32xx_nand_mlc.c | 208 .oobfree = {
|
A D | lpc32xx_nand_slc.c | 79 .oobfree = {
|
A D | nand_base.c | 59 .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 D | octeontx_nand.c | 476 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 D | mtd-abi.h | 204 __u32 oobfree[8][2]; member 227 struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES]; member
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand.c | 929 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 D | mtd.h | 133 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 D | onenand_base.c | 64 .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 D | mtdcore.c | 1177 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()
|