Home
last modified time | relevance | path

Searched defs:emc (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra210-emc-core.c561 struct tegra210_emc *emc = from_timer(emc, timer, training); in tegra210_emc_train() local
578 static void tegra210_emc_training_start(struct tegra210_emc *emc) in tegra210_emc_training_start()
584 static void tegra210_emc_training_stop(struct tegra210_emc *emc) in tegra210_emc_training_stop()
589 static unsigned int tegra210_emc_get_temperature(struct tegra210_emc *emc) in tegra210_emc_get_temperature()
617 struct tegra210_emc *emc = from_timer(emc, timer, refresh_timer); in tegra210_emc_poll_refresh() local
666 static void tegra210_emc_poll_refresh_stop(struct tegra210_emc *emc) in tegra210_emc_poll_refresh_stop()
672 static void tegra210_emc_poll_refresh_start(struct tegra210_emc *emc) in tegra210_emc_poll_refresh_start()
691 struct tegra210_emc *emc = cd->devdata; in tegra210_emc_cd_get_state() local
701 struct tegra210_emc *emc = cd->devdata; in tegra210_emc_cd_set_state() local
720 static void tegra210_emc_set_clock(struct tegra210_emc *emc, u32 clksrc) in tegra210_emc_set_clock()
[all …]
Dtegra186-emc.c59 static bool tegra186_emc_validate_rate(struct tegra186_emc *emc, in tegra186_emc_validate_rate()
74 struct tegra186_emc *emc = s->private; in tegra186_emc_debug_available_rates_show() local
104 struct tegra186_emc *emc = data; in tegra186_emc_debug_min_rate_get() local
113 struct tegra186_emc *emc = data; in tegra186_emc_debug_min_rate_set() local
134 struct tegra186_emc *emc = data; in tegra186_emc_debug_max_rate_get() local
143 struct tegra186_emc *emc = data; in tegra186_emc_debug_max_rate_set() local
166 struct tegra186_emc *emc; in tegra186_emc_probe() local
256 struct tegra186_emc *emc = platform_get_drvdata(pdev); in tegra186_emc_remove() local
Dtegra20-emc.c163 struct tegra_emc *emc = data; in tegra_emc_isr() local
182 static struct emc_timing *tegra_emc_find_timing(struct tegra_emc *emc, in tegra_emc_find_timing()
203 static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate) in emc_prepare_timing_change()
225 static int emc_complete_timing_change(struct tegra_emc *emc, bool flush) in emc_complete_timing_change()
253 struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); in tegra_emc_clk_change_notify() local
281 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
336 static int tegra_emc_load_timings_from_dt(struct tegra_emc *emc, in tegra_emc_load_timings_from_dt()
408 static int emc_setup_hw(struct tegra_emc *emc) in emc_setup_hw()
451 struct tegra_emc *emc = arg; in emc_round_rate() local
508 static bool tegra_emc_validate_rate(struct tegra_emc *emc, unsigned long rate) in tegra_emc_validate_rate()
[all …]
Dtegra30-emc.c357 static int emc_seq_update_timing(struct tegra_emc *emc) in emc_seq_update_timing()
377 struct tegra_emc *emc = data; in tegra_emc_isr() local
396 static struct emc_timing *emc_find_timing(struct tegra_emc *emc, in emc_find_timing()
417 static bool emc_dqs_preset(struct tegra_emc *emc, struct emc_timing *timing, in emc_dqs_preset()
460 static int emc_prepare_mc_clk_cfg(struct tegra_emc *emc, unsigned long rate) in emc_prepare_mc_clk_cfg()
482 static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate) in emc_prepare_timing_change()
751 static int emc_complete_timing_change(struct tegra_emc *emc, in emc_complete_timing_change()
802 static int emc_unprepare_timing_change(struct tegra_emc *emc, in emc_unprepare_timing_change()
817 struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); in emc_clk_change_notify() local
847 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
[all …]
Dtegra124-emc.c488 static void emc_ccfifo_writel(struct tegra_emc *emc, u32 value, in emc_ccfifo_writel()
495 static void emc_seq_update_timing(struct tegra_emc *emc) in emc_seq_update_timing()
512 static void emc_seq_disable_auto_cal(struct tegra_emc *emc) in emc_seq_disable_auto_cal()
529 static void emc_seq_wait_clkchange(struct tegra_emc *emc) in emc_seq_wait_clkchange()
544 static struct emc_timing *tegra_emc_find_timing(struct tegra_emc *emc, in tegra_emc_find_timing()
565 int tegra_emc_prepare_timing_change(struct tegra_emc *emc, in tegra_emc_prepare_timing_change()
793 void tegra_emc_complete_timing_change(struct tegra_emc *emc, in tegra_emc_complete_timing_change()
850 static void emc_read_current_timing(struct tegra_emc *emc, in emc_read_current_timing()
869 static int emc_init(struct tegra_emc *emc) in emc_init()
882 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
[all …]
Dtegra210-emc-table.c15 struct tegra210_emc *emc = dev_get_drvdata(dev); in tegra210_emc_table_device_init() local
65 struct tegra210_emc *emc = dev_get_drvdata(dev); in tegra210_emc_table_device_release() local
Dtegra210-emc-cc-r21021.c36 #define emc_dbg(emc, flags, ...) dev_dbg(emc->dev, __VA_ARGS__) argument
116 static u32 update_clock_tree_delay(struct tegra210_emc *emc, int type) in update_clock_tree_delay()
403 static u32 periodic_compensation_handler(struct tegra210_emc *emc, u32 type, in periodic_compensation_handler()
478 static u32 tegra210_emc_r21021_periodic_compensation(struct tegra210_emc *emc) in tegra210_emc_r21021_periodic_compensation()
585 static void tegra210_emc_r21021_set_clock(struct tegra210_emc *emc, u32 clksrc) in tegra210_emc_r21021_set_clock()
Dtegra210-emc.h943 static inline void emc_writel(struct tegra210_emc *emc, u32 value, in emc_writel()
949 static inline u32 emc_readl(struct tegra210_emc *emc, unsigned int offset) in emc_readl()
954 static inline void emc_channel_writel(struct tegra210_emc *emc, in emc_channel_writel()
961 static inline u32 emc_channel_readl(struct tegra210_emc *emc, in emc_channel_readl()
967 static inline void ccfifo_writel(struct tegra210_emc *emc, u32 value, in ccfifo_writel()
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-tegra20-emc.c56 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_recalc_rate() local
67 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_get_parent() local
74 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_set_parent() local
103 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_set_rate() local
137 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_set_rate_and_parent() local
169 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_determine_rate() local
227 struct tegra_clk_emc *emc; in tegra20_clk_set_emc_round_callback() local
246 struct tegra_clk_emc *emc; in tegra20_clk_register_emc() local
282 struct tegra_clk_emc *emc; in tegra20_clk_prepare_emc_mc_same_freq() local
Dclk-tegra210-emc.c53 struct tegra210_clk_emc *emc = to_tegra210_clk_emc(hw); in tegra210_clk_emc_get_parent() local
66 struct tegra210_clk_emc *emc = to_tegra210_clk_emc(hw); in tegra210_clk_emc_recalc_rate() local
92 struct tegra210_clk_emc *emc = to_tegra210_clk_emc(hw); in tegra210_clk_emc_round_rate() local
107 static struct clk *tegra210_clk_emc_find_parent(struct tegra210_clk_emc *emc, in tegra210_clk_emc_find_parent()
121 struct tegra210_clk_emc *emc = to_tegra210_clk_emc(hw); in tegra210_clk_emc_set_rate() local
269 struct tegra210_clk_emc *emc; in tegra210_clk_register_emc() local
299 struct tegra210_clk_emc *emc = to_tegra210_clk_emc(hw); in tegra210_clk_emc_attach() local
366 struct tegra210_clk_emc *emc = to_tegra210_clk_emc(__clk_get_hw(clk)); in tegra210_clk_emc_detach() local
Dclk-tegra124-emc.c78 struct tegra_emc *emc; member
208 struct tegra_emc *emc = emc_ensure_emc_driver(tegra); in emc_set_timing() local
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra132.dtsi612 emc: external-memory-controller@7001b000 { label
Dtegra210.dtsi960 emc: external-memory-controller@7001b000 { label
Dtegra186.dtsi378 emc: external-memory-controller@2c60000 { label
Dtegra194.dtsi433 emc: external-memory-controller@2c60000 { label
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra124.dtsi633 emc: external-memory-controller@7001b000 { label
Dlpc18xx.dtsi145 emc: memory-controller@40005000 { label
Dlpc32xx.dtsi153 emc: memory-controller@31080000 { label
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_3590.h93 unsigned int emc:4; member
105 unsigned int emc:4; member