Lines Matching refs:min_rate

351 	unsigned long min_rate;  member
382 unsigned long min_rate; member
1191 unsigned long min_rate, in emc_round_rate() argument
1202 min_rate = min(min_rate, emc->timings[emc->num_timings - 1].rate); in emc_round_rate()
1211 if (emc->timings[i].rate < min_rate) in emc_round_rate()
1215 if (emc->timings[i].rate < min_rate) in emc_round_rate()
1224 rate, min_rate, max_rate); in emc_round_rate()
1236 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()
1247 unsigned long min_rate = 0, max_rate = ULONG_MAX; in emc_request_rate() local
1254 min_rate = max(new_min_rate, min_rate); in emc_request_rate()
1257 min_rate = max(req->min_rate, min_rate); in emc_request_rate()
1262 if (min_rate > max_rate) { in emc_request_rate()
1264 __func__, type, min_rate, max_rate); in emc_request_rate()
1272 err = dev_pm_opp_set_rate(emc->dev, min_rate); in emc_request_rate()
1276 emc->requested_rate[type].min_rate = new_min_rate; in emc_request_rate()
1302 ret = emc_request_rate(emc, req->min_rate, rate, type); in emc_set_max_rate()
1365 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
1382 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
1427 emc->debugfs.min_rate = ULONG_MAX; in tegra_emc_debugfs_init()
1431 if (emc->timings[i].rate < emc->debugfs.min_rate) in tegra_emc_debugfs_init()
1432 emc->debugfs.min_rate = emc->timings[i].rate; in tegra_emc_debugfs_init()
1439 emc->debugfs.min_rate = clk_get_rate(emc->clk); in tegra_emc_debugfs_init()
1440 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra_emc_debugfs_init()
1443 err = clk_set_rate_range(emc->clk, emc->debugfs.min_rate, in tegra_emc_debugfs_init()
1447 emc->debugfs.min_rate, emc->debugfs.max_rate, in tegra_emc_debugfs_init()