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

/linux-4.1.27/drivers/mtd/
H A Dmtdconcat.c397 struct mtd_erase_region_info *erase_regions = concat_erase() local
404 instr->addr >= erase_regions[i].offset; i++) ; concat_erase()
408 * Now erase_regions[i] is the region in which the concat_erase()
412 if (i < 0 || instr->addr & (erase_regions[i].erasesize - 1)) concat_erase()
419 (instr->addr + instr->len) >= erase_regions[i].offset; concat_erase()
426 (erase_regions[i].erasesize - 1))) concat_erase()
/linux-4.1.27/drivers/mtd/devices/
H A Dlart.c571 static struct mtd_erase_region_info erase_regions[] = { variable in typeref:struct:mtd_erase_region_info
627 mtd.numeraseregions = ARRAY_SIZE(erase_regions); lart_flash_init()
628 mtd.eraseregions = erase_regions; lart_flash_init()

Completed in 92 milliseconds