Lines Matching refs:writesize
683 col = (int)(from & (mtd->writesize - 1));
689 bytes = min(mtd->writesize - col, readlen);
690 aligned = (bytes == mtd->writesize);
1085 W_REG(osh, &cc->nand_cmd_addr, offset + mtd->writesize - NFL_SECTOR_SIZE);
1299 int bytes = mtd->writesize;
1857 column += mtd->writesize;
1974 if (mtd->writesize > 512) {
1985 if (column >= mtd->writesize) {
1987 column -= mtd->writesize;
2373 mtd->writesize = info->pagesize;
2378 chip->page_shift = ffs(mtd->writesize) - 1;
2387 chip->badblockpos = (mtd->writesize > 512) ?
2417 if (mtd->writesize == 2048)
2421 mtd->writesize);
2431 mtd->writesize);
2483 chip->ecc.steps = mtd->writesize / chip->ecc.size;
2484 if (chip->ecc.steps * chip->ecc.size != mtd->writesize) {
2508 chip->subpagesize = mtd->writesize >> mtd->subpage_sft;