Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/memory/tegra/
Dtegra20-emc.c197 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()
458 tegra_emc_find_node_by_ram_code(struct tegra_emc *emc) in tegra_emc_find_node_by_ram_code()
538 static int emc_read_lpddr_mode_register(struct tegra_emc *emc, in emc_read_lpddr_mode_register()
[all …]
Dtegra30-emc.c355 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()
[all …]
Dtegra124-emc.c481 struct tegra_emc { struct
518 static void emc_ccfifo_writel(struct tegra_emc *emc, u32 value, in emc_ccfifo_writel() argument
525 static void emc_seq_update_timing(struct tegra_emc *emc) in emc_seq_update_timing()
542 static void emc_seq_disable_auto_cal(struct tegra_emc *emc) in emc_seq_disable_auto_cal()
559 static void emc_seq_wait_clkchange(struct tegra_emc *emc) in emc_seq_wait_clkchange()
574 static struct emc_timing *tegra_emc_find_timing(struct tegra_emc *emc, in tegra_emc_find_timing()
595 static int tegra_emc_prepare_timing_change(struct tegra_emc *emc, in tegra_emc_prepare_timing_change()
823 static void tegra_emc_complete_timing_change(struct tegra_emc *emc, in tegra_emc_complete_timing_change()
880 static void emc_read_current_timing(struct tegra_emc *emc, in emc_read_current_timing()
899 static int emc_init(struct tegra_emc *emc) in emc_init()
[all …]
/Linux-v6.6/include/linux/clk/
Dtegra.h149 struct tegra_emc;
155 typedef int (tegra124_emc_prepare_timing_change_cb)(struct tegra_emc *emc,
157 typedef void (tegra124_emc_complete_timing_change_cb)(struct tegra_emc *emc,
/Linux-v6.6/drivers/clk/tegra/
Dclk-tegra124-emc.c79 struct tegra_emc *emc;
176 static struct tegra_emc *emc_ensure_emc_driver(struct tegra_clk_emc *tegra) in emc_ensure_emc_driver()
216 struct tegra_emc *emc = emc_ensure_emc_driver(tegra); in emc_set_timing()