Lines Matching refs:tegra_emc
355 struct tegra_emc { struct
398 static int emc_seq_update_timing(struct tegra_emc *emc) in emc_seq_update_timing() argument
418 struct tegra_emc *emc = data; in tegra_emc_isr()
437 static struct emc_timing *emc_find_timing(struct tegra_emc *emc, in emc_find_timing()
458 static bool emc_dqs_preset(struct tegra_emc *emc, struct emc_timing *timing, in emc_dqs_preset()
501 static int emc_prepare_mc_clk_cfg(struct tegra_emc *emc, unsigned long rate) in emc_prepare_mc_clk_cfg()
523 static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate) in emc_prepare_timing_change()
792 static int emc_complete_timing_change(struct tegra_emc *emc, in emc_complete_timing_change()
843 static int emc_unprepare_timing_change(struct tegra_emc *emc, in emc_unprepare_timing_change()
858 struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); in emc_clk_change_notify()
888 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
956 static int emc_check_mc_timings(struct tegra_emc *emc) in emc_check_mc_timings()
979 static int emc_load_timings_from_dt(struct tegra_emc *emc, in emc_load_timings_from_dt()
1023 static struct device_node *emc_find_node_by_ram_code(struct tegra_emc *emc) in emc_find_node_by_ram_code()
1056 static int emc_read_lpddr_mode_register(struct tegra_emc *emc, in emc_read_lpddr_mode_register()
1092 static void emc_read_lpddr_sdram_info(struct tegra_emc *emc, in emc_read_lpddr_sdram_info()
1115 static int emc_setup_hw(struct tegra_emc *emc) in emc_setup_hw()
1196 struct tegra_emc *emc = arg; in emc_round_rate()
1231 static void tegra_emc_rate_requests_init(struct tegra_emc *emc) in tegra_emc_rate_requests_init()
1241 static int emc_request_rate(struct tegra_emc *emc, in emc_request_rate()
1282 static int emc_set_min_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_min_rate()
1295 static int emc_set_max_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_max_rate()
1333 static bool tegra_emc_validate_rate(struct tegra_emc *emc, unsigned long rate) in tegra_emc_validate_rate()
1346 struct tegra_emc *emc = s->private; in tegra_emc_debug_available_rates_show()
1363 struct tegra_emc *emc = data; in tegra_emc_debug_min_rate_get()
1372 struct tegra_emc *emc = data; in tegra_emc_debug_min_rate_set()
1393 struct tegra_emc *emc = data; in tegra_emc_debug_max_rate_get()
1402 struct tegra_emc *emc = data; in tegra_emc_debug_max_rate_set()
1421 static void tegra_emc_debugfs_init(struct tegra_emc *emc) in tegra_emc_debugfs_init()
1461 static inline struct tegra_emc *
1464 return container_of(provider, struct tegra_emc, provider); in to_tegra_emc_provider()
1498 struct tegra_emc *emc = to_tegra_emc_provider(dst->provider); in emc_icc_set()
1521 static int tegra_emc_interconnect_init(struct tegra_emc *emc) in tegra_emc_interconnect_init()
1581 struct tegra_emc *emc = data; in devm_tegra_emc_unreg_clk_notifier()
1586 static int tegra_emc_init_clk(struct tegra_emc *emc) in tegra_emc_init_clk()
1621 struct tegra_emc *emc; in tegra_emc_probe()
1692 struct tegra_emc *emc = dev_get_drvdata(dev); in tegra_emc_suspend()
1713 struct tegra_emc *emc = dev_get_drvdata(dev); in tegra_emc_resume()