/linux-4.1.27/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 205 .eccbytes = 5, 211 .eccbytes = 20, 219 .eccbytes = 1 * 9, 230 .eccbytes = 4 * 9, 247 .eccbytes = 8 * 9, 1218 .eccbytes = 3, 1244 .eccbytes = 3, 1270 .eccbytes = 9, 1296 .eccbytes = 0, [all …]
|
D | nand_base.c | 54 .eccbytes = 3, 64 .eccbytes = 6, 72 .eccbytes = 24, 83 .eccbytes = 48, 1138 int eccbytes = chip->ecc.bytes; in nand_read_page_raw_syndrome() local 1151 chip->read_buf(mtd, oob, eccbytes); in nand_read_page_raw_syndrome() 1152 oob += eccbytes; in nand_read_page_raw_syndrome() 1179 int eccbytes = chip->ecc.bytes; in nand_read_page_swecc() local 1189 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc() 1198 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 | denali.c | 1363 .eccbytes = 14, 1368 .eccbytes = 26, 1567 denali->nand.ecc.layout->eccbytes *= in denali_init() 1570 denali->bbtskipbytes + denali->nand.ecc.layout->eccbytes; in denali_init() 1572 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() 1048 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init() 1341 int eccbytes = chip->ecc.bytes; in atmel_nand_read_page() local 1378 chip->read_buf(mtd, ecc_pos, eccbytes); in atmel_nand_read_page()
|
D | davinci_nand.c | 491 .eccbytes = 10, 507 .eccbytes = 40,
|
D | cafe_nand.c | 456 .eccbytes = 14, 491 .eccbytes = 14,
|
D | nandsim.c | 2318 unsigned int eccsteps, eccbytes; in ns_init_module() local 2326 eccbytes = (bch*13+7)/8; in ns_init_module() 2333 if ((eccbytes*eccsteps+2) > nsmtd->oobsize) { in ns_init_module() 2341 chip->ecc.bytes = eccbytes; in ns_init_module()
|
D | sh_flctl.c | 47 .eccbytes = 10, 55 .eccbytes = 4 * 10,
|
D | pxa3xx_nand.c | 289 .eccbytes = 32, 299 .eccbytes = 64, 314 .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 | 147 .eccbytes = 6,
|
D | docg4.c | 226 .eccbytes = 9,
|
D | sunxi_nand.c | 962 layout->eccbytes = (ecc->bytes * nsectors); in sunxi_nand_hw_common_ecc_ctrl_init()
|
D | diskonchip.c | 994 .eccbytes = 6,
|
/linux-4.1.27/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.1.27/include/uapi/mtd/ |
D | mtd-abi.h | 213 __u32 eccbytes; member 234 __u32 eccbytes; member
|
/linux-4.1.27/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() 824 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) in mtdchar_ioctl() 831 oi.eccbytes = mtd->ecclayout->eccbytes; in mtdchar_ioctl()
|
/linux-4.1.27/arch/mips/jz4740/ |
D | board-qi_lb60.c | 54 .eccbytes = 36, 90 .eccbytes = 72,
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | spitz.c | 768 .eccbytes = 24,
|
/linux-4.1.27/drivers/staging/mt29f_spinand/ |
D | mt29f_spinand.c | 46 .eccbytes = 24,
|
/linux-4.1.27/drivers/mtd/onenand/ |
D | onenand_base.c | 72 .eccbytes = 64, 100 .eccbytes = 64, 121 .eccbytes = 20, 138 .eccbytes = 10,
|
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.c | 51 .eccbytes = 0,
|
/linux-4.1.27/drivers/mtd/devices/ |
D | docg3.c | 78 .eccbytes = 8,
|