Lines Matching refs:pgsize
49 static int pgsize; variable
89 err = mtdtest_write(mtd, addr, pgsize, buf); in write_eraseblock_by_page()
92 addr += pgsize; in write_eraseblock_by_page()
93 buf += pgsize; in write_eraseblock_by_page()
101 size_t sz = pgsize * 2; in write_eraseblock_by_2pages()
114 err = mtdtest_write(mtd, addr, pgsize, buf); in write_eraseblock_by_2pages()
133 err = mtdtest_read(mtd, addr, pgsize, buf); in read_eraseblock_by_page()
136 addr += pgsize; in read_eraseblock_by_page()
137 buf += pgsize; in read_eraseblock_by_page()
145 size_t sz = pgsize * 2; in read_eraseblock_by_2pages()
158 err = mtdtest_read(mtd, addr, pgsize, buf); in read_eraseblock_by_2pages()
216 pgsize = 512; in mtd_speedtest_init()
218 pgsize = mtd->writesize; in mtd_speedtest_init()
223 pgcnt = mtd->erasesize / pgsize; in mtd_speedtest_init()
229 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_speedtest_init()