Lines Matching refs:writesize
861 info->buf_count = mtd->writesize + mtd->oobsize; in prepare_start_command()
898 info->buf_start += mtd->writesize; in prepare_set_command()
919 } else if (mtd->writesize == info->chunk_size) { in prepare_set_command()
921 } else if (mtd->writesize > info->chunk_size) { in prepare_set_command()
929 set_command_address(info, mtd->writesize, column, page_addr); in prepare_set_command()
935 set_command_address(info, mtd->writesize, 0, page_addr); in prepare_set_command()
941 if (mtd->writesize > info->chunk_size) { in prepare_set_command()
952 (mtd->writesize + mtd->oobsize))) { in prepare_set_command()
966 if (mtd->writesize > info->chunk_size) { in prepare_set_command()
1257 chip->write_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_write_page_hwecc()
1271 chip->read_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_read_page_hwecc()
1285 bf = nand_check_erased_ecc_chunk(buf, mtd->writesize, in pxa3xx_nand_read_page_hwecc()
1301 if (is_buf_blank(buf, mtd->writesize)) in pxa3xx_nand_read_page_hwecc()
1490 info->reg_ndcr |= (mtd->writesize == 2048) ? NDCR_PAGE_SZ : 0; in pxa3xx_nand_config_tail()
1733 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
1742 if (mtd->writesize > info->chunk_size) { in pxa3xx_nand_scan()
1754 if (mtd->writesize >= 2048) in pxa3xx_nand_scan()
1763 info->buf_size = mtd->writesize + mtd->oobsize; in pxa3xx_nand_scan()
1767 info->oob_buff = info->data_buff + mtd->writesize; in pxa3xx_nand_scan()