Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/devices/
Dlart.c565 static struct mtd_erase_region_info erase_regions[] = { variable
621 mtd.numeraseregions = ARRAY_SIZE(erase_regions); in lart_flash_init()
622 mtd.eraseregions = erase_regions; in lart_flash_init()
/Linux-v4.19/drivers/mtd/
Dmtdconcat.c358 struct mtd_erase_region_info *erase_regions = in concat_erase() local
365 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()