Lines Matching refs:writesize
544 info->data_size = mtd->writesize; in pxa3xx_set_datasize()
937 info->buf_count = mtd->writesize + mtd->oobsize; in prepare_start_command()
975 info->buf_start += mtd->writesize; in prepare_set_command()
982 if (mtd->writesize == PAGE_CHUNK_SIZE) { in prepare_set_command()
984 } else if (mtd->writesize > PAGE_CHUNK_SIZE) { in prepare_set_command()
992 set_command_address(info, mtd->writesize, column, page_addr); in prepare_set_command()
998 set_command_address(info, mtd->writesize, 0, page_addr); in prepare_set_command()
1004 if (mtd->writesize > PAGE_CHUNK_SIZE) { in prepare_set_command()
1017 (mtd->writesize + mtd->oobsize))) { in prepare_set_command()
1023 if (mtd->writesize > PAGE_CHUNK_SIZE) { in prepare_set_command()
1279 chip->write_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_write_page_hwecc()
1292 chip->read_buf(mtd, buf, mtd->writesize); in pxa3xx_nand_read_page_hwecc()
1304 if (is_buf_blank(buf, mtd->writesize)) in pxa3xx_nand_read_page_hwecc()
1405 info->reg_ndcr |= (mtd->writesize == 2048) ? NDCR_PAGE_SZ : 0; in pxa3xx_nand_config_flash()
1646 if (mtd->writesize > PAGE_CHUNK_SIZE) { in pxa3xx_nand_scan()
1671 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
1676 if (mtd->writesize >= 2048) in pxa3xx_nand_scan()
1685 info->buf_size = mtd->writesize + mtd->oobsize; in pxa3xx_nand_scan()
1689 info->oob_buff = info->data_buff + mtd->writesize; in pxa3xx_nand_scan()