Lines Matching refs:oobsize

173 	if (geo->ecc_chunkn_size < mtd->oobsize)  in mxs_nand_calc_ecc_layout_by_info()
206 if (geo->ecc_chunkn_size < mtd->oobsize) { in mxs_nand_legacy_calc_ecc_layout()
222 geo->ecc_strength = ((mtd->oobsize - MXS_NAND_METADATA_SIZE) * 8) in mxs_nand_legacy_calc_ecc_layout()
258 max_ecc = ((mtd->oobsize - MXS_NAND_METADATA_SIZE) * 8) in mxs_nand_calc_ecc_for_large_oob()
282 if (mtd->oobsize * 8 < MXS_NAND_METADATA_SIZE * 8 + in mxs_nand_calc_ecc_for_large_oob()
706 (mtd->writesize + mtd->oobsize); in mxs_nand_ecc_read_page()
712 d->cmd.pio_words[3] = mtd->writesize + mtd->oobsize; in mxs_nand_ecc_read_page()
738 (mtd->writesize + mtd->oobsize); in mxs_nand_ecc_read_page()
817 memset(nand->oob_poi, 0xff, mtd->oobsize); in mxs_nand_ecc_read_page()
845 memcpy(nand_info->oob_buf, nand->oob_poi, mtd->oobsize); in mxs_nand_ecc_write_page()
869 d->cmd.pio_words[3] = (mtd->writesize + mtd->oobsize); in mxs_nand_ecc_write_page()
1040 nand->read_buf(mtd, nand->oob_poi, mtd->oobsize); in mxs_nand_ecc_read_oob()
1046 memset(nand->oob_poi, 0xff, mtd->oobsize); in mxs_nand_ecc_read_oob()
1122 mtd->oobsize < 1024) || nand_info->legacy_bch_geometry) { in mxs_nand_set_geometry()
1127 if (mtd->oobsize > 1024 || chip->ecc_step_ds < mtd->oobsize) in mxs_nand_set_geometry()
1155 nand_info->oobsize = mtd->oobsize; in mxs_nand_setup_ecc()
1175 tmp = (mtd->writesize + mtd->oobsize) in mxs_nand_setup_ecc()
1505 mtd->oobsize = 1862 - 1024; in mxs_nand_mode_fcb_62bit()
1542 mtd->oobsize = 1576 - 1024; in mxs_nand_mode_fcb_40bit()
1577 mtd->oobsize = nand_info->oobsize; in mxs_nand_mode_normal()