Lines Matching refs:debugfs

33 	} debugfs;  member
97 *rate = emc->debugfs.min_rate; in tegra186_emc_debug_min_rate_get()
114 emc->debugfs.min_rate = rate; in tegra186_emc_debug_min_rate_set()
127 *rate = emc->debugfs.max_rate; in tegra186_emc_debug_max_rate_get()
144 emc->debugfs.max_rate = rate; in tegra186_emc_debug_max_rate_set()
177 emc->debugfs.min_rate = ULONG_MAX; in tegra186_emc_get_emc_dvfs_latency()
178 emc->debugfs.max_rate = 0; in tegra186_emc_get_emc_dvfs_latency()
192 if (emc->dvfs[i].rate < emc->debugfs.min_rate) in tegra186_emc_get_emc_dvfs_latency()
193 emc->debugfs.min_rate = emc->dvfs[i].rate; in tegra186_emc_get_emc_dvfs_latency()
195 if (emc->dvfs[i].rate > emc->debugfs.max_rate) in tegra186_emc_get_emc_dvfs_latency()
196 emc->debugfs.max_rate = emc->dvfs[i].rate; in tegra186_emc_get_emc_dvfs_latency()
202 err = clk_set_rate_range(emc->clk, emc->debugfs.min_rate, emc->debugfs.max_rate); in tegra186_emc_get_emc_dvfs_latency()
205 emc->debugfs.min_rate, emc->debugfs.max_rate, emc->clk); in tegra186_emc_get_emc_dvfs_latency()
209 emc->debugfs.root = debugfs_create_dir("emc", NULL); in tegra186_emc_get_emc_dvfs_latency()
210 debugfs_create_file("available_rates", 0444, emc->debugfs.root, emc, in tegra186_emc_get_emc_dvfs_latency()
212 debugfs_create_file("min_rate", 0644, emc->debugfs.root, emc, in tegra186_emc_get_emc_dvfs_latency()
214 debugfs_create_file("max_rate", 0644, emc->debugfs.root, emc, in tegra186_emc_get_emc_dvfs_latency()
381 debugfs_remove_recursive(emc->debugfs.root); in tegra186_emc_remove()