Lines Matching refs:eccpos
52 .eccpos = {0, 1, 2},
62 .eccpos = {0, 1, 2, 3, 6, 7},
70 .eccpos = {
81 .eccpos = {
1288 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_swecc() local
1297 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_swecc()
1330 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage() local
1365 if (eccpos[i + index] + 1 != eccpos[i + index + 1]) { in nand_read_subpage()
1378 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1380 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
1382 if (eccpos[index + (num_steps * chip->ecc.bytes)] & (busw - 1)) in nand_read_subpage()
1391 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; in nand_read_subpage()
1438 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc() local
1449 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_hwecc()
1499 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc_oob_first() local
1509 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_hwecc_oob_first()
2250 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_swecc() local
2257 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_swecc()
2279 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_hwecc() local
2288 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_hwecc()
2316 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_subpage_hwecc() local
2349 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_subpage_hwecc()