/linux-4.4.14/drivers/mtd/nand/ |
D | nand_bch.c | 127 nand_bch_init(struct mtd_info *mtd, unsigned int eccsize, unsigned int eccbytes, in nand_bch_init() argument 135 if (!eccsize || !eccbytes) { in nand_bch_init() 141 t = (eccbytes*8)/m; in nand_bch_init() 152 if (nbc->bch->ecc_bytes != eccbytes) { in nand_bch_init() 154 eccbytes, nbc->bch->ecc_bytes); in nand_bch_init() 171 layout->eccbytes = eccsteps*eccbytes; in nand_bch_init() 174 if (layout->eccbytes+2 > mtd->oobsize) { in nand_bch_init() 177 eccbytes); in nand_bch_init() 181 for (i = 0; i < layout->eccbytes; i++) in nand_bch_init() 182 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; in nand_bch_init() [all …]
|
D | omap2.c | 1167 int eccbytes = info->nand.ecc.bytes; in omap_calculate_ecc_bch() local 1255 for (j = 0; j < eccbytes; j++) in omap_calculate_ecc_bch() 1260 ecc_calc[eccbytes - 1] = 0x0; in omap_calculate_ecc_bch() 1265 for (j = 0; j < eccbytes; j++) in omap_calculate_ecc_bch() 1270 ecc_calc[eccbytes - 1] = 0x0; in omap_calculate_ecc_bch() 1278 ecc_calc += eccbytes; in omap_calculate_ecc_bch() 1840 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe() 1847 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++) in omap_nand_probe() 1851 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe() 1864 ecclayout->eccbytes = nand_chip->ecc.bytes * in omap_nand_probe() [all …]
|
D | fsmc_nand.c | 43 .eccbytes = 24, 59 .eccbytes = 12, 70 .eccbytes = 3, 83 .eccbytes = 208, 143 .eccbytes = 104, 179 .eccbytes = 104, 215 .eccbytes = 52, 239 .eccbytes = 13, 719 int eccbytes = chip->ecc.bytes; in fsmc_read_page_hwecc() local 734 for (i = 0, s = 0; s < eccsteps; s++, i += eccbytes, p += eccsize) { in fsmc_read_page_hwecc() [all …]
|
D | sm_common.c | 16 .eccbytes = 6, 32 .eccbytes = 3,
|
D | mxc_nand.c | 170 int eccbytes; member 206 .eccbytes = 5, 212 .eccbytes = 20, 220 .eccbytes = 1 * 9, 231 .eccbytes = 4 * 9, 248 .eccbytes = 8 * 9, 967 layout->eccbytes = 8*18; in ecc_8bit_layout_4k() 1284 .eccbytes = 3, 1310 .eccbytes = 3, 1336 .eccbytes = 9, [all …]
|
D | nand_base.c | 53 .eccbytes = 3, 63 .eccbytes = 6, 71 .eccbytes = 24, 82 .eccbytes = 48, 1272 int eccbytes = chip->ecc.bytes; in nand_read_page_raw_syndrome() local 1285 chip->read_buf(mtd, oob, eccbytes); in nand_read_page_raw_syndrome() 1286 oob += eccbytes; in nand_read_page_raw_syndrome() 1313 int eccbytes = chip->ecc.bytes; in nand_read_page_swecc() local 1323 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc() 1332 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_swecc() [all …]
|
D | txx9ndfmc.c | 179 int eccbytes; in txx9ndfmc_calculate_ecc() local 185 for (eccbytes = chip->ecc.bytes; eccbytes > 0; eccbytes -= 3) { in txx9ndfmc_calculate_ecc()
|
D | fsl_ifc_nand.c | 73 .eccbytes = 8, 80 .eccbytes = 8, 87 .eccbytes = 32, 99 .eccbytes = 64, 115 .eccbytes = 128, 139 .eccbytes = 128, 163 .eccbytes = 256, 268 for (i = 0; i < chip->ecc.layout->eccbytes; i++) { in is_blank()
|
D | fsl_elbc_nand.c | 85 .eccbytes = 3, 92 .eccbytes = 3, 99 .eccbytes = 12, 106 .eccbytes = 12,
|
D | davinci_nand.c | 491 .eccbytes = 10, 507 .eccbytes = 40, 529 .eccbytes = 80,
|
D | denali.c | 1373 .eccbytes = 14, 1378 .eccbytes = 26, 1576 denali->nand.ecc.layout->eccbytes *= in denali_init() 1579 denali->bbtskipbytes + denali->nand.ecc.layout->eccbytes; in denali_init() 1581 denali->mtd.oobsize - denali->nand.ecc.layout->eccbytes - in denali_init()
|
D | atmel_nand.c | 76 .eccbytes = 4, 89 .eccbytes = 4, 482 layout->eccbytes = ecc_len; in pmecc_config_ecc_layout() 1049 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init() 1342 int eccbytes = chip->ecc.bytes; in atmel_nand_read_page() local 1379 chip->read_buf(mtd, ecc_pos, eccbytes); in atmel_nand_read_page()
|
D | vf610_nfc.c | 177 .eccbytes = 45, 190 .eccbytes = 60,
|
D | cafe_nand.c | 456 .eccbytes = 14, 491 .eccbytes = 14,
|
D | nandsim.c | 2317 unsigned int eccsteps, eccbytes; in ns_init_module() local 2325 eccbytes = (bch*13+7)/8; in ns_init_module() 2332 if ((eccbytes*eccsteps+2) > nsmtd->oobsize) { in ns_init_module() 2340 chip->ecc.bytes = eccbytes; in ns_init_module()
|
D | sh_flctl.c | 47 .eccbytes = 10, 55 .eccbytes = 4 * 10,
|
D | pxa3xx_nand.c | 317 .eccbytes = 32, 327 .eccbytes = 64, 342 .eccbytes = 128,
|
D | bf5xx_nand.c | 113 .eccbytes = 24,
|
D | lpc32xx_mlc.c | 143 .eccbytes = 40,
|
D | s3c2410.c | 89 .eccbytes = 3,
|
D | lpc32xx_slc.c | 150 .eccbytes = 6,
|
D | docg4.c | 226 .eccbytes = 9,
|
D | sunxi_nand.c | 1075 layout->eccbytes = (ecc->bytes * nsectors); in sunxi_nand_hw_common_ecc_ctrl_init()
|
D | diskonchip.c | 997 .eccbytes = 6,
|
/linux-4.4.14/include/linux/mtd/ |
D | nand_bch.h | 37 unsigned int eccbytes, struct nand_ecclayout **ecclayout); 63 unsigned int eccbytes, struct nand_ecclayout **ecclayout) in nand_bch_init() argument
|
D | mtd.h | 106 __u32 eccbytes; member
|
/linux-4.4.14/include/uapi/mtd/ |
D | mtd-abi.h | 213 __u32 eccbytes; member 234 __u32 eccbytes; member
|
/linux-4.4.14/drivers/mtd/ |
D | mtdchar.c | 485 to->eccbytes = min((int)from->eccbytes, MTD_MAX_ECCPOS_ENTRIES); in shrink_ecclayout() 486 for (i = 0; i < to->eccbytes; i++) in shrink_ecclayout() 820 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) in mtdchar_ioctl() 827 oi.eccbytes = mtd->ecclayout->eccbytes; in mtdchar_ioctl()
|
/linux-4.4.14/arch/mips/jz4740/ |
D | board-qi_lb60.c | 54 .eccbytes = 36, 90 .eccbytes = 72,
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | spitz.c | 768 .eccbytes = 24,
|
/linux-4.4.14/drivers/staging/mt29f_spinand/ |
D | mt29f_spinand.c | 46 .eccbytes = 24,
|
/linux-4.4.14/drivers/mtd/onenand/ |
D | onenand_base.c | 72 .eccbytes = 64, 100 .eccbytes = 64, 121 .eccbytes = 20, 138 .eccbytes = 10,
|
/linux-4.4.14/drivers/mtd/devices/ |
D | docg3.c | 78 .eccbytes = 8,
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.c | 51 .eccbytes = 0,
|
/linux-4.4.14/drivers/mtd/nand/brcmnand/ |
D | brcmnand.c | 846 layout->eccbytes = req * sectors; in brcmnand_create_layout()
|