Lines Matching full:phram
9 * phram=<name>,<start>,<len>[,<erasesize>]
16 * phram=swap,64Mi,128Mi phram=test,900Mi,1Mi,64Ki
84 static int phram_map(struct phram_mtd_list *phram, phys_addr_t start, size_t len) in phram_map() argument
88 if (phram->cached) in phram_map()
95 phram->mtd.priv = addr; in phram_map()
100 static void phram_unmap(struct phram_mtd_list *phram) in phram_unmap() argument
102 void *addr = phram->mtd.priv; in phram_unmap()
104 if (phram->cached) { in phram_unmap()
250 * - phram=<device>,<address>,<size>[,<erasesize>] for module case
251 * - phram.phram=<device>,<address>,<size>[,<erasesize>] for built-in case
254 * Example: phram.phram=rootfs,0xa0000000,512Mi,65536
342 * /sys/module/phram/parameters/phram in phram_param_call()
367 module_param_call(phram, phram_param_call, NULL, NULL, 0200);
368 MODULE_PARM_DESC(phram, "Memory region to map. \"phram=<name>,<start>,<length>[,<erasesize>]\"");
372 { .compatible = "phram" },
393 struct phram_mtd_list *phram = platform_get_drvdata(pdev); in phram_remove() local
395 mtd_device_unregister(&phram->mtd); in phram_remove()
396 phram_unmap(phram); in phram_remove()
397 kfree(phram); in phram_remove()
404 .name = "phram",