Home
last modified time | relevance | path

Searched refs:flash_base (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/mtd/parsers/
Dredboot.c21 u32 flash_base; // Address within FLASH of image member
170 swab32s(&buf[j].flash_base); in parse_redboot_partitions()
214 buf[i].flash_base -= data->origin; in parse_redboot_partitions()
216 buf[i].flash_base &= master->size - 1; in parse_redboot_partitions()
222 while (*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
230 if (fl->img->flash_base) { in parse_redboot_partitions()
236 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
259 if (fl->img->flash_base) { in parse_redboot_partitions()
261 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
268 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
[all …]
/linux-6.1.9/arch/mips/ath25/
Dboard.c104 const void __iomem *flash_base, *flash_limit; in ath25_find_config() local
114 flash_base = ioremap(base, size); in ath25_find_config()
115 flash_limit = flash_base + size; in ath25_find_config()
179 iounmap(flash_base); in ath25_find_config()
184 iounmap(flash_base); in ath25_find_config()
/linux-6.1.9/drivers/mtd/spi-nor/controllers/
Dnxp-spifi.c58 void __iomem *flash_base; member
183 memcpy_fromio(buf, spifi->flash_base + from, len); in nxp_spifi_read()
394 spifi->flash_base = devm_platform_ioremap_resource_byname(pdev, "flash"); in nxp_spifi_probe()
395 if (IS_ERR(spifi->flash_base)) in nxp_spifi_probe()
396 return PTR_ERR(spifi->flash_base); in nxp_spifi_probe()