Home
last modified time | relevance | path

Searched refs:emc_clock (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/devfreq/
H A Dtegra30-devfreq.c186 struct clk *emc_clock; member
559 err = clk_notifier_register(tegra->emc_clock, in tegra_actmon_resume()
567 tegra->cur_freq = clk_get_rate(tegra->emc_clock) / KHZ; in tegra_actmon_resume()
594 clk_notifier_unregister(tegra->emc_clock, &tegra->clk_rate_change_nb); in tegra_actmon_resume()
628 clk_notifier_unregister(tegra->emc_clock, &tegra->clk_rate_change_nb); in tegra_actmon_pause()
872 tegra->emc_clock = devm_clk_get(&pdev->dev, "emc"); in tegra_devfreq_probe()
873 if (IS_ERR(tegra->emc_clock)) in tegra_devfreq_probe()
874 return dev_err_probe(&pdev->dev, PTR_ERR(tegra->emc_clock), in tegra_devfreq_probe()
909 rate = clk_round_rate(tegra->emc_clock, ULONG_MAX); in tegra_devfreq_probe()
937 tegra_devfreq_profile.initial_freq = clk_get_rate(tegra->emc_clock); in tegra_devfreq_probe()