Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/nand/
Domap2.c1512 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_write_page_bch() local
1524 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in omap_write_page_bch()
1551 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_read_page_bch() local
1552 uint8_t *oob = &chip->oob_poi[eccpos[0]]; in omap_read_page_bch()
1553 uint32_t oob_pos = mtd->writesize + chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
1570 memcpy(ecc_code, &chip->oob_poi[eccpos[0]], chip->ecc.total); in omap_read_page_bch()
1848 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1851 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1869 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1875 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
[all …]
Dsm_common.c17 .eccpos = {8, 9, 10, 13, 14, 15},
33 .eccpos = {0, 1, 2},
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; in nand_read_page_swecc() local
1327 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_swecc()
1360 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage() local
1395 if (eccpos[i + index] + 1 != eccpos[i + index + 1]) { in nand_read_subpage()
1408 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1410 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
[all …]
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]; in is_blank()
Datmel_nand.c77 .eccpos = {60, 61, 62, 63},
90 .eccpos = {0, 1, 2, 3},
486 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
836 pos = tmp + nand_chip->ecc.layout->eccpos[0]; in pmecc_correct_data()
925 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_read_page() local
947 bitflips = pmecc_correction(mtd, stat, buf, &oob[eccpos[0]]); in atmel_nand_pmecc_read_page()
961 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_write_page() local
984 chip->oob_poi[eccpos[pos]] = in atmel_nand_pmecc_write_page()
1047 pmecc_writel(host->ecc, SADDR, ecc_layout->eccpos[0]); in atmel_pmecc_core_init()
1049 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init()
[all …]
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,
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},
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; in ecc_8bit_layout_4k()
Ddavinci_nand.c492 .eccpos = { 0, 1, 2, 3, 4,
508 .eccpos = {
530 .eccpos = {
Dnand_bch.c182 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; in nand_bch_init()
Dlpc32xx_slc.c151 .eccpos = {10, 11, 12, 13, 14, 15},
624 oobecc = chip->oob_poi + chip->ecc.layout->eccpos[0]; in lpc32xx_nand_read_page_syndrome()
670 uint8_t *pb = chip->oob_poi + chip->ecc.layout->eccpos[0]; in lpc32xx_nand_write_page_syndrome()
Dvf610_nfc.c178 .eccpos = {19, 20, 21, 22, 23,
191 .eccpos = { 4, 5, 6, 7, 8, 9, 10, 11,
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},
Dsh_flctl.c48 .eccpos = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
56 .eccpos = {
Dpxa3xx_nand.c318 .eccpos = {
328 .eccpos = {
343 .eccpos = {
Dbf5xx_nand.c114 .eccpos = {
Dsunxi_nand.c1129 layout->eccpos[(ecc->bytes * i) + j] = in sunxi_nand_hw_ecc_ctrl_init()
1167 layout->eccpos[i] = i; in sunxi_nand_hw_syndrome_ecc_ctrl_init()
Dlpc32xx_mlc.c144 .eccpos = { 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
Ds3c2410.c90 .eccpos = {0, 1, 2},
Ddocg4.c227 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14, 15},
Ddiskonchip.c998 .eccpos = {0, 1, 2, 3, 4, 5},
/linux-4.4.14/include/uapi/mtd/
Dmtd-abi.h215 __u32 eccpos[32]; member
235 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/linux-4.4.14/drivers/mtd/
Dmtdchar.c487 to->eccpos[i] = from->eccpos[i]; in shrink_ecclayout()
820 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) in mtdchar_ioctl()
824 memcpy(&oi.eccpos, mtd->ecclayout->eccpos, sizeof(oi.eccpos)); in mtdchar_ioctl()
/linux-4.4.14/arch/mips/jz4740/
Dboard-qi_lb60.c55 .eccpos = {
91 .eccpos = {
/linux-4.4.14/include/linux/mtd/
Dmtd.h107 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES_LARGE]; member
/linux-4.4.14/drivers/mtd/nand/brcmnand/
Dbrcmnand.c818 layout->eccpos[idx1++] = i * sas + 6; in brcmnand_create_layout()
819 layout->eccpos[idx1++] = i * sas + 7; in brcmnand_create_layout()
820 layout->eccpos[idx1++] = i * sas + 8; in brcmnand_create_layout()
850 layout->eccpos[idx1] = i * sas + j; in brcmnand_create_layout()
/linux-4.4.14/arch/arm/mach-pxa/
Dspitz.c769 .eccpos = {
/linux-4.4.14/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c47 .eccpos = {
/linux-4.4.14/drivers/mtd/onenand/
Donenand_base.c73 .eccpos = {
101 .eccpos = {
122 .eccpos = {
139 .eccpos = {
/linux-4.4.14/drivers/mtd/devices/
Ddocg3.c79 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14},
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c52 .eccpos = { 0, },