Lines Matching refs:tegra_emc

197 struct tegra_emc {  struct
237 struct tegra_emc *emc = data; in tegra_emc_isr() argument
256 static struct emc_timing *tegra_emc_find_timing(struct tegra_emc *emc, in tegra_emc_find_timing()
277 static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate) in emc_prepare_timing_change()
299 static int emc_complete_timing_change(struct tegra_emc *emc, bool flush) in emc_complete_timing_change()
327 struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); in tegra_emc_clk_change_notify()
355 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
410 static int tegra_emc_load_timings_from_dt(struct tegra_emc *emc, in tegra_emc_load_timings_from_dt()
455 tegra_emc_find_node_by_ram_code(struct tegra_emc *emc) in tegra_emc_find_node_by_ram_code()
535 static int emc_read_lpddr_mode_register(struct tegra_emc *emc, in emc_read_lpddr_mode_register()
571 static void emc_read_lpddr_sdram_info(struct tegra_emc *emc, in emc_read_lpddr_sdram_info()
593 static int emc_setup_hw(struct tegra_emc *emc) in emc_setup_hw()
678 struct tegra_emc *emc = arg; in emc_round_rate()
713 static void tegra_emc_rate_requests_init(struct tegra_emc *emc) in tegra_emc_rate_requests_init()
723 static int emc_request_rate(struct tegra_emc *emc, in emc_request_rate()
764 static int emc_set_min_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_min_rate()
777 static int emc_set_max_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_max_rate()
815 static bool tegra_emc_validate_rate(struct tegra_emc *emc, unsigned long rate) in tegra_emc_validate_rate()
828 struct tegra_emc *emc = s->private; in tegra_emc_debug_available_rates_show()
845 struct tegra_emc *emc = data; in tegra_emc_debug_min_rate_get()
854 struct tegra_emc *emc = data; in tegra_emc_debug_min_rate_set()
875 struct tegra_emc *emc = data; in tegra_emc_debug_max_rate_get()
884 struct tegra_emc *emc = data; in tegra_emc_debug_max_rate_set()
903 static void tegra_emc_debugfs_init(struct tegra_emc *emc) in tegra_emc_debugfs_init()
943 static inline struct tegra_emc *
946 return container_of(provider, struct tegra_emc, provider); in to_tegra_emc_provider()
980 struct tegra_emc *emc = to_tegra_emc_provider(dst->provider); in emc_icc_set()
1003 static int tegra_emc_interconnect_init(struct tegra_emc *emc) in tegra_emc_interconnect_init()
1069 struct tegra_emc *emc = data; in devm_tegra_emc_unreg_clk_notifier()
1074 static int tegra_emc_init_clk(struct tegra_emc *emc) in tegra_emc_init_clk()
1108 struct tegra_emc *emc = dev_get_drvdata(dev); in tegra_emc_devfreq_target()
1127 struct tegra_emc *emc = dev_get_drvdata(dev); in tegra_emc_devfreq_get_dev_status()
1153 static int tegra_emc_devfreq_init(struct tegra_emc *emc) in tegra_emc_devfreq_init()
1190 struct tegra_emc *emc; in tegra_emc_probe()