Searched refs:dram_num (Results 1 – 2 of 2) sorted by relevance
531 unsigned int dram_num; in emc_prepare_timing_change() local574 dram_num = tegra_mc_get_emem_device_count(emc->mc); in emc_prepare_timing_change()652 cnt -= dram_num * 256; in emc_prepare_timing_change()697 writel_relaxed(EMC_REFCTRL_DISABLE_ALL(dram_num), in emc_prepare_timing_change()706 writel_relaxed(DRAM_BROADCAST(dram_num) | in emc_prepare_timing_change()732 writel_relaxed(DRAM_BROADCAST(dram_num), in emc_prepare_timing_change()775 if (dram_num > 1) in emc_prepare_timing_change()796 unsigned int dram_num; in emc_complete_timing_change() local809 dram_num = tegra_mc_get_emem_device_count(emc->mc); in emc_complete_timing_change()810 writel_relaxed(EMC_REFCTRL_ENABLE_ALL(dram_num), in emc_complete_timing_change()
492 unsigned int dram_num; member730 cnt -= emc->dram_num * 256; in tegra_emc_prepare_timing_change()755 emc_ccfifo_writel(emc, EMC_REFCTRL_DEV_SEL(emc->dram_num), in tegra_emc_prepare_timing_change()758 emc_ccfifo_writel(emc, EMC_DRAM_DEV_SEL(emc->dram_num) | in tegra_emc_prepare_timing_change()767 emc_ccfifo_writel(emc, EMC_DRAM_DEV_SEL(emc->dram_num), in tegra_emc_prepare_timing_change()769 emc_ccfifo_writel(emc, EMC_REFCTRL_DEV_SEL(emc->dram_num) | in tegra_emc_prepare_timing_change()803 if (emc->dram_num > 1) in tegra_emc_prepare_timing_change()913 emc->dram_num = tegra_mc_get_emem_device_count(emc->mc); in emc_init()