Searched refs:ddr_freq (Results 1 – 5 of 5) sorted by relevance
200 unsigned long ddr_freq; in ddrc_set_regs() local362 ddr_freq = clk / 1000000U; in ddrc_set_regs()365 tmp |= ddr_freq <= 1333U ? U(0x0080006a) : in ddrc_set_regs()366 (ddr_freq <= 1600U ? U(0x0070006f) : in ddrc_set_regs()367 (ddr_freq <= 1867U ? U(0x00700076) : U(0x0060007b))); in ddrc_set_regs()378 ddr_freq = clk / 1000000U; in ddrc_set_regs()379 if ((ddr_freq > 1900) && (ddr_freq < 2300)) { in ddrc_set_regs()
1408 void hikey_ddr_init(unsigned int ddr_freq) in hikey_ddr_init() argument1412 assert((ddr_freq == DDR_FREQ_150M) || (ddr_freq == DDR_FREQ_266M) || in hikey_ddr_init()1413 (ddr_freq == DDR_FREQ_400M) || (ddr_freq == DDR_FREQ_533M) || in hikey_ddr_init()1414 (ddr_freq == DDR_FREQ_800M)); in hikey_ddr_init()1418 init_ddr(ddr_freq); in hikey_ddr_init()1420 ddrc_common_init(ddr_freq); in hikey_ddr_init()1424 if ((ddr_freq == DDR_FREQ_400M) || (ddr_freq == DDR_FREQ_800M)) { in hikey_ddr_init()1428 } else if ((ddr_freq == DDR_FREQ_266M) || (ddr_freq == DDR_FREQ_533M)) { in hikey_ddr_init()
45 void hikey_ddr_init(unsigned int ddr_freq);
141 uint32_t ddr_freq; member
717 sdram_params->ddr_freq = ((fbdiv * 24) / in dmc_suspend()720 INFO("sdram_params->ddr_freq = %d\n", sdram_params->ddr_freq); in dmc_suspend()818 phy_dll_bypass_set(channel, sdram_params->ddr_freq); in dmc_resume()
Completed in 9 milliseconds