Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Ddram_spec_timing.c425 uint32_t tmp, trp_tmp, trppb_tmp, tras_tmp, twr_tmp, bl_tmp; in lpddr2_get_parameter() local
513 twr_tmp = ((LPDDR2_TWR * nmhz + 999) / 1000); in lpddr2_get_parameter()
514 twr_tmp = max(3, twr_tmp); in lpddr2_get_parameter()
515 pdram_timing->twr = twr_tmp; in lpddr2_get_parameter()
518 pdram_timing->mr[1] = bl_tmp | LPDDR2_N_WR(twr_tmp); in lpddr2_get_parameter()
665 uint32_t tmp, trp_tmp, trppb_tmp, tras_tmp, twr_tmp, bl_tmp; in lpddr3_get_parameter() local
773 twr_tmp = ((LPDDR3_TWR * nmhz + 999) / 1000); in lpddr3_get_parameter()
774 twr_tmp = max(4, twr_tmp); in lpddr3_get_parameter()
775 pdram_timing->twr = twr_tmp; in lpddr3_get_parameter()
776 if (twr_tmp <= 6) in lpddr3_get_parameter()
[all …]