Lines Matching refs:pgsize
37 static int pgsize; variable
77 err = mtdtest_write(mtd, addr, pgsize, buf); in write_eraseblock_by_page()
80 addr += pgsize; in write_eraseblock_by_page()
81 buf += pgsize; in write_eraseblock_by_page()
89 size_t sz = pgsize * 2; in write_eraseblock_by_2pages()
102 err = mtdtest_write(mtd, addr, pgsize, buf); in write_eraseblock_by_2pages()
121 err = mtdtest_read(mtd, addr, pgsize, buf); in read_eraseblock_by_page()
124 addr += pgsize; in read_eraseblock_by_page()
125 buf += pgsize; in read_eraseblock_by_page()
133 size_t sz = pgsize * 2; in read_eraseblock_by_2pages()
146 err = mtdtest_read(mtd, addr, pgsize, buf); in read_eraseblock_by_2pages()
204 pgsize = 512; in mtd_speedtest_init()
206 pgsize = mtd->writesize; in mtd_speedtest_init()
211 pgcnt = mtd->erasesize / pgsize; in mtd_speedtest_init()
217 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_speedtest_init()