Lines Matching refs:writesize
188 if (mtd->writesize > 512 && in cafe_nand_cmdfunc()
190 column += mtd->writesize; in cafe_nand_cmdfunc()
208 if (mtd->size > mtd->writesize << 16) in cafe_nand_cmdfunc()
228 cafe->datalen = mtd->writesize + mtd->oobsize - column; in cafe_nand_cmdfunc()
247 else if (command == NAND_CMD_READ0 && mtd->writesize > 512) in cafe_nand_cmdfunc()
352 return nand_prog_page_op(chip, page, mtd->writesize, chip->oob_poi, in cafe_nand_write_oob()
382 nand_read_page_op(chip, page, 0, buf, mtd->writesize); in cafe_nand_read_page()
541 nand_prog_page_begin_op(chip, page, 0, buf, mtd->writesize); in cafe_nand_write_page_lowlevel()
619 if (mtd->writesize == 2048) in cafe_nand_attach_chip()
624 if (mtd->writesize == 2048) { in cafe_nand_attach_chip()
627 } else if (mtd->writesize == 512) { in cafe_nand_attach_chip()
633 mtd->writesize); in cafe_nand_attach_chip()
639 cafe->nand.ecc.size = mtd->writesize; in cafe_nand_attach_chip()