Lines Matching refs:min_rate

193 	unsigned long min_rate;  member
211 unsigned long min_rate; member
676 unsigned long min_rate, in emc_round_rate() argument
687 min_rate = min(min_rate, emc->timings[emc->num_timings - 1].rate); in emc_round_rate()
696 if (emc->timings[i].rate < min_rate) in emc_round_rate()
700 if (emc->timings[i].rate < min_rate) in emc_round_rate()
709 rate, min_rate, max_rate); in emc_round_rate()
721 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()
732 unsigned long min_rate = 0, max_rate = ULONG_MAX; in emc_request_rate() local
739 min_rate = max(new_min_rate, min_rate); in emc_request_rate()
742 min_rate = max(req->min_rate, min_rate); in emc_request_rate()
747 if (min_rate > max_rate) { in emc_request_rate()
749 __func__, type, min_rate, max_rate); in emc_request_rate()
757 err = dev_pm_opp_set_rate(emc->dev, min_rate); in emc_request_rate()
761 emc->requested_rate[type].min_rate = new_min_rate; in emc_request_rate()
787 ret = emc_request_rate(emc, req->min_rate, rate, type); in emc_set_max_rate()
863 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
880 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
925 emc->debugfs.min_rate = ULONG_MAX; in tegra_emc_debugfs_init()
929 if (emc->timings[i].rate < emc->debugfs.min_rate) in tegra_emc_debugfs_init()
930 emc->debugfs.min_rate = emc->timings[i].rate; in tegra_emc_debugfs_init()
937 emc->debugfs.min_rate = clk_get_rate(emc->clk); in tegra_emc_debugfs_init()
938 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra_emc_debugfs_init()
941 err = clk_set_rate_range(emc->clk, emc->debugfs.min_rate, in tegra_emc_debugfs_init()
945 emc->debugfs.min_rate, emc->debugfs.max_rate, in tegra_emc_debugfs_init()