• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/

Lines Matching refs:writesize

350 		ofs += mtd->erasesize - mtd->writesize;
402 ofs += mtd->erasesize - mtd->writesize;
434 ofs += mtd->writesize;
556 if (column >= mtd->writesize) {
558 column -= mtd->writesize;
654 column += mtd->writesize;
1065 chip->read_buf(mtd, buf, mtd->writesize);
1202 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, mtd->writesize, -1);
1214 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, mtd->writesize + aligned_pos, -1);
1464 col = (int)(from & (mtd->writesize - 1));
1470 bytes = min(mtd->writesize - col, readlen);
1471 aligned = (bytes == mtd->writesize);
1647 if (mtd->writesize > 512)
1677 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page);
1716 if (mtd->writesize <= 512) {
1896 chip->write_buf(mtd, buf, mtd->writesize);
2086 if (chip->verify_buf(mtd, buf, mtd->writesize))
2176 column = to & (mtd->writesize - 1);
2177 subpage = column || (writelen & (mtd->writesize - 1));
2207 int bytes = mtd->writesize;
2212 if (unlikely(column || writelen < (mtd->writesize - 1))) {
2216 memset(chip->buffers->databuf, 0xff, mtd->writesize);
2872 mtd->writesize = 2048 << (extid & 0x03);
2883 mtd->writesize = 1024 << (extid & 0x03);
2887 (mtd->writesize >> 9);
2900 mtd->writesize = type->pagesize;
2901 mtd->oobsize = mtd->writesize / 32;
2935 chip->page_shift = ffs(mtd->writesize) - 1;
2947 if (mtd->writesize > 512 || (busw & NAND_BUSWIDTH_16))
2982 (mtd->writesize == 2048 &&
2991 mtd->writesize == 2048) {
3003 if (mtd->writesize > 512 && chip->cmdfunc == nand_command)
3088 chip->oob_poi = chip->buffers->databuf + mtd->writesize;
3174 if (mtd->writesize >= chip->ecc.size)
3178 chip->ecc.size, mtd->writesize);
3205 chip->ecc.size = mtd->writesize;
3230 chip->ecc.steps = mtd->writesize / chip->ecc.size;
3231 if(chip->ecc.steps * chip->ecc.size != mtd->writesize) {
3254 chip->subpagesize = mtd->writesize >> mtd->subpage_sft;