Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/devfreq/
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()
856 tegra->emc_clock = devm_clk_get(&pdev->dev, "emc"); in tegra_devfreq_probe()
857 if (IS_ERR(tegra->emc_clock)) in tegra_devfreq_probe()
858 return dev_err_probe(&pdev->dev, PTR_ERR(tegra->emc_clock), in tegra_devfreq_probe()
893 rate = clk_round_rate(tegra->emc_clock, ULONG_MAX); in tegra_devfreq_probe()
921 tegra_devfreq_profile.initial_freq = clk_get_rate(tegra->emc_clock); in tegra_devfreq_probe()