Lines Matching refs:oobsize

412 	oobregion->offset = mtd->oobsize - oobregion->length;  in nand_ooblayout_ecc_lp()
429 oobregion->length = mtd->oobsize - ecc->total - 2; in nand_ooblayout_free_lp()
455 int oobsize = mtd->oobsize; in octeontx_nand_calc_ecc_layout() local
468 if (layout->eccbytes + 2 > oobsize) { in octeontx_nand_calc_ecc_layout()
470 oobsize, layout->eccbytes); in octeontx_nand_calc_ecc_layout()
475 layout->eccpos[i] = oobsize - layout->eccbytes + i; in octeontx_nand_calc_ecc_layout()
477 layout->oobfree[0].length = oobsize - 2 - layout->eccbytes; in octeontx_nand_calc_ecc_layout()
1258 rc = ndf_page_read(tn, page_addr, column, mtd->oobsize); in octeontx_nand_cmdfunc()
1259 if (rc < mtd->oobsize) in octeontx_nand_cmdfunc()
1271 mtd->writesize + mtd->oobsize); in octeontx_nand_cmdfunc()
1273 if (rc < mtd->writesize + mtd->oobsize) in octeontx_nand_cmdfunc()
1615 memcpy(chip->oob_poi, tn->buf.dmabuf + mtd->writesize, mtd->oobsize); in octeontx_nand_hw_bch_read_page()
1688 chip->write_buf(mtd, chip->oob_poi, mtd->oobsize); in octeontx_nand_hw_bch_write_page()
1710 chip->write_buf(mtd, chip->oob_poi, mtd->oobsize); in octeontx_nand_write_page_raw()
1728 int length = mtd->oobsize; in octeontx_nand_write_oob_std()
1756 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in octeontx_nand_read_page_raw()
1766 chip->read_buf(mtd, chip->oob_poi, mtd->oobsize); in octeontx_nand_read_oob_std()
1776 int oobchunk = mtd->oobsize / nsteps; in octeontx_nand_calc_bch_ecc_strength()
1877 ecc->bytes = mtd->oobsize / nsteps; in octeontx_nfc_chip_sizing()