Searched refs:curr_erasesize (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/
H A Dmtdconcat.c685 uint32_t max_erasesize, curr_erasesize; mtd_concat_create() local
801 max_erasesize = curr_erasesize = subdev[0]->erasesize; mtd_concat_create()
806 if (subdev[i]->erasesize != curr_erasesize) { mtd_concat_create()
809 curr_erasesize = subdev[i]->erasesize; mtd_concat_create()
810 if (curr_erasesize > max_erasesize) mtd_concat_create()
811 max_erasesize = curr_erasesize; mtd_concat_create()
820 curr_erasesize) { mtd_concat_create()
822 curr_erasesize = mtd_concat_create()
825 if (curr_erasesize > max_erasesize) mtd_concat_create()
826 max_erasesize = curr_erasesize; mtd_concat_create()
837 concat->mtd.erasesize = curr_erasesize; mtd_concat_create()
866 curr_erasesize = subdev[0]->erasesize; mtd_concat_create()
871 if (subdev[i]->erasesize != curr_erasesize) { mtd_concat_create()
878 curr_erasesize; mtd_concat_create()
880 do_div(tmp64, curr_erasesize); mtd_concat_create()
884 curr_erasesize = subdev[i]->erasesize; mtd_concat_create()
894 erasesize != curr_erasesize) { mtd_concat_create()
897 curr_erasesize; mtd_concat_create()
899 do_div(tmp64, curr_erasesize); mtd_concat_create()
903 curr_erasesize = mtd_concat_create()
910 numblocks * (uint64_t)curr_erasesize; mtd_concat_create()
916 erase_region_p->erasesize = curr_erasesize; mtd_concat_create()
918 do_div(tmp64, curr_erasesize); mtd_concat_create()

Completed in 34 milliseconds