Searched refs:erase_regions (Results 1 – 2 of 2) sorted by relevance
565 static struct mtd_erase_region_info erase_regions[] = { variable621 mtd.numeraseregions = ARRAY_SIZE(erase_regions); in lart_flash_init()622 mtd.eraseregions = erase_regions; in lart_flash_init()
358 struct mtd_erase_region_info *erase_regions = in concat_erase() local365 instr->addr >= erase_regions[i].offset; i++) ; in concat_erase()373 if (i < 0 || instr->addr & (erase_regions[i].erasesize - 1)) in concat_erase()380 (instr->addr + instr->len) >= erase_regions[i].offset; in concat_erase()387 (erase_regions[i].erasesize - 1))) in concat_erase()