/linux-4.4.14/drivers/mtd/nand/ |
H A D | sm_common.c | 17 .eccpos = {8, 9, 10, 13, 14, 15}, 33 .eccpos = {0, 1, 2},
|
H A D | omap2.c | 1512 uint32_t *eccpos = chip->ecc.layout->eccpos; omap_write_page_bch() local 1524 chip->oob_poi[eccpos[i]] = ecc_calc[i]; omap_write_page_bch() 1551 uint32_t *eccpos = chip->ecc.layout->eccpos; omap_read_page_bch() local 1552 uint8_t *oob = &chip->oob_poi[eccpos[0]]; omap_read_page_bch() 1553 uint32_t oob_pos = mtd->writesize + chip->ecc.layout->eccpos[0]; omap_read_page_bch() 1570 memcpy(ecc_code, &chip->oob_poi[eccpos[0]], chip->ecc.total); omap_read_page_bch() 1848 ecclayout->eccpos[i] = oob_index; omap_nand_probe() 1851 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; omap_nand_probe() 1869 ecclayout->eccpos[i] = oob_index; omap_nand_probe() 1875 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; omap_nand_probe() 1906 ecclayout->eccpos[i] = oob_index; omap_nand_probe() 1909 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; omap_nand_probe() 1933 ecclayout->eccpos[i] = oob_index; omap_nand_probe() 1939 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; omap_nand_probe() 1977 ecclayout->eccpos[i] = oob_index; omap_nand_probe() 1980 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; omap_nand_probe() 2007 ecclayout->eccpos[i] = oob_index; omap_nand_probe() 2010 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; omap_nand_probe()
|
H A D | atmel_nand.c | 77 .eccpos = {60, 61, 62, 63}, 90 .eccpos = {0, 1, 2, 3}, 486 layout->eccpos[i] = oobsize - ecc_len + i; pmecc_config_ecc_layout() 836 pos = tmp + nand_chip->ecc.layout->eccpos[0]; pmecc_correct_data() 925 uint32_t *eccpos = chip->ecc.layout->eccpos; atmel_nand_pmecc_read_page() local 947 bitflips = pmecc_correction(mtd, stat, buf, &oob[eccpos[0]]); atmel_nand_pmecc_read_page() 961 uint32_t *eccpos = chip->ecc.layout->eccpos; atmel_nand_pmecc_write_page() local 984 chip->oob_poi[eccpos[pos]] = atmel_nand_pmecc_write_page() 1047 pmecc_writel(host->ecc, SADDR, ecc_layout->eccpos[0]); atmel_pmecc_core_init() 1049 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); atmel_pmecc_core_init() 1343 uint32_t *eccpos = chip->ecc.layout->eccpos; atmel_nand_read_page() local 1366 if (eccpos[0] != 0) { atmel_nand_read_page() 1371 * anyway, for small pages, the eccpos[0] == 0 atmel_nand_read_page() 1374 mtd->writesize + eccpos[0], -1); atmel_nand_read_page() 1378 ecc_pos = oob + eccpos[0]; atmel_nand_read_page()
|
H A D | fsl_ifc_nand.c | 74 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15}, 81 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15}, 88 .eccpos = { 100 .eccpos = { 116 .eccpos = { 140 .eccpos = { 164 .eccpos = { 269 int pos = chip->ecc.layout->eccpos[i]; is_blank()
|
H A D | fsmc_nand.c | 44 .eccpos = {2, 3, 4, 18, 19, 20, 34, 35, 36, 50, 51, 52, 60 .eccpos = {2, 3, 4, 18, 19, 20, 34, 35, 36, 50, 51, 52}, 71 .eccpos = {2, 3, 4}, 84 .eccpos = { 2, 3, 4, 5, 6, 7, 8, 144 .eccpos = { 2, 3, 4, 5, 6, 7, 8, 180 .eccpos = { 2, 3, 4, 5, 6, 7, 8, 216 .eccpos = { 2, 3, 4, 5, 6, 7, 8, 240 .eccpos = { 0, 1, 2, 3, 6, 7, 8,
|
H A D | nand_base.c | 54 .eccpos = {0, 1, 2}, 64 .eccpos = {0, 1, 2, 3, 6, 7}, 72 .eccpos = { 83 .eccpos = { 1318 uint32_t *eccpos = chip->ecc.layout->eccpos; nand_read_page_swecc() local 1327 ecc_code[i] = chip->oob_poi[eccpos[i]]; nand_read_page_swecc() 1360 uint32_t *eccpos = chip->ecc.layout->eccpos; nand_read_subpage() local 1395 if (eccpos[i + index] + 1 != eccpos[i + index + 1]) { nand_read_subpage() 1408 aligned_pos = eccpos[index] & ~(busw - 1); nand_read_subpage() 1410 if (eccpos[index] & (busw - 1)) nand_read_subpage() 1412 if (eccpos[index + (num_steps * chip->ecc.bytes)] & (busw - 1)) nand_read_subpage() 1421 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; nand_read_subpage() 1458 uint32_t *eccpos = chip->ecc.layout->eccpos; nand_read_page_hwecc() local 1469 ecc_code[i] = chip->oob_poi[eccpos[i]]; nand_read_page_hwecc() 1510 uint32_t *eccpos = chip->ecc.layout->eccpos; nand_read_page_hwecc_oob_first() local 1520 ecc_code[i] = chip->oob_poi[eccpos[i]]; nand_read_page_hwecc_oob_first() 2240 uint32_t *eccpos = chip->ecc.layout->eccpos; nand_write_page_swecc() local 2247 chip->oob_poi[eccpos[i]] = ecc_calc[i]; nand_write_page_swecc() 2269 uint32_t *eccpos = chip->ecc.layout->eccpos; nand_write_page_hwecc() local 2278 chip->oob_poi[eccpos[i]] = ecc_calc[i]; nand_write_page_hwecc() 2306 uint32_t *eccpos = chip->ecc.layout->eccpos; nand_write_subpage_hwecc() local 2339 chip->oob_poi[eccpos[i]] = ecc_calc[i]; nand_write_subpage_hwecc()
|
H A D | mxc_nand.c | 207 .eccpos = {6, 7, 8, 9, 10}, 213 .eccpos = {6, 7, 8, 9, 10, 22, 23, 24, 25, 26, 221 .eccpos = { 232 .eccpos = { 249 .eccpos = { 970 layout->eccpos[i*18 + j] = i*26 + j + 7; ecc_8bit_layout_4k()
|
H A D | fsl_elbc_nand.c | 86 .eccpos = {6, 7, 8}, 93 .eccpos = {8, 9, 10}, 100 .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56}, 107 .eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
|
H A D | nand_bch.c | 182 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; nand_bch_init()
|
H A D | cafe_nand.c | 457 .eccpos = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}, 492 .eccpos = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13},
|
H A D | vf610_nfc.c | 178 .eccpos = {19, 20, 21, 22, 23, 191 .eccpos = { 4, 5, 6, 7, 8, 9, 10, 11,
|
H A D | davinci_nand.c | 492 .eccpos = { 0, 1, 2, 3, 4, 508 .eccpos = { 530 .eccpos = {
|
H A D | lpc32xx_slc.c | 151 .eccpos = {10, 11, 12, 13, 14, 15}, 624 oobecc = chip->oob_poi + chip->ecc.layout->eccpos[0]; lpc32xx_nand_read_page_syndrome() 670 uint8_t *pb = chip->oob_poi + chip->ecc.layout->eccpos[0]; lpc32xx_nand_write_page_syndrome()
|
H A D | pxa3xx_nand.c | 318 .eccpos = { 328 .eccpos = { 343 .eccpos = {
|
H A D | sh_flctl.c | 48 .eccpos = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, 56 .eccpos = {
|
H A D | sunxi_nand.c | 1129 layout->eccpos[(ecc->bytes * i) + j] = sunxi_nand_hw_ecc_ctrl_init() 1167 layout->eccpos[i] = i; sunxi_nand_hw_syndrome_ecc_ctrl_init()
|
H A D | bf5xx_nand.c | 114 .eccpos = {
|
H A D | lpc32xx_mlc.c | 144 .eccpos = { 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
H A D | s3c2410.c | 90 .eccpos = {0, 1, 2},
|
H A D | diskonchip.c | 998 .eccpos = {0, 1, 2, 3, 4, 5},
|
H A D | docg4.c | 227 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14, 15},
|
/linux-4.4.14/arch/mips/jz4740/ |
H A D | board-qi_lb60.c | 55 .eccpos = { 91 .eccpos = {
|
/linux-4.4.14/include/uapi/mtd/ |
H A D | mtd-abi.h | 215 __u32 eccpos[32]; member in struct:nand_oobinfo 235 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member in struct:nand_ecclayout_user
|
/linux-4.4.14/drivers/mtd/ |
H A D | mtdchar.c | 487 to->eccpos[i] = from->eccpos[i]; shrink_ecclayout() 820 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) mtdchar_ioctl() 824 memcpy(&oi.eccpos, mtd->ecclayout->eccpos, sizeof(oi.eccpos)); mtdchar_ioctl()
|
/linux-4.4.14/drivers/mtd/nand/brcmnand/ |
H A D | brcmnand.c | 818 layout->eccpos[idx1++] = i * sas + 6; brcmnand_create_layout() 819 layout->eccpos[idx1++] = i * sas + 7; brcmnand_create_layout() 820 layout->eccpos[idx1++] = i * sas + 8; brcmnand_create_layout() 850 layout->eccpos[idx1] = i * sas + j; brcmnand_create_layout()
|
/linux-4.4.14/include/linux/mtd/ |
H A D | mtd.h | 107 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES_LARGE]; member in struct:nand_ecclayout
|
/linux-4.4.14/arch/arm/mach-pxa/ |
H A D | spitz.c | 769 .eccpos = {
|
/linux-4.4.14/drivers/mtd/onenand/ |
H A D | onenand_base.c | 73 .eccpos = { 94 * For eccpos we expose only 64 bytes out of 72 (see struct nand_ecclayout) 101 .eccpos = { 122 .eccpos = { 139 .eccpos = {
|
/linux-4.4.14/drivers/mtd/devices/ |
H A D | docg3.c | 73 * @eccpos: ecc positions (byte 7 is Hamming ECC, byte 8-14 are BCH ECC) 79 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14},
|
/linux-4.4.14/drivers/staging/mt29f_spinand/ |
H A D | mt29f_spinand.c | 47 .eccpos = {
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
H A D | gpmi-nand.c | 52 .eccpos = { 0, },
|