Lines Matching refs:erasesize
399 if (instr->addr & (concat->mtd.erasesize - 1)) in concat_erase()
401 if (instr->len & (concat->mtd.erasesize - 1)) in concat_erase()
420 if (i < 0 || instr->addr & (erase_regions[i].erasesize - 1)) in concat_erase()
434 (erase_regions[i].erasesize - 1))) in concat_erase()
726 concat->mtd.erasesize = subdev[0]->erasesize; in mtd_concat_create()
833 max_erasesize = curr_erasesize = subdev[0]->erasesize; in mtd_concat_create()
838 if (subdev[i]->erasesize != curr_erasesize) { in mtd_concat_create()
841 curr_erasesize = subdev[i]->erasesize; in mtd_concat_create()
851 if (subdev[i]->eraseregions[j].erasesize != in mtd_concat_create()
856 erasesize; in mtd_concat_create()
869 concat->mtd.erasesize = curr_erasesize; in mtd_concat_create()
881 concat->mtd.erasesize = max_erasesize; in mtd_concat_create()
898 curr_erasesize = subdev[0]->erasesize; in mtd_concat_create()
903 if (subdev[i]->erasesize != curr_erasesize) { in mtd_concat_create()
909 erase_region_p->erasesize = in mtd_concat_create()
916 curr_erasesize = subdev[i]->erasesize; in mtd_concat_create()
926 erasesize != curr_erasesize) { in mtd_concat_create()
928 erase_region_p->erasesize = in mtd_concat_create()
937 erasesize; in mtd_concat_create()
948 erase_region_p->erasesize = curr_erasesize; in mtd_concat_create()