Home
last modified time | relevance | path

Searched refs:tegra_mc_write_32 (Results 1 – 6 of 6) sorted by relevance

/external/arm-trusted-firmware/plat/nvidia/tegra/common/drivers/memctrl/
Dmemctrl_v1.c36 tegra_mc_write_32(MC_SMMU_TRANSLATION_ENABLE_0_0, in tegra_memctrl_setup()
38 tegra_mc_write_32(MC_SMMU_TRANSLATION_ENABLE_1_0, in tegra_memctrl_setup()
40 tegra_mc_write_32(MC_SMMU_TRANSLATION_ENABLE_2_0, in tegra_memctrl_setup()
42 tegra_mc_write_32(MC_SMMU_TRANSLATION_ENABLE_3_0, in tegra_memctrl_setup()
44 tegra_mc_write_32(MC_SMMU_TRANSLATION_ENABLE_4_0, in tegra_memctrl_setup()
47 tegra_mc_write_32(MC_SMMU_ASID_SECURITY_0, MC_SMMU_ASID_SECURITY); in tegra_memctrl_setup()
49 tegra_mc_write_32(MC_SMMU_TLB_CONFIG_0, MC_SMMU_TLB_CONFIG_0_RESET_VAL); in tegra_memctrl_setup()
50 tegra_mc_write_32(MC_SMMU_PTC_CONFIG_0, MC_SMMU_PTC_CONFIG_0_RESET_VAL); in tegra_memctrl_setup()
53 tegra_mc_write_32(MC_SMMU_PTC_FLUSH_0, MC_SMMU_PTC_FLUSH_ALL); in tegra_memctrl_setup()
55 tegra_mc_write_32(MC_SMMU_TLB_FLUSH_0, MC_SMMU_TLB_FLUSH_ALL); in tegra_memctrl_setup()
[all …]
Dmemctrl_v2.c91 tegra_mc_write_32(MC_SMMU_BYPASS_CONFIG, in tegra_memctrl_setup()
136 tegra_mc_write_32(MC_VIDEO_PROTECT_BASE_LO, in tegra_memctrl_restore_settings()
138 tegra_mc_write_32(MC_VIDEO_PROTECT_BASE_HI, in tegra_memctrl_restore_settings()
140 tegra_mc_write_32(MC_VIDEO_PROTECT_SIZE_MB, video_mem_size_mb); in tegra_memctrl_restore_settings()
186 tegra_mc_write_32(index, 0); in tegra_memctrl_tzram_setup()
195 tegra_mc_write_32(MC_TZRAM_CLIENT_ACCESS1_CFG0, val); in tegra_memctrl_tzram_setup()
202 tegra_mc_write_32(MC_TZRAM_BASE_LO, (uint32_t)phys_base); in tegra_memctrl_tzram_setup()
203 tegra_mc_write_32(MC_TZRAM_BASE_HI, in tegra_memctrl_tzram_setup()
215 tegra_mc_write_32(MC_TZRAM_SIZE, val); in tegra_memctrl_tzram_setup()
228 tegra_mc_write_32(MC_TZRAM_CARVEOUT_CFG, val); in tegra_memctrl_tzram_setup()
[all …]
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_memctrl.c226 tegra_mc_write_32(MC_CLIENT_HOTRESET_CTRL0, wdata_0); in tegra186_memctrl_reconfig_mss_clients()
251 tegra_mc_write_32(MC_CLIENT_HOTRESET_CTRL1, wdata_1); in tegra186_memctrl_reconfig_mss_clients()
415 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG1, val); in tegra186_memctrl_reconfig_mss_clients()
420 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG2, val); in tegra186_memctrl_reconfig_mss_clients()
424 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG3, val); in tegra186_memctrl_reconfig_mss_clients()
436 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG4, val); in tegra186_memctrl_reconfig_mss_clients()
440 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG5, val); in tegra186_memctrl_reconfig_mss_clients()
451 tegra_mc_write_32(MC_CLIENT_HOTRESET_CTRL0, wdata_0); in tegra186_memctrl_reconfig_mss_clients()
457 tegra_mc_write_32(MC_CLIENT_HOTRESET_CTRL1, wdata_1); in tegra186_memctrl_reconfig_mss_clients()
487 tegra_mc_write_32(MC_TXN_OVERRIDE_CONFIG_GPUSWR, in tegra186_memctrl_set_overrides()
[all …]
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t194/
Dplat_memctrl.c290 tegra_mc_write_32(MC_CLIENT_HOTRESET_CTRL0, wdata_0); in tegra194_memctrl_reconfig_mss_clients()
313 tegra_mc_write_32(MC_CLIENT_HOTRESET_CTRL1, wdata_1); in tegra194_memctrl_reconfig_mss_clients()
333 tegra_mc_write_32(MC_CLIENT_HOTRESET_CTRL2, wdata_2); in tegra194_memctrl_reconfig_mss_clients()
588 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG2, reg_val); in tegra194_memctrl_reconfig_mss_clients()
596 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG3, reg_val); in tegra194_memctrl_reconfig_mss_clients()
612 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG4, reg_val); in tegra194_memctrl_reconfig_mss_clients()
617 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG5, reg_val); in tegra194_memctrl_reconfig_mss_clients()
623 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG6, reg_val); in tegra194_memctrl_reconfig_mss_clients()
628 tegra_mc_write_32(MC_PCFIFO_CLIENT_CONFIG7, reg_val); in tegra194_memctrl_reconfig_mss_clients()
632 tegra_mc_write_32(MC_CLIENT_ORDER_ID_9, reg_val); in tegra194_memctrl_reconfig_mss_clients()
[all …]
/external/arm-trusted-firmware/plat/nvidia/tegra/include/drivers/
Dmemctrl_v2.h106 static inline void tegra_mc_write_32(uint32_t off, uint32_t val) in tegra_mc_write_32() function
154 tegra_mc_write_32(MC_TXN_OVERRIDE_CONFIG_##client, \
Dmemctrl_v1.h52 static inline void tegra_mc_write_32(uint32_t off, uint32_t val) in tegra_mc_write_32() function