emc_clock 33 drivers/devfreq/tegra20-devfreq.c struct clk *emc_clock; emc_clock 53 drivers/devfreq/tegra20-devfreq.c err = clk_set_min_rate(tegra->emc_clock, rate); emc_clock 57 drivers/devfreq/tegra20-devfreq.c err = clk_set_rate(tegra->emc_clock, 0); emc_clock 64 drivers/devfreq/tegra20-devfreq.c clk_set_min_rate(tegra->emc_clock, devfreq->previous_freq); emc_clock 86 drivers/devfreq/tegra20-devfreq.c stat->current_frequency = clk_get_rate(tegra->emc_clock); emc_clock 143 drivers/devfreq/tegra20-devfreq.c tegra->emc_clock = devm_clk_get(&pdev->dev, "emc"); emc_clock 144 drivers/devfreq/tegra20-devfreq.c if (IS_ERR(tegra->emc_clock)) { emc_clock 145 drivers/devfreq/tegra20-devfreq.c err = PTR_ERR(tegra->emc_clock); emc_clock 152 drivers/devfreq/tegra20-devfreq.c max_rate = clk_round_rate(tegra->emc_clock, ULONG_MAX); emc_clock 155 drivers/devfreq/tegra20-devfreq.c rate = clk_round_rate(tegra->emc_clock, rate); emc_clock 156 drivers/devfreq/tegra30-devfreq.c struct clk *emc_clock; emc_clock 466 drivers/devfreq/tegra30-devfreq.c err = clk_set_min_rate(tegra->emc_clock, rate); emc_clock 470 drivers/devfreq/tegra30-devfreq.c err = clk_set_rate(tegra->emc_clock, 0); emc_clock 477 drivers/devfreq/tegra30-devfreq.c clk_set_min_rate(tegra->emc_clock, devfreq->previous_freq); emc_clock 615 drivers/devfreq/tegra30-devfreq.c tegra->emc_clock = devm_clk_get(&pdev->dev, "emc"); emc_clock 616 drivers/devfreq/tegra30-devfreq.c if (IS_ERR(tegra->emc_clock)) { emc_clock 618 drivers/devfreq/tegra30-devfreq.c return PTR_ERR(tegra->emc_clock); emc_clock 639 drivers/devfreq/tegra30-devfreq.c tegra->max_freq = clk_round_rate(tegra->emc_clock, ULONG_MAX) / KHZ; emc_clock 640 drivers/devfreq/tegra30-devfreq.c tegra->cur_freq = clk_get_rate(tegra->emc_clock) / KHZ; emc_clock 649 drivers/devfreq/tegra30-devfreq.c rate = clk_round_rate(tegra->emc_clock, rate); emc_clock 661 drivers/devfreq/tegra30-devfreq.c err = clk_notifier_register(tegra->emc_clock, &tegra->rate_change_nb); emc_clock 674 drivers/devfreq/tegra30-devfreq.c tegra_devfreq_profile.initial_freq = clk_get_rate(tegra->emc_clock); emc_clock 701 drivers/devfreq/tegra30-devfreq.c clk_notifier_unregister(tegra->emc_clock, &tegra->rate_change_nb); emc_clock 719 drivers/devfreq/tegra30-devfreq.c clk_notifier_unregister(tegra->emc_clock, &tegra->rate_change_nb);