Home
last modified time | relevance | path

Searched refs:nmhz (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Ddram_spec_timing.c206 uint32_t nmhz = timing_config->freq; in ddr3_get_parameter() local
212 pdram_timing->mhz = nmhz; in ddr3_get_parameter()
215 if (nmhz <= 330) in ddr3_get_parameter()
217 else if (nmhz <= 400) in ddr3_get_parameter()
219 else if (nmhz <= 533) in ddr3_get_parameter()
221 else if (nmhz <= 666) in ddr3_get_parameter()
223 else if (nmhz <= 800) in ddr3_get_parameter()
225 else if (nmhz <= 933) in ddr3_get_parameter()
231 if (nmhz < 300) { in ddr3_get_parameter()
271 pdram_timing->trstl = ((DDR3_TRSTL * nmhz + 999) / 1000); in ddr3_get_parameter()
[all …]
Ddfs.c988 static void gen_rk3399_enable_training(uint32_t ch_cnt, uint32_t nmhz) in gen_rk3399_enable_training() argument
992 if (nmhz <= PHY_DLL_BYPASS_FREQ) in gen_rk3399_enable_training()
/external/arm-trusted-firmware/plat/rockchip/rk3368/drivers/ddr/
Dddr_rk3368.c226 uint32_t nmhz, NO, NF, NR; in ddr_get_dpll_cfg() local
228 nmhz = ddr_get_phy_pll_freq(); in ddr_get_dpll_cfg()
229 if (nmhz <= 150) in ddr_get_dpll_cfg()
231 else if (nmhz <= 250) in ddr_get_dpll_cfg()
233 else if (nmhz <= 500) in ddr_get_dpll_cfg()
239 NF = 2 * nmhz * NR * NO / 24; in ddr_get_dpll_cfg()