Lines Matching refs:writesize
397 info->data_size = mtd->writesize; in pxa3xx_set_datasize()
782 info->buf_count = mtd->writesize + mtd->oobsize; in prepare_start_command()
820 info->buf_start += mtd->writesize; in prepare_set_command()
827 if (mtd->writesize == PAGE_CHUNK_SIZE) { in prepare_set_command()
829 } else if (mtd->writesize > PAGE_CHUNK_SIZE) { in prepare_set_command()
837 set_command_address(info, mtd->writesize, column, page_addr); in prepare_set_command()
843 set_command_address(info, mtd->writesize, 0, page_addr); in prepare_set_command()
849 if (mtd->writesize > PAGE_CHUNK_SIZE) { in prepare_set_command()
862 (mtd->writesize + mtd->oobsize))) { in prepare_set_command()
868 if (mtd->writesize > PAGE_CHUNK_SIZE) { in prepare_set_command()
1123 chip->write_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_write_page_hwecc()
1136 chip->read_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_read_page_hwecc()
1148 if (is_buf_blank(buf, mtd->writesize)) in pxa3xx_nand_read_page_hwecc()
1563 if (mtd->writesize > PAGE_CHUNK_SIZE) { in pxa3xx_nand_scan()
1588 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
1593 if (mtd->writesize >= 2048) in pxa3xx_nand_scan()
1602 info->buf_size = mtd->writesize + mtd->oobsize; in pxa3xx_nand_scan()
1606 info->oob_buff = info->data_buff + mtd->writesize; in pxa3xx_nand_scan()