Lines Matching refs:curr_erasesize
645 uint32_t max_erasesize, curr_erasesize; in mtd_concat_create() local
775 max_erasesize = curr_erasesize = subdev[0]->erasesize; in mtd_concat_create()
780 if (subdev[i]->erasesize != curr_erasesize) { in mtd_concat_create()
783 curr_erasesize = subdev[i]->erasesize; in mtd_concat_create()
784 if (curr_erasesize > max_erasesize) in mtd_concat_create()
785 max_erasesize = curr_erasesize; in mtd_concat_create()
794 curr_erasesize) { in mtd_concat_create()
796 curr_erasesize = in mtd_concat_create()
799 if (curr_erasesize > max_erasesize) in mtd_concat_create()
800 max_erasesize = curr_erasesize; in mtd_concat_create()
811 concat->mtd.erasesize = curr_erasesize; in mtd_concat_create()
841 curr_erasesize = subdev[0]->erasesize; in mtd_concat_create()
846 if (subdev[i]->erasesize != curr_erasesize) { in mtd_concat_create()
853 curr_erasesize; in mtd_concat_create()
855 do_div(tmp64, curr_erasesize); in mtd_concat_create()
859 curr_erasesize = subdev[i]->erasesize; in mtd_concat_create()
869 erasesize != curr_erasesize) { in mtd_concat_create()
872 curr_erasesize; in mtd_concat_create()
874 do_div(tmp64, curr_erasesize); in mtd_concat_create()
878 curr_erasesize = in mtd_concat_create()
885 numblocks * (uint64_t)curr_erasesize; in mtd_concat_create()
891 erase_region_p->erasesize = curr_erasesize; in mtd_concat_create()
893 do_div(tmp64, curr_erasesize); in mtd_concat_create()