| /kernel/linux/linux-6.6/drivers/memory/tegra/ |
| D | tegra210-emc-core.c | 561 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 …]
|
| D | tegra20-emc.c | 237 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() 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() 574 static void emc_read_lpddr_sdram_info(struct tegra_emc *emc, in emc_read_lpddr_sdram_info() [all …]
|
| D | tegra186-emc.c | 68 static bool tegra186_emc_validate_rate(struct tegra186_emc *emc, in tegra186_emc_validate_rate() 83 struct tegra186_emc *emc = s->private; in tegra186_emc_debug_available_rates_show() local 100 struct tegra186_emc *emc = data; in tegra186_emc_debug_min_rate_get() local 109 struct tegra186_emc *emc = data; in tegra186_emc_debug_min_rate_set() local 130 struct tegra186_emc *emc = data; in tegra186_emc_debug_max_rate_get() local 139 struct tegra186_emc *emc = data; in tegra186_emc_debug_max_rate_set() local 158 static int tegra186_emc_get_emc_dvfs_latency(struct tegra186_emc *emc) in tegra186_emc_get_emc_dvfs_latency() 263 static int tegra_emc_interconnect_init(struct tegra186_emc *emc) in tegra_emc_interconnect_init() 321 struct tegra186_emc *emc; in tegra186_emc_probe() local 384 struct tegra186_emc *emc = platform_get_drvdata(pdev); in tegra186_emc_remove() local
|
| D | tegra30-emc.c | 398 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 …]
|
| D | tegra124-emc.c | 518 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 …]
|
| D | tegra210-emc-table.c | 15 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
|
| D | tegra210-emc-cc-r21021.c | 36 #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()
|
| /kernel/linux/linux-5.10/drivers/memory/tegra/ |
| D | tegra210-emc-core.c | 561 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 …]
|
| D | tegra186-emc.c | 59 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
|
| D | tegra20-emc.c | 163 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 …]
|
| D | tegra30-emc.c | 357 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 …]
|
| D | tegra124-emc.c | 488 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 …]
|
| D | tegra210-emc-table.c | 15 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
|
| D | tegra210-emc-cc-r21021.c | 36 #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()
|
| /kernel/linux/linux-5.10/drivers/clk/tegra/ |
| D | clk-tegra20-emc.c | 56 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
|
| D | clk-tegra210-emc.c | 53 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
|
| D | clk-tegra124-emc.c | 78 struct tegra_emc *emc; member 209 struct tegra_emc *emc = emc_ensure_emc_driver(tegra); in emc_set_timing() local
|
| /kernel/linux/linux-6.6/drivers/clk/tegra/ |
| D | clk-tegra20-emc.c | 57 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
|
| D | clk-tegra210-emc.c | 53 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
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/ |
| D | tegra132.dtsi | 611 emc: external-memory-controller@7001b000 { label
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra132.dtsi | 612 emc: external-memory-controller@7001b000 { label
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | tegra124.dtsi | 633 emc: external-memory-controller@7001b000 { label
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/ |
| D | tegra20.dtsi | 757 emc: memory-controller@7000f400 { label
|
| D | tegra124.dtsi | 661 emc: external-memory-controller@7001b000 { label
|
| D | tegra30.dtsi | 926 emc: memory-controller@7000f400 { label
|