Lines Matching refs:memory
53 /* The memory-mapped view of flash is 16 MiB long */
61 void __iomem *memory;
339 * temporarily disable (stall) memory accesses coming from the host CPU.
348 dev_warn(fiu->dev, "Failed to (un)stall host memory accesses: %d\n", res);
392 /* Don't read past the memory window */
409 if (!fiu->memory || offs >= fiu->memory_size)
413 memcpy_fromio(buf, fiu->memory + offs, len);
428 /* Configure memory-mapped flash access */
462 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "memory");
463 fiu->memory = devm_ioremap_resource(dev, res);
465 if (IS_ERR(fiu->memory)) {
466 dev_err(dev, "Failed to map flash memory window\n");
467 return PTR_ERR(fiu->memory);