Lines Matching refs:ebnum
43 static int multiblock_erase(int ebnum, int blocks) in multiblock_erase() argument
47 loff_t addr = (loff_t)ebnum * mtd->erasesize; in multiblock_erase()
56 err, ebnum, blocks); in multiblock_erase()
63 static int write_eraseblock(int ebnum) in write_eraseblock() argument
65 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock()
70 static int write_eraseblock_by_page(int ebnum) in write_eraseblock_by_page() argument
73 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_page()
87 static int write_eraseblock_by_2pages(int ebnum) in write_eraseblock_by_2pages() argument
91 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_2pages()
107 static int read_eraseblock(int ebnum) in read_eraseblock() argument
109 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock()
114 static int read_eraseblock_by_page(int ebnum) in read_eraseblock_by_page() argument
117 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_page()
131 static int read_eraseblock_by_2pages(int ebnum) in read_eraseblock_by_2pages() argument
135 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_2pages()