Lines Matching refs:layout

1318 	uint32_t *eccpos = chip->ecc.layout->eccpos;  in nand_read_page_swecc()
1360 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage()
1458 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc()
1510 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc_oob_first()
1617 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_transfer_oob()
2040 len = chip->ecc.layout->oobavail; in nand_do_read_oob()
2240 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_swecc()
2269 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_hwecc()
2306 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_subpage_hwecc()
2491 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_fill_oob()
2731 len = chip->ecc.layout->oobavail; in nand_do_write_oob()
4116 if (!ecc->layout && (ecc->mode != NAND_ECC_SOFT_BCH)) { in nand_scan_tail()
4119 ecc->layout = &nand_oob_8; in nand_scan_tail()
4122 ecc->layout = &nand_oob_16; in nand_scan_tail()
4125 ecc->layout = &nand_oob_64; in nand_scan_tail()
4128 ecc->layout = &nand_oob_128; in nand_scan_tail()
4252 &ecc->layout); in nand_scan_tail()
4287 ecc->layout->oobavail = 0; in nand_scan_tail()
4288 for (i = 0; ecc->layout->oobfree[i].length in nand_scan_tail()
4289 && i < ARRAY_SIZE(ecc->layout->oobfree); i++) in nand_scan_tail()
4290 ecc->layout->oobavail += ecc->layout->oobfree[i].length; in nand_scan_tail()
4291 mtd->oobavail = ecc->layout->oobavail; in nand_scan_tail()
4366 mtd->ecclayout = ecc->layout; in nand_scan_tail()