Lines Matching refs:writesize
204 iowrite32(mtd->writesize, denali->reg + DEVICE_MAIN_AREA_SIZE); in denali_select_target()
247 int writesize = mtd->writesize; in denali_payload_xfer() local
255 if (pos >= writesize) { in denali_payload_xfer()
257 } else if (pos + len > writesize) { in denali_payload_xfer()
260 writesize - pos, write); in denali_payload_xfer()
264 buf += writesize - pos; in denali_payload_xfer()
265 len -= writesize - pos; in denali_payload_xfer()
266 pos = writesize + oob_skip; in denali_payload_xfer()
284 int writesize = mtd->writesize; in denali_oob_xfer() local
290 ret = denali_change_column(chip, writesize, buf, oob_skip, write); in denali_oob_xfer()
301 len = writesize + oobsize - pos - oob_skip; in denali_oob_xfer()
305 if (pos >= writesize) { in denali_oob_xfer()
307 } else if (pos + len > writesize) { in denali_oob_xfer()
310 writesize - pos, write); in denali_oob_xfer()
314 buf += writesize - pos; in denali_oob_xfer()
315 len -= writesize - pos; in denali_oob_xfer()
316 pos = writesize + oob_skip; in denali_oob_xfer()
732 ret = denali_page_xfer(chip, buf, mtd->writesize, page, false); in denali_read_page()
761 return denali_page_xfer(chip, (void *)buf, mtd->writesize, page, true); in denali_write_page()
997 mtd->writesize <<= 1; in denali_multidev_fixup()