Home
last modified time | relevance | path

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

/linux/drivers/memory/tegra/
H A 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 …]
H A Dtegra20-emc.c237 struct tegra_emc *emc = data; in tegra_emc_isr() local
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() local
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()
[all …]
H A Dtegra186-emc.c63 static bool tegra186_emc_validate_rate(struct tegra186_emc *emc, in tegra186_emc_validate_rate()
78 struct tegra186_emc *emc = s->private; in tegra186_emc_debug_available_rates_show() local
95 struct tegra186_emc *emc = data; in tegra186_emc_debug_min_rate_get() local
104 struct tegra186_emc *emc = data; in tegra186_emc_debug_min_rate_set() local
125 struct tegra186_emc *emc = data; in tegra186_emc_debug_max_rate_get() local
134 struct tegra186_emc *emc = data; in tegra186_emc_debug_max_rate_set() local
153 static int tegra186_emc_get_emc_dvfs_latency(struct tegra186_emc *emc) in tegra186_emc_get_emc_dvfs_latency()
258 static int tegra_emc_interconnect_init(struct tegra186_emc *emc) in tegra_emc_interconnect_init()
316 struct tegra186_emc *emc; in tegra186_emc_probe() local
379 struct tegra186_emc *emc = platform_get_drvdata(pdev); in tegra186_emc_remove() local
H A Dtegra30-emc.c398 static int emc_seq_update_timing(struct tegra_emc *emc) in emc_seq_update_timing()
418 struct tegra_emc *emc = data; in tegra_emc_isr() local
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() local
888 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
[all …]
H A Dtegra124-emc.c518 static void emc_ccfifo_writel(struct tegra_emc *emc, u32 value, in emc_ccfifo_writel()
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()
920 static int load_one_timing_from_dt(struct tegra_emc *emc, in load_one_timing_from_dt()
[all …]
H A Dtegra210-emc-table.c15 struct tegra210_emc *emc = dev_get_drvdata(dev); in tegra210_emc_table_device_init() local
63 struct tegra210_emc *emc = dev_get_drvdata(dev); in tegra210_emc_table_device_release() local
H A Dtegra210-emc-cc-r21021.c36 #define emc_dbg(emc, flags, ...) dev_dbg(emc->dev, __VA_ARGS__) argument
133 static void tegra210_emc_get_clktree_delay(struct tegra210_emc *emc, in tegra210_emc_get_clktree_delay()
182 static bool periodic_compensation_handler(struct tegra210_emc *emc, u32 type, in periodic_compensation_handler()
243 static u32 tegra210_emc_r21021_periodic_compensation(struct tegra210_emc *emc) in tegra210_emc_r21021_periodic_compensation()
337 static void tegra210_emc_r21021_set_clock(struct tegra210_emc *emc, u32 clksrc) in tegra210_emc_r21021_set_clock()
H A 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()
/linux/drivers/clk/tegra/
H A Dclk-tegra20-emc.c57 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_recalc_rate() local
68 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_get_parent() local
75 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_set_parent() local
104 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_set_rate() local
138 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_set_rate_and_parent() local
170 struct tegra_clk_emc *emc = to_tegra_clk_emc(hw); in emc_determine_rate() local
228 struct tegra_clk_emc *emc; in tegra20_clk_set_emc_round_callback() local
248 struct tegra_clk_emc *emc; in tegra20_clk_register_emc() local
284 struct tegra_clk_emc *emc; in tegra20_clk_prepare_emc_mc_same_freq() local
H A 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
H A Dclk-tegra124-emc.c79 struct tegra_emc *emc; member
216 struct tegra_emc *emc = emc_ensure_emc_driver(tegra); in emc_set_timing() local
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra132.dtsi613 emc: external-memory-controller@7001b000 { label
H A Dtegra186.dtsi579 emc: external-memory-controller@2c60000 { label
H A Dtegra210.dtsi964 emc: external-memory-controller@7001b000 { label
H A Dtegra194.dtsi713 emc: external-memory-controller@2c60000 { label
H A Dtegra234.dtsi2745 emc: external-memory-controller@2c60000 { label
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20.dtsi757 emc: memory-controller@7000f400 { label
H A Dtegra124.dtsi661 emc: external-memory-controller@7001b000 { label
H A Dtegra30.dtsi926 emc: memory-controller@7000f400 { label
/linux/arch/arm/boot/dts/nxp/lpc/
H A Dlpc32xx.dtsi152 emc: memory-controller@31080000 { label
H A Dlpc18xx.dtsi145 emc: memory-controller@40005000 { label
/linux/drivers/s390/char/
H A Dtape_3590.h93 unsigned int emc:4; member
105 unsigned int emc:4; member