Lines Matching defs: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)
88 if (phram->cached)
95 phram->mtd.priv = addr;
100 static void phram_unmap(struct phram_mtd_list *phram)
102 void *addr = phram->mtd.priv;
104 if (phram->cached) {
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
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);
395 mtd_device_unregister(&phram->mtd);
396 phram_unmap(phram);
397 kfree(phram);
406 .name = "phram",