Lines Matching refs:writesize
833 info->buf_count = mtd->writesize + mtd->oobsize; in prepare_start_command()
870 info->buf_start += mtd->writesize; in prepare_set_command()
891 } else if (mtd->writesize == info->chunk_size) { in prepare_set_command()
893 } else if (mtd->writesize > info->chunk_size) { in prepare_set_command()
901 set_command_address(info, mtd->writesize, column, page_addr); in prepare_set_command()
907 set_command_address(info, mtd->writesize, 0, page_addr); in prepare_set_command()
913 if (mtd->writesize > info->chunk_size) { in prepare_set_command()
924 (mtd->writesize + mtd->oobsize))) { in prepare_set_command()
938 if (mtd->writesize > info->chunk_size) { in prepare_set_command()
1229 chip->write_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_write_page_hwecc()
1243 chip->read_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_read_page_hwecc()
1257 bf = nand_check_erased_ecc_chunk(buf, mtd->writesize, in pxa3xx_nand_read_page_hwecc()
1273 if (is_buf_blank(buf, mtd->writesize)) in pxa3xx_nand_read_page_hwecc()
1462 info->reg_ndcr |= (mtd->writesize == 2048) ? NDCR_PAGE_SZ : 0; in pxa3xx_nand_config_tail()
1705 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
1714 if (mtd->writesize > info->chunk_size) { in pxa3xx_nand_scan()
1725 if (mtd->writesize >= 2048) in pxa3xx_nand_scan()
1734 info->buf_size = mtd->writesize + mtd->oobsize; in pxa3xx_nand_scan()
1738 info->oob_buff = info->data_buff + mtd->writesize; in pxa3xx_nand_scan()