Searched refs:eccpos (Results 1 - 31 of 31) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Dsm_common.c17 .eccpos = {8, 9, 10, 13, 14, 15},
33 .eccpos = {0, 1, 2},
H A Domap2.c1512 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 Datmel_nand.c77 .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 Dfsl_ifc_nand.c74 .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 Dfsmc_nand.c44 .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 Dnand_base.c54 .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 Dmxc_nand.c207 .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 Dfsl_elbc_nand.c86 .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 Dnand_bch.c182 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; nand_bch_init()
H A Dcafe_nand.c457 .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 Dvf610_nfc.c178 .eccpos = {19, 20, 21, 22, 23,
191 .eccpos = { 4, 5, 6, 7, 8, 9, 10, 11,
H A Ddavinci_nand.c492 .eccpos = { 0, 1, 2, 3, 4,
508 .eccpos = {
530 .eccpos = {
H A Dlpc32xx_slc.c151 .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 Dpxa3xx_nand.c318 .eccpos = {
328 .eccpos = {
343 .eccpos = {
H A Dsh_flctl.c48 .eccpos = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
56 .eccpos = {
H A Dsunxi_nand.c1129 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 Dbf5xx_nand.c114 .eccpos = {
H A Dlpc32xx_mlc.c144 .eccpos = { 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
H A Ds3c2410.c90 .eccpos = {0, 1, 2},
H A Ddiskonchip.c998 .eccpos = {0, 1, 2, 3, 4, 5},
H A Ddocg4.c227 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14, 15},
/linux-4.4.14/arch/mips/jz4740/
H A Dboard-qi_lb60.c55 .eccpos = {
91 .eccpos = {
/linux-4.4.14/include/uapi/mtd/
H A Dmtd-abi.h215 __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 Dmtdchar.c487 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 Dbrcmnand.c818 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 Dmtd.h107 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES_LARGE]; member in struct:nand_ecclayout
/linux-4.4.14/arch/arm/mach-pxa/
H A Dspitz.c769 .eccpos = {
/linux-4.4.14/drivers/mtd/onenand/
H A Donenand_base.c73 .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 Ddocg3.c73 * @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 Dmt29f_spinand.c47 .eccpos = {
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.c52 .eccpos = { 0, },

Completed in 787 milliseconds