/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/plat/rockchip/rk3399/drivers/dram/ |
H A D | dram_spec_timing.c | 296 tmp = ((DDR3_TRTP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 303 tmp = ((DDR3_TWTR * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 328 tmp = ((DDR3_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 561 ((LPDDR2_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr2_get_parameter() 564 tmp = ((LPDDR2_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in lpddr2_get_parameter() 819 ((LPDDR3_TDQSCK_MIN * nmhz + (nmhz >> 1)) in lpddr3_get_parameter() 822 ((LPDDR3_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr3_get_parameter() 1242 tmp = ((LPDDR4_TCKELCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1245 tmp = ((LPDDR4_TCKEHCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1248 tmp = ((LPDDR4_TCKELPD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() [all …]
|
H A D | dfs.c | 988 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()
|
/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/plat/rockchip/rk3399/drivers/dram/ |
H A D | dram_spec_timing.c | 296 tmp = ((DDR3_TRTP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 303 tmp = ((DDR3_TWTR * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 328 tmp = ((DDR3_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 561 ((LPDDR2_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr2_get_parameter() 564 tmp = ((LPDDR2_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in lpddr2_get_parameter() 819 ((LPDDR3_TDQSCK_MIN * nmhz + (nmhz >> 1)) in lpddr3_get_parameter() 822 ((LPDDR3_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr3_get_parameter() 1242 tmp = ((LPDDR4_TCKELCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1245 tmp = ((LPDDR4_TCKEHCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1248 tmp = ((LPDDR4_TCKELPD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() [all …]
|
H A D | dfs.c | 988 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()
|
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/plat/rockchip/rk3399/drivers/dram/ |
H A D | dram_spec_timing.c | 296 tmp = ((DDR3_TRTP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 303 tmp = ((DDR3_TWTR * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 328 tmp = ((DDR3_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 561 ((LPDDR2_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr2_get_parameter() 564 tmp = ((LPDDR2_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in lpddr2_get_parameter() 819 ((LPDDR3_TDQSCK_MIN * nmhz + (nmhz >> 1)) in lpddr3_get_parameter() 822 ((LPDDR3_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr3_get_parameter() 1242 tmp = ((LPDDR4_TCKELCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1245 tmp = ((LPDDR4_TCKEHCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1248 tmp = ((LPDDR4_TCKELPD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() [all …]
|
H A D | dfs.c | 988 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()
|
/dports/sysutils/atf-rk3399/arm-trusted-firmware-2.5/plat/rockchip/rk3399/drivers/dram/ |
H A D | dram_spec_timing.c | 296 tmp = ((DDR3_TRTP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 303 tmp = ((DDR3_TWTR * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 328 tmp = ((DDR3_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 561 ((LPDDR2_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr2_get_parameter() 564 tmp = ((LPDDR2_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in lpddr2_get_parameter() 819 ((LPDDR3_TDQSCK_MIN * nmhz + (nmhz >> 1)) in lpddr3_get_parameter() 822 ((LPDDR3_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr3_get_parameter() 1242 tmp = ((LPDDR4_TCKELCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1245 tmp = ((LPDDR4_TCKEHCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1248 tmp = ((LPDDR4_TCKELPD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() [all …]
|
H A D | dfs.c | 988 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()
|
/dports/sysutils/atf-rk3328/arm-trusted-firmware-2.5/plat/rockchip/rk3399/drivers/dram/ |
H A D | dram_spec_timing.c | 296 tmp = ((DDR3_TRTP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 303 tmp = ((DDR3_TWTR * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 328 tmp = ((DDR3_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in ddr3_get_parameter() 561 ((LPDDR2_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr2_get_parameter() 564 tmp = ((LPDDR2_TXP * nmhz + (nmhz >> 1) + 999) / 1000); in lpddr2_get_parameter() 819 ((LPDDR3_TDQSCK_MIN * nmhz + (nmhz >> 1)) in lpddr3_get_parameter() 822 ((LPDDR3_TDQSCK_MAX * nmhz + (nmhz >> 1) + 999) in lpddr3_get_parameter() 1242 tmp = ((LPDDR4_TCKELCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1245 tmp = ((LPDDR4_TCKEHCMD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() 1248 tmp = ((LPDDR4_TCKELPD * nmhz + (nmhz >> 1) + in lpddr4_get_parameter() [all …]
|
H A D | dfs.c | 988 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()
|
/dports/sysutils/atf-sun50i_h6/arm-trusted-firmware-2.5/plat/rockchip/rk3368/drivers/ddr/ |
H A D | ddr_rk3368.c | 226 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()
|
/dports/sysutils/atf-sun50i_a64/arm-trusted-firmware-2.5/plat/rockchip/rk3368/drivers/ddr/ |
H A D | ddr_rk3368.c | 226 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()
|
/dports/sysutils/atf-rk3399/arm-trusted-firmware-2.5/plat/rockchip/rk3368/drivers/ddr/ |
H A D | ddr_rk3368.c | 226 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()
|
/dports/sysutils/atf-rk3328/arm-trusted-firmware-2.5/plat/rockchip/rk3368/drivers/ddr/ |
H A D | ddr_rk3368.c | 226 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()
|
/dports/sysutils/atf-fvp/arm-trusted-firmware-2.5/plat/rockchip/rk3368/drivers/ddr/ |
H A D | ddr_rk3368.c | 226 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()
|