Lines Matching refs:tegra_emc

176 struct tegra_emc {  struct
208 struct tegra_emc *emc = data; in tegra_emc_isr() argument
227 static struct emc_timing *tegra_emc_find_timing(struct tegra_emc *emc, in tegra_emc_find_timing()
248 static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate) in emc_prepare_timing_change()
270 static int emc_complete_timing_change(struct tegra_emc *emc, bool flush) in emc_complete_timing_change()
298 struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); in tegra_emc_clk_change_notify()
326 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
381 static int tegra_emc_load_timings_from_dt(struct tegra_emc *emc, in tegra_emc_load_timings_from_dt()
458 static int emc_setup_hw(struct tegra_emc *emc) in emc_setup_hw()
510 struct tegra_emc *emc = arg; in emc_round_rate()
545 static void tegra_emc_rate_requests_init(struct tegra_emc *emc) in tegra_emc_rate_requests_init()
555 static int emc_request_rate(struct tegra_emc *emc, in emc_request_rate()
596 static int emc_set_min_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_min_rate()
609 static int emc_set_max_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_max_rate()
647 static bool tegra_emc_validate_rate(struct tegra_emc *emc, unsigned long rate) in tegra_emc_validate_rate()
660 struct tegra_emc *emc = s->private; in tegra_emc_debug_available_rates_show()
690 struct tegra_emc *emc = data; in tegra_emc_debug_min_rate_get()
699 struct tegra_emc *emc = data; in tegra_emc_debug_min_rate_set()
720 struct tegra_emc *emc = data; in tegra_emc_debug_max_rate_get()
729 struct tegra_emc *emc = data; in tegra_emc_debug_max_rate_set()
748 static void tegra_emc_debugfs_init(struct tegra_emc *emc) in tegra_emc_debugfs_init()
788 static inline struct tegra_emc *
791 return container_of(provider, struct tegra_emc, provider); in to_tegra_emc_provider()
825 struct tegra_emc *emc = to_tegra_emc_provider(dst->provider); in emc_icc_set()
848 static int tegra_emc_interconnect_init(struct tegra_emc *emc) in tegra_emc_interconnect_init()
914 struct tegra_emc *emc = data; in devm_tegra_emc_unreg_clk_notifier()
919 static int tegra_emc_init_clk(struct tegra_emc *emc) in tegra_emc_init_clk()
953 struct tegra_emc *emc = dev_get_drvdata(dev); in tegra_emc_devfreq_target()
972 struct tegra_emc *emc = dev_get_drvdata(dev); in tegra_emc_devfreq_get_dev_status()
998 static int tegra_emc_devfreq_init(struct tegra_emc *emc) in tegra_emc_devfreq_init()
1035 struct tegra_emc *emc; in tegra_emc_probe()