Lines Matching refs:layout
1184 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_swecc()
1226 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage()
1324 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc()
1376 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc_oob_first()
1483 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_transfer_oob()
1906 len = chip->ecc.layout->oobavail; in nand_do_read_oob()
2101 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_swecc()
2128 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_hwecc()
2164 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_subpage_hwecc()
2346 struct nand_oobfree *free = chip->ecc.layout->oobfree; in nand_fill_oob()
2586 len = chip->ecc.layout->oobavail; in nand_do_write_oob()
3935 if (!ecc->layout && (ecc->mode != NAND_ECC_SOFT_BCH)) { in nand_scan_tail()
3938 ecc->layout = &nand_oob_8; in nand_scan_tail()
3941 ecc->layout = &nand_oob_16; in nand_scan_tail()
3944 ecc->layout = &nand_oob_64; in nand_scan_tail()
3947 ecc->layout = &nand_oob_128; in nand_scan_tail()
4071 &ecc->layout); in nand_scan_tail()
4106 ecc->layout->oobavail = 0; in nand_scan_tail()
4107 for (i = 0; ecc->layout->oobfree[i].length in nand_scan_tail()
4108 && i < ARRAY_SIZE(ecc->layout->oobfree); i++) in nand_scan_tail()
4109 ecc->layout->oobavail += ecc->layout->oobfree[i].length; in nand_scan_tail()
4110 mtd->oobavail = ecc->layout->oobavail; in nand_scan_tail()
4185 mtd->ecclayout = ecc->layout; in nand_scan_tail()