Lines Matching refs:debugfs
502 } debugfs; member
1182 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
1199 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
1212 *rate = emc->debugfs.max_rate; in tegra_emc_debug_max_rate_get()
1229 emc->debugfs.max_rate = rate; in tegra_emc_debug_max_rate_set()
1243 emc->debugfs.min_rate = ULONG_MAX; in emc_debugfs_init()
1244 emc->debugfs.max_rate = 0; in emc_debugfs_init()
1247 if (emc->timings[i].rate < emc->debugfs.min_rate) in emc_debugfs_init()
1248 emc->debugfs.min_rate = emc->timings[i].rate; in emc_debugfs_init()
1250 if (emc->timings[i].rate > emc->debugfs.max_rate) in emc_debugfs_init()
1251 emc->debugfs.max_rate = emc->timings[i].rate; in emc_debugfs_init()
1255 emc->debugfs.min_rate = clk_get_rate(emc->clk); in emc_debugfs_init()
1256 emc->debugfs.max_rate = emc->debugfs.min_rate; in emc_debugfs_init()
1259 err = clk_set_rate_range(emc->clk, emc->debugfs.min_rate, in emc_debugfs_init()
1260 emc->debugfs.max_rate); in emc_debugfs_init()
1263 emc->debugfs.min_rate, emc->debugfs.max_rate, in emc_debugfs_init()
1268 emc->debugfs.root = debugfs_create_dir("emc", NULL); in emc_debugfs_init()
1270 debugfs_create_file("available_rates", 0444, emc->debugfs.root, emc, in emc_debugfs_init()
1272 debugfs_create_file("min_rate", 0644, emc->debugfs.root, in emc_debugfs_init()
1274 debugfs_create_file("max_rate", 0644, emc->debugfs.root, in emc_debugfs_init()