Lines Matching refs:max_rate
173 unsigned long max_rate; member
191 unsigned long max_rate; member
506 unsigned long max_rate, in emc_round_rate() argument
522 if (emc->timings[i].rate > max_rate) { in emc_round_rate()
538 rate, min_rate, max_rate); in emc_round_rate()
551 emc->requested_rate[i].max_rate = ULONG_MAX; in tegra_emc_rate_requests_init()
561 unsigned long min_rate = 0, max_rate = ULONG_MAX; in emc_request_rate() local
569 max_rate = min(new_max_rate, max_rate); in emc_request_rate()
572 max_rate = min(req->max_rate, max_rate); in emc_request_rate()
576 if (min_rate > max_rate) { in emc_request_rate()
578 __func__, type, min_rate, max_rate); in emc_request_rate()
591 emc->requested_rate[type].max_rate = new_max_rate; in emc_request_rate()
603 ret = emc_request_rate(emc, rate, req->max_rate, type); in emc_set_min_rate()
722 *rate = emc->debugfs.max_rate; in tegra_emc_debug_max_rate_get()
739 emc->debugfs.max_rate = rate; in tegra_emc_debug_max_rate_set()
755 emc->debugfs.max_rate = 0; in tegra_emc_debugfs_init()
761 if (emc->timings[i].rate > emc->debugfs.max_rate) in tegra_emc_debugfs_init()
762 emc->debugfs.max_rate = emc->timings[i].rate; in tegra_emc_debugfs_init()
767 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra_emc_debugfs_init()
771 emc->debugfs.max_rate); in tegra_emc_debugfs_init()
774 emc->debugfs.min_rate, emc->debugfs.max_rate, in tegra_emc_debugfs_init()