Lines Matching refs:oobsize
342 nflash.oobsize = oobsz_per_sector * (nflash.pagesize / NFL_SECTOR_SIZE);
399 switch (nflash.oobsize) {
410 printf("unsupported oob size %d.\n", nflash.oobsize);
553 nflash.oobsize, tmp_page_oob);
703 nflash_readoob(sih, cc, offset, nflash.oobsize, tmp_page_oob);
719 nflash.oobsize, tmp_page_oob) < 0) {
973 memset((void *)oob_buf, 0, nflash.oobsize);
975 if (nflash_writeoob(sih, cc, offset, nflash.oobsize, oob_buf) < 0)
978 if (nflash_writeoob(sih, cc, offset + nflash.pagesize, nflash.oobsize, oob_buf) < 0)
1089 if ((offset & mask) != 0 || (len > nflash.oobsize) || (len & 0x3) != 0)
1147 if ((offset & mask) != 0 || (len > nflash.oobsize) || (len & 0x3) != 0)