Lines Matching refs:oobsize

1107 	if (offset_in_page + len > mtd->writesize + mtd->oobsize)  in nand_read_page_op()
1169 if (offset_in_page + len > mtd->writesize + mtd->oobsize) in nand_change_read_column_op()
1201 if (offset_in_oob + len > mtd->oobsize) in nand_read_oob_op()
1234 if (offset_in_page + len > mtd->writesize + mtd->oobsize) in nand_prog_page_begin_op()
1293 if (offset_in_page + len > mtd->writesize + mtd->oobsize) in nand_prog_page_op()
1331 if (offset_in_page + len > mtd->writesize + mtd->oobsize) in nand_change_write_column_op()
1778 ret = nand_read_data_op(chip, chip->oob_poi, mtd->oobsize, in nand_read_page_raw()
1838 size = mtd->oobsize - (oob - chip->oob_poi); in nand_read_page_raw_syndrome()
1952 chip->oob_poi, mtd->oobsize, in nand_read_subpage()
2038 ret = nand_read_data_op(chip, chip->oob_poi, mtd->oobsize, false); in nand_read_page_hwecc()
2099 ret = nand_read_oob_op(chip, page, 0, chip->oob_poi, mtd->oobsize); in nand_read_page_hwecc_oob_first()
2219 i = mtd->oobsize - (oob - chip->oob_poi); in nand_read_page_syndrome()
2499 return nand_read_oob_op(chip, page, 0, chip->oob_poi, mtd->oobsize); in nand_read_oob_std()
2512 int length = mtd->oobsize; in nand_read_oob_syndrome()
2567 mtd->oobsize); in nand_write_oob_std()
2581 int eccsize = chip->ecc.size, length = mtd->oobsize; in nand_write_oob_syndrome()
2807 ret = nand_write_data_op(chip, chip->oob_poi, mtd->oobsize, in nand_write_page_raw()
2868 size = mtd->oobsize - (oob - chip->oob_poi); in nand_write_page_raw_syndrome()
2939 ret = nand_write_data_op(chip, chip->oob_poi, mtd->oobsize, false); in nand_write_page_hwecc()
2970 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc()
3006 ret = nand_write_data_op(chip, chip->oob_poi, mtd->oobsize, false); in nand_write_subpage_hwecc()
3072 i = mtd->oobsize - (oob - chip->oob_poi); in nand_write_page_syndrome()
3146 memset(chip->oob_poi, 0xff, mtd->oobsize); in nand_fill_oob()
3280 memset(chip->oob_poi, 0xff, mtd->oobsize); in nand_do_write_ops()
3963 mtd->oobsize = le16_to_cpu(p->spare_bytes_per_page); in nand_flash_detect_onfi()
4068 mtd->oobsize = le16_to_cpu(p->spare_bytes_per_page); in nand_flash_detect_jedec()
4195 mtd->oobsize = 128; in nand_decode_ext_id()
4198 mtd->oobsize = 218; in nand_decode_ext_id()
4201 mtd->oobsize = 400; in nand_decode_ext_id()
4204 mtd->oobsize = 436; in nand_decode_ext_id()
4207 mtd->oobsize = 512; in nand_decode_ext_id()
4210 mtd->oobsize = 640; in nand_decode_ext_id()
4214 mtd->oobsize = 1024; in nand_decode_ext_id()
4232 mtd->oobsize = 128; in nand_decode_ext_id()
4235 mtd->oobsize = 224; in nand_decode_ext_id()
4238 mtd->oobsize = 448; in nand_decode_ext_id()
4241 mtd->oobsize = 64; in nand_decode_ext_id()
4244 mtd->oobsize = 32; in nand_decode_ext_id()
4247 mtd->oobsize = 16; in nand_decode_ext_id()
4250 mtd->oobsize = 640; in nand_decode_ext_id()
4268 mtd->oobsize = (8 << (extid & 0x01)) * in nand_decode_ext_id()
4289 mtd->oobsize = 32 * mtd->writesize >> 9; in nand_decode_ext_id()
4308 mtd->oobsize = mtd->writesize / 32; in nand_decode_id()
4376 mtd->oobsize = type->oobsize; in find_full_id_nand()
4571 mtd->erasesize >> 10, mtd->writesize, mtd->oobsize); in nand_get_flash_type()
5042 switch (mtd->oobsize) { in nand_scan_tail()
5059 mtd->oobsize); in nand_scan_tail()
5170 if (!ecc->size && (mtd->oobsize >= 64)) { in nand_scan_tail()