Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c402 struct mtd_erase_region_info *erase_regions = in concat_erase() local
409 instr->addr >= erase_regions[i].offset; i++) ; in concat_erase()
417 if (i < 0 || instr->addr & (erase_regions[i].erasesize - 1)) in concat_erase()
424 (instr->addr + instr->len) >= erase_regions[i].offset; in concat_erase()
431 (erase_regions[i].erasesize - 1))) in concat_erase()
/openbmc/linux/drivers/mtd/
H A Dmtdconcat.c385 struct mtd_erase_region_info *erase_regions = in concat_erase() local
392 instr->addr >= erase_regions[i].offset; i++) ; in concat_erase()
400 if (i < 0 || instr->addr & (erase_regions[i].erasesize - 1)) in concat_erase()
407 (instr->addr + instr->len) >= erase_regions[i].offset; in concat_erase()
414 (erase_regions[i].erasesize - 1))) in concat_erase()