Lines Matching refs:dram_odt_ohm
896 u32 phy_odt_ohm, dram_odt_ohm; in set_ds_odt() local
915 dram_odt_ohm = 0; in set_ds_odt()
921 dram_odt_ohm = ODT_INFO_DRAM_ODT(ddr_info->odt_info); in set_ds_odt()
1023 if (dramtype != DDR3 && dram_odt_ohm) in set_ds_odt()
1024 vref_out = (2 * phy_dq_drv_ohm + dram_odt_ohm) * 128 / in set_ds_odt()
1025 (phy_dq_drv_ohm + dram_odt_ohm); in set_ds_odt()
1107 if (dram_odt_ohm == 0) in set_ds_odt()
1109 else if (dram_odt_ohm <= 40) in set_ds_odt()
1111 else if (dram_odt_ohm <= 60) in set_ds_odt()
1121 if (dram_odt_ohm == 0) in set_ds_odt()
1123 else if (dram_odt_ohm <= 34) in set_ds_odt()
1125 else if (dram_odt_ohm <= 40) in set_ds_odt()
1127 else if (dram_odt_ohm <= 48) in set_ds_odt()
1129 else if (dram_odt_ohm <= 60) in set_ds_odt()
1146 if (dram_odt_ohm == 0) in set_ds_odt()
1148 else if (dram_odt_ohm <= 60) in set_ds_odt()
1150 else if (dram_odt_ohm <= 120) in set_ds_odt()
1171 tmp = lp4_odt_calc(dram_odt_ohm); in set_ds_odt()