Lines Matching full:emc
8 #include "tegra210-emc.h"
15 struct tegra210_emc *emc = dev_get_drvdata(dev); in tegra210_emc_table_device_init() local
21 dev_err(dev, "failed to map EMC table\n"); in tegra210_emc_table_device_init()
35 if (emc->derated) { in tegra210_emc_table_device_init()
36 dev_warn(dev, "excess EMC table '%s'\n", rmem->name); in tegra210_emc_table_device_init()
40 if (emc->nominal) { in tegra210_emc_table_device_init()
41 if (count != emc->num_timings) { in tegra210_emc_table_device_init()
43 count, emc->num_timings); in tegra210_emc_table_device_init()
48 emc->derated = timings; in tegra210_emc_table_device_init()
50 emc->num_timings = count; in tegra210_emc_table_device_init()
51 emc->nominal = timings; in tegra210_emc_table_device_init()
65 struct tegra210_emc *emc = dev_get_drvdata(dev); in tegra210_emc_table_device_release() local
67 if ((emc->nominal && timings != emc->nominal) && in tegra210_emc_table_device_release()
68 (emc->derated && timings != emc->derated)) in tegra210_emc_table_device_release()
69 dev_warn(dev, "trying to release unassigned EMC table '%s'\n", in tegra210_emc_table_device_release()
82 pr_debug("Tegra210 EMC table at %pa, size %lu bytes\n", &rmem->base, in tegra210_emc_table_init()
89 RESERVEDMEM_OF_DECLARE(tegra210_emc_table, "nvidia,tegra210-emc-table",