Lines Matching refs:curr_erasesize
603 uint32_t max_erasesize, curr_erasesize; in mtd_concat_create() local
719 max_erasesize = curr_erasesize = subdev[0]->erasesize; in mtd_concat_create()
724 if (subdev[i]->erasesize != curr_erasesize) { in mtd_concat_create()
727 curr_erasesize = subdev[i]->erasesize; in mtd_concat_create()
728 if (curr_erasesize > max_erasesize) in mtd_concat_create()
729 max_erasesize = curr_erasesize; in mtd_concat_create()
738 curr_erasesize) { in mtd_concat_create()
740 curr_erasesize = in mtd_concat_create()
743 if (curr_erasesize > max_erasesize) in mtd_concat_create()
744 max_erasesize = curr_erasesize; in mtd_concat_create()
755 concat->mtd.erasesize = curr_erasesize; in mtd_concat_create()
785 curr_erasesize = subdev[0]->erasesize; in mtd_concat_create()
790 if (subdev[i]->erasesize != curr_erasesize) { in mtd_concat_create()
797 curr_erasesize; in mtd_concat_create()
799 do_div(tmp64, curr_erasesize); in mtd_concat_create()
803 curr_erasesize = subdev[i]->erasesize; in mtd_concat_create()
813 erasesize != curr_erasesize) { in mtd_concat_create()
816 curr_erasesize; in mtd_concat_create()
818 do_div(tmp64, curr_erasesize); in mtd_concat_create()
822 curr_erasesize = in mtd_concat_create()
829 numblocks * (uint64_t)curr_erasesize; in mtd_concat_create()
835 erase_region_p->erasesize = curr_erasesize; in mtd_concat_create()
837 do_div(tmp64, curr_erasesize); in mtd_concat_create()