Lines Matching refs:ast_moutdwm
126 void ast_moutdwm(struct ast_private *ast, u32 r, u32 v) in ast_moutdwm() function
169 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmctestburst2_ast2150()
170 ast_moutdwm(ast, 0x1e6e0070, 0x00000001 | (datagen << 3)); in mmctestburst2_ast2150()
175 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmctestburst2_ast2150()
179 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmctestburst2_ast2150()
180 ast_moutdwm(ast, 0x1e6e0070, 0x00000003 | (datagen << 3)); in mmctestburst2_ast2150()
185 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmctestburst2_ast2150()
190 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmctestburst2_ast2150()
199 ast_moutdwm(ast, 0x1e6e0070, 0x00000000);
200 ast_moutdwm(ast, 0x1e6e0070, 0x00000005 | (datagen << 3));
205 ast_moutdwm(ast, 0x1e6e0070, 0x00000000);
210 ast_moutdwm(ast, 0x1e6e0070, 0x00000000);
230 ast_moutdwm(ast, 0x1e6e007c, pattern_AST2150[patcnt]); in cbrscan_ast2150()
252 ast_moutdwm(ast, 0x1e6e0068, dlli | (dlli << 8) | (dlli << 16) | (dlli << 24)); in cbrdlli_ast2150()
269 ast_moutdwm(ast, 0x1e6e0068, dlli | (dlli << 8) | (dlli << 16) | (dlli << 24)); in cbrdlli_ast2150()
456 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmc_test()
457 ast_moutdwm(ast, 0x1e6e0070, (datagen << 3) | test_ctl); in mmc_test()
464 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmc_test()
468 ast_moutdwm(ast, 0x1e6e0070, 0x0); in mmc_test()
476 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmc_test2()
477 ast_moutdwm(ast, 0x1e6e0070, (datagen << 3) | test_ctl); in mmc_test2()
482 ast_moutdwm(ast, 0x1e6e0070, 0x0); in mmc_test2()
488 ast_moutdwm(ast, 0x1e6e0070, 0x00000000); in mmc_test2()
543 ast_moutdwm(ast, 0x1e6e007c, pattern[patcnt]); in cbr_scan()
578 ast_moutdwm(ast, 0x1e6e007c, pattern[patcnt]); in cbr_scan2()
607 ast_moutdwm(ast, 0x1e6e007c, pattern[patcnt]); in cbr_scan3()
629 ast_moutdwm(ast, 0x1E6E0068, 0x00001400 | (dlli << 16) | (dlli << 24)); in finetuneDQI_L()
630 ast_moutdwm(ast, 0x1E6E0074, CBR_SIZE1); in finetuneDQI_L()
688 ast_moutdwm(ast, 0x1E6E0080, data); in finetuneDQI_L()
713 ast_moutdwm(ast, 0x1E6E0084, data); in finetuneDQI_L()
729 ast_moutdwm(ast, 0x1E6E0018, reg_mcr18); in finetuneDQSI()
744 ast_moutdwm(ast, 0x1E6E000C, 0); in finetuneDQSI()
745 ast_moutdwm(ast, 0x1E6E0018, reg_mcr18 | (dqidly << 16) | (dqsip << 23)); in finetuneDQSI()
746 ast_moutdwm(ast, 0x1E6E000C, reg_mcr0c); in finetuneDQSI()
748 ast_moutdwm(ast, 0x1E6E0068, 0x00001300 | (dlli << 16) | (dlli << 24)); in finetuneDQSI()
749 ast_moutdwm(ast, 0x1E6E0070, 0); in finetuneDQSI()
750 ast_moutdwm(ast, 0x1E6E0074, CBR_SIZE0); in finetuneDQSI()
804 ast_moutdwm(ast, 0x1E6E0018, reg_mcr18); in finetuneDQSI()
821 ast_moutdwm(ast, 0x1E6E0068, 0x00001300 | (dlli << 16) | (dlli << 24)); in cbr_dll2()
822 ast_moutdwm(ast, 0x1E6E0074, CBR_SIZE2); in cbr_dll2()
859 ast_moutdwm(ast, 0x1E6E0068, ast_mindwm(ast, 0x1E720058) | (dlli << 16)); in cbr_dll2()
867 ast_moutdwm(ast, 0x1E6E2000, 0x1688A8A8); in get_ddr3_info()
884 ast_moutdwm(ast, 0x1E6E2020, 0x0190); in get_ddr3_info()
912 ast_moutdwm(ast, 0x1E6E2020, 0x03F1); in get_ddr3_info()
942 ast_moutdwm(ast, 0x1E6E2020, 0x01F0); in get_ddr3_info()
972 ast_moutdwm(ast, 0x1E6E2020, 0x0230); in get_ddr3_info()
986 ast_moutdwm(ast, 0x1E6E2020, 0x0270); in get_ddr3_info()
1000 ast_moutdwm(ast, 0x1E6E2020, 0x0290); in get_ddr3_info()
1016 ast_moutdwm(ast, 0x1E6E2020, 0x0140); in get_ddr3_info()
1034 ast_moutdwm(ast, 0x1E6E2020, 0x02E1); in get_ddr3_info()
1052 ast_moutdwm(ast, 0x1E6E2020, 0x0160); in get_ddr3_info()
1110 ast_moutdwm(ast, 0x1E6E0000, 0xFC600309); in ddr3_init()
1111 ast_moutdwm(ast, 0x1E6E0018, 0x00000100); in ddr3_init()
1112 ast_moutdwm(ast, 0x1E6E0024, 0x00000000); in ddr3_init()
1113 ast_moutdwm(ast, 0x1E6E0034, 0x00000000); in ddr3_init()
1115 ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ); in ddr3_init()
1116 ast_moutdwm(ast, 0x1E6E0068, param->reg_SADJ); in ddr3_init()
1118 ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ | 0xC0000); in ddr3_init()
1121 ast_moutdwm(ast, 0x1E6E0004, param->dram_config); in ddr3_init()
1122 ast_moutdwm(ast, 0x1E6E0008, 0x90040f); in ddr3_init()
1123 ast_moutdwm(ast, 0x1E6E0010, param->reg_AC1); in ddr3_init()
1124 ast_moutdwm(ast, 0x1E6E0014, param->reg_AC2); in ddr3_init()
1125 ast_moutdwm(ast, 0x1E6E0020, param->reg_DQSIC); in ddr3_init()
1126 ast_moutdwm(ast, 0x1E6E0080, 0x00000000); in ddr3_init()
1127 ast_moutdwm(ast, 0x1E6E0084, 0x00000000); in ddr3_init()
1128 ast_moutdwm(ast, 0x1E6E0088, param->reg_DQIDLY); in ddr3_init()
1129 ast_moutdwm(ast, 0x1E6E0018, 0x4000A170); in ddr3_init()
1130 ast_moutdwm(ast, 0x1E6E0018, 0x00002370); in ddr3_init()
1131 ast_moutdwm(ast, 0x1E6E0038, 0x00000000); in ddr3_init()
1132 ast_moutdwm(ast, 0x1E6E0040, 0xFF444444); in ddr3_init()
1133 ast_moutdwm(ast, 0x1E6E0044, 0x22222222); in ddr3_init()
1134 ast_moutdwm(ast, 0x1E6E0048, 0x22222222); in ddr3_init()
1135 ast_moutdwm(ast, 0x1E6E004C, 0x00000002); in ddr3_init()
1136 ast_moutdwm(ast, 0x1E6E0050, 0x80000000); in ddr3_init()
1137 ast_moutdwm(ast, 0x1E6E0050, 0x00000000); in ddr3_init()
1138 ast_moutdwm(ast, 0x1E6E0054, 0); in ddr3_init()
1139 ast_moutdwm(ast, 0x1E6E0060, param->reg_DRV); in ddr3_init()
1140 ast_moutdwm(ast, 0x1E6E006C, param->reg_IOZ); in ddr3_init()
1141 ast_moutdwm(ast, 0x1E6E0070, 0x00000000); in ddr3_init()
1142 ast_moutdwm(ast, 0x1E6E0074, 0x00000000); in ddr3_init()
1143 ast_moutdwm(ast, 0x1E6E0078, 0x00000000); in ddr3_init()
1144 ast_moutdwm(ast, 0x1E6E007C, 0x00000000); in ddr3_init()
1156 ast_moutdwm(ast, 0x1E6E0064, data2); in ddr3_init()
1165 ast_moutdwm(ast, 0x1E6E0068, data); in ddr3_init()
1167 ast_moutdwm(ast, 0x1E6E0064, ast_mindwm(ast, 0x1E6E0064) | 0xC0000); in ddr3_init()
1170 ast_moutdwm(ast, 0x1E6E0018, data); in ddr3_init()
1172 ast_moutdwm(ast, 0x1E6E0018, data); in ddr3_init()
1180 ast_moutdwm(ast, 0x1E720058, ast_mindwm(ast, 0x1E6E0068) & 0xffff); in ddr3_init()
1182 ast_moutdwm(ast, 0x1E6E0018, data); in ddr3_init()
1184 ast_moutdwm(ast, 0x1E6E0034, 0x00000001); in ddr3_init()
1185 ast_moutdwm(ast, 0x1E6E000C, 0x00000040); in ddr3_init()
1188 ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS | 0x100); in ddr3_init()
1189 ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS); in ddr3_init()
1190 ast_moutdwm(ast, 0x1E6E0028, 0x00000005); in ddr3_init()
1191 ast_moutdwm(ast, 0x1E6E0028, 0x00000007); in ddr3_init()
1192 ast_moutdwm(ast, 0x1E6E0028, 0x00000003); in ddr3_init()
1193 ast_moutdwm(ast, 0x1E6E0028, 0x00000001); in ddr3_init()
1194 ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS); in ddr3_init()
1195 ast_moutdwm(ast, 0x1E6E000C, 0x00005C08); in ddr3_init()
1196 ast_moutdwm(ast, 0x1E6E0028, 0x00000001); in ddr3_init()
1198 ast_moutdwm(ast, 0x1E6E000C, 0x00005C01); in ddr3_init()
1206 ast_moutdwm(ast, 0x1E6E0034, data | 0x3); in ddr3_init()
1212 ast_moutdwm(ast, 0x1E6E0120, param->reg_FREQ); in ddr3_init()
1215 ast_moutdwm(ast, 0x1E6E007C, 0x00000000); in ddr3_init()
1216 ast_moutdwm(ast, 0x1E6E0070, 0x221); in ddr3_init()
1220 ast_moutdwm(ast, 0x1E6E0070, 0x00000000); in ddr3_init()
1221 ast_moutdwm(ast, 0x1E6E0050, 0x80000000); in ddr3_init()
1222 ast_moutdwm(ast, 0x1E6E0050, 0x00000000); in ddr3_init()
1232 ast_moutdwm(ast, 0x1E6E2000, 0x1688A8A8); in get_ddr2_info()
1249 ast_moutdwm(ast, 0x1E6E2020, 0x0130); in get_ddr2_info()
1264 ast_moutdwm(ast, 0x1E6E2020, 0x0190); in get_ddr2_info()
1295 ast_moutdwm(ast, 0x1E6E2020, 0x03F1); in get_ddr2_info()
1329 ast_moutdwm(ast, 0x1E6E2020, 0x01F0); in get_ddr2_info()
1362 ast_moutdwm(ast, 0x1E6E2020, 0x0230); in get_ddr2_info()
1377 ast_moutdwm(ast, 0x1E6E2020, 0x0261); in get_ddr2_info()
1393 ast_moutdwm(ast, 0x1E6E2020, 0x0120); in get_ddr2_info()
1409 ast_moutdwm(ast, 0x1E6E2020, 0x02A1); in get_ddr2_info()
1425 ast_moutdwm(ast, 0x1E6E2020, 0x0140); in get_ddr2_info()
1480 ast_moutdwm(ast, 0x1E6E0000, 0xFC600309); in ddr2_init()
1481 ast_moutdwm(ast, 0x1E6E0018, 0x00000100); in ddr2_init()
1482 ast_moutdwm(ast, 0x1E6E0024, 0x00000000); in ddr2_init()
1483 ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ); in ddr2_init()
1484 ast_moutdwm(ast, 0x1E6E0068, param->reg_SADJ); in ddr2_init()
1486 ast_moutdwm(ast, 0x1E6E0064, param->reg_MADJ | 0xC0000); in ddr2_init()
1489 ast_moutdwm(ast, 0x1E6E0004, param->dram_config); in ddr2_init()
1490 ast_moutdwm(ast, 0x1E6E0008, 0x90040f); in ddr2_init()
1491 ast_moutdwm(ast, 0x1E6E0010, param->reg_AC1); in ddr2_init()
1492 ast_moutdwm(ast, 0x1E6E0014, param->reg_AC2); in ddr2_init()
1493 ast_moutdwm(ast, 0x1E6E0020, param->reg_DQSIC); in ddr2_init()
1494 ast_moutdwm(ast, 0x1E6E0080, 0x00000000); in ddr2_init()
1495 ast_moutdwm(ast, 0x1E6E0084, 0x00000000); in ddr2_init()
1496 ast_moutdwm(ast, 0x1E6E0088, param->reg_DQIDLY); in ddr2_init()
1497 ast_moutdwm(ast, 0x1E6E0018, 0x4000A130); in ddr2_init()
1498 ast_moutdwm(ast, 0x1E6E0018, 0x00002330); in ddr2_init()
1499 ast_moutdwm(ast, 0x1E6E0038, 0x00000000); in ddr2_init()
1500 ast_moutdwm(ast, 0x1E6E0040, 0xFF808000); in ddr2_init()
1501 ast_moutdwm(ast, 0x1E6E0044, 0x88848466); in ddr2_init()
1502 ast_moutdwm(ast, 0x1E6E0048, 0x44440008); in ddr2_init()
1503 ast_moutdwm(ast, 0x1E6E004C, 0x00000000); in ddr2_init()
1504 ast_moutdwm(ast, 0x1E6E0050, 0x80000000); in ddr2_init()
1505 ast_moutdwm(ast, 0x1E6E0050, 0x00000000); in ddr2_init()
1506 ast_moutdwm(ast, 0x1E6E0054, 0); in ddr2_init()
1507 ast_moutdwm(ast, 0x1E6E0060, param->reg_DRV); in ddr2_init()
1508 ast_moutdwm(ast, 0x1E6E006C, param->reg_IOZ); in ddr2_init()
1509 ast_moutdwm(ast, 0x1E6E0070, 0x00000000); in ddr2_init()
1510 ast_moutdwm(ast, 0x1E6E0074, 0x00000000); in ddr2_init()
1511 ast_moutdwm(ast, 0x1E6E0078, 0x00000000); in ddr2_init()
1512 ast_moutdwm(ast, 0x1E6E007C, 0x00000000); in ddr2_init()
1525 ast_moutdwm(ast, 0x1E6E0064, data2); in ddr2_init()
1534 ast_moutdwm(ast, 0x1E6E0068, data); in ddr2_init()
1536 ast_moutdwm(ast, 0x1E6E0064, ast_mindwm(ast, 0x1E6E0064) | 0xC0000); in ddr2_init()
1539 ast_moutdwm(ast, 0x1E6E0018, data); in ddr2_init()
1541 ast_moutdwm(ast, 0x1E6E0018, data); in ddr2_init()
1549 ast_moutdwm(ast, 0x1E720058, ast_mindwm(ast, 0x1E6E0008) & 0xffff); in ddr2_init()
1551 ast_moutdwm(ast, 0x1E6E0018, data); in ddr2_init()
1553 ast_moutdwm(ast, 0x1E6E0034, 0x00000001); in ddr2_init()
1554 ast_moutdwm(ast, 0x1E6E000C, 0x00000000); in ddr2_init()
1557 ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS | 0x100); in ddr2_init()
1558 ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS); in ddr2_init()
1559 ast_moutdwm(ast, 0x1E6E0028, 0x00000005); in ddr2_init()
1560 ast_moutdwm(ast, 0x1E6E0028, 0x00000007); in ddr2_init()
1561 ast_moutdwm(ast, 0x1E6E0028, 0x00000003); in ddr2_init()
1562 ast_moutdwm(ast, 0x1E6E0028, 0x00000001); in ddr2_init()
1564 ast_moutdwm(ast, 0x1E6E000C, 0x00005C08); in ddr2_init()
1565 ast_moutdwm(ast, 0x1E6E002C, param->reg_MRS); in ddr2_init()
1566 ast_moutdwm(ast, 0x1E6E0028, 0x00000001); in ddr2_init()
1567 ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS | 0x380); in ddr2_init()
1568 ast_moutdwm(ast, 0x1E6E0028, 0x00000003); in ddr2_init()
1569 ast_moutdwm(ast, 0x1E6E0030, param->reg_EMRS); in ddr2_init()
1570 ast_moutdwm(ast, 0x1E6E0028, 0x00000003); in ddr2_init()
1572 ast_moutdwm(ast, 0x1E6E000C, 0x7FFF5C01); in ddr2_init()
1580 ast_moutdwm(ast, 0x1E6E0034, data | 0x3); in ddr2_init()
1581 ast_moutdwm(ast, 0x1E6E0120, param->reg_FREQ); in ddr2_init()
1589 ast_moutdwm(ast, 0x1E6E007C, 0x00000000); in ddr2_init()
1590 ast_moutdwm(ast, 0x1E6E0070, 0x221); in ddr2_init()
1594 ast_moutdwm(ast, 0x1E6E0070, 0x00000000); in ddr2_init()
1595 ast_moutdwm(ast, 0x1E6E0050, 0x80000000); in ddr2_init()
1596 ast_moutdwm(ast, 0x1E6E0050, 0x00000000); in ddr2_init()
1675 ast_moutdwm(ast, 0x1e6e2040, temp | 0x40); in ast_post_chip_2300()
1686 ast_moutdwm(ast, 0x1E6E0074, 0x0000FFFF); in cbr_test_2500()
1687 ast_moutdwm(ast, 0x1E6E007C, 0xFF00FF00); in cbr_test_2500()
1697 ast_moutdwm(ast, 0x1E6E0074, 0x0000FFFF); in ddr_test_2500()
1698 ast_moutdwm(ast, 0x1E6E007C, 0xFF00FF00); in ddr_test_2500()
1714 ast_moutdwm(ast, 0x1E6E0034, 0x00020080); in ddr_init_common_2500()
1715 ast_moutdwm(ast, 0x1E6E0008, 0x2003000F); in ddr_init_common_2500()
1716 ast_moutdwm(ast, 0x1E6E0038, 0x00000FFF); in ddr_init_common_2500()
1717 ast_moutdwm(ast, 0x1E6E0040, 0x88448844); in ddr_init_common_2500()
1718 ast_moutdwm(ast, 0x1E6E0044, 0x24422288); in ddr_init_common_2500()
1719 ast_moutdwm(ast, 0x1E6E0048, 0x22222222); in ddr_init_common_2500()
1720 ast_moutdwm(ast, 0x1E6E004C, 0x22222222); in ddr_init_common_2500()
1721 ast_moutdwm(ast, 0x1E6E0050, 0x80000000); in ddr_init_common_2500()
1722 ast_moutdwm(ast, 0x1E6E0208, 0x00000000); in ddr_init_common_2500()
1723 ast_moutdwm(ast, 0x1E6E0218, 0x00000000); in ddr_init_common_2500()
1724 ast_moutdwm(ast, 0x1E6E0220, 0x00000000); in ddr_init_common_2500()
1725 ast_moutdwm(ast, 0x1E6E0228, 0x00000000); in ddr_init_common_2500()
1726 ast_moutdwm(ast, 0x1E6E0230, 0x00000000); in ddr_init_common_2500()
1727 ast_moutdwm(ast, 0x1E6E02A8, 0x00000000); in ddr_init_common_2500()
1728 ast_moutdwm(ast, 0x1E6E02B0, 0x00000000); in ddr_init_common_2500()
1729 ast_moutdwm(ast, 0x1E6E0240, 0x86000000); in ddr_init_common_2500()
1730 ast_moutdwm(ast, 0x1E6E0244, 0x00008600); in ddr_init_common_2500()
1731 ast_moutdwm(ast, 0x1E6E0248, 0x80000000); in ddr_init_common_2500()
1732 ast_moutdwm(ast, 0x1E6E024C, 0x80808080); in ddr_init_common_2500()
1740 ast_moutdwm(ast, 0x1E6E0060, 0x00000005); in ddr_phy_init_2500()
1753 ast_moutdwm(ast, 0x1E6E0060, 0x00000000); in ddr_phy_init_2500()
1755 ast_moutdwm(ast, 0x1E6E0060, 0x00000005); in ddr_phy_init_2500()
1759 ast_moutdwm(ast, 0x1E6E0060, 0x00000006); in ddr_phy_init_2500()
1776 ast_moutdwm(ast, 0xA0100000, 0x41424344); in check_dram_size_2500()
1777 ast_moutdwm(ast, 0x90100000, 0x35363738); in check_dram_size_2500()
1778 ast_moutdwm(ast, 0x88100000, 0x292A2B2C); in check_dram_size_2500()
1779 ast_moutdwm(ast, 0x80100000, 0x1D1E1F10); in check_dram_size_2500()
1796 ast_moutdwm(ast, 0x1E6E0004, reg_04); in check_dram_size_2500()
1797 ast_moutdwm(ast, 0x1E6E0014, reg_14); in check_dram_size_2500()
1805 ast_moutdwm(ast, 0x1E6E0004, reg_04 | 0x1000); in enable_cache_2500()
1810 ast_moutdwm(ast, 0x1E6E0004, reg_04 | 0x400); in enable_cache_2500()
1818 ast_moutdwm(ast, 0x1E6E0000, 0xFC600309); in set_mpll_2500()
1819 ast_moutdwm(ast, 0x1E6E0034, 0x00020080); in set_mpll_2500()
1821 ast_moutdwm(ast, addr, 0x0); in set_mpll_2500()
1824 ast_moutdwm(ast, 0x1E6E0034, 0x00020000); in set_mpll_2500()
1826 ast_moutdwm(ast, 0x1E6E2000, 0x1688A8A8); in set_mpll_2500()
1831 ast_moutdwm(ast, 0x1E6E2160, 0x00011320); in set_mpll_2500()
1836 ast_moutdwm(ast, 0x1E6E2020, param); in set_mpll_2500()
1842 ast_moutdwm(ast, 0x1E78505C, 0x00000004); in reset_mmc_2500()
1843 ast_moutdwm(ast, 0x1E785044, 0x00000001); in reset_mmc_2500()
1844 ast_moutdwm(ast, 0x1E785048, 0x00004755); in reset_mmc_2500()
1845 ast_moutdwm(ast, 0x1E78504C, 0x00000013); in reset_mmc_2500()
1847 ast_moutdwm(ast, 0x1E785054, 0x00000077); in reset_mmc_2500()
1848 ast_moutdwm(ast, 0x1E6E0000, 0xFC600309); in reset_mmc_2500()
1854 ast_moutdwm(ast, 0x1E6E0004, 0x00000303); in ddr3_init_2500()
1855 ast_moutdwm(ast, 0x1E6E0010, ddr_table[REGIDX_010]); in ddr3_init_2500()
1856 ast_moutdwm(ast, 0x1E6E0014, ddr_table[REGIDX_014]); in ddr3_init_2500()
1857 ast_moutdwm(ast, 0x1E6E0018, ddr_table[REGIDX_018]); in ddr3_init_2500()
1858 ast_moutdwm(ast, 0x1E6E0020, ddr_table[REGIDX_020]); /* MODEREG4/6 */ in ddr3_init_2500()
1859 ast_moutdwm(ast, 0x1E6E0024, ddr_table[REGIDX_024]); /* MODEREG5 */ in ddr3_init_2500()
1860 ast_moutdwm(ast, 0x1E6E002C, ddr_table[REGIDX_02C] | 0x100); /* MODEREG0/2 */ in ddr3_init_2500()
1861 ast_moutdwm(ast, 0x1E6E0030, ddr_table[REGIDX_030]); /* MODEREG1/3 */ in ddr3_init_2500()
1864 ast_moutdwm(ast, 0x1E6E0200, 0x02492AAE); in ddr3_init_2500()
1865 ast_moutdwm(ast, 0x1E6E0204, 0x00001001); in ddr3_init_2500()
1866 ast_moutdwm(ast, 0x1E6E020C, 0x55E00B0B); in ddr3_init_2500()
1867 ast_moutdwm(ast, 0x1E6E0210, 0x20000000); in ddr3_init_2500()
1868 ast_moutdwm(ast, 0x1E6E0214, ddr_table[REGIDX_214]); in ddr3_init_2500()
1869 ast_moutdwm(ast, 0x1E6E02E0, ddr_table[REGIDX_2E0]); in ddr3_init_2500()
1870 ast_moutdwm(ast, 0x1E6E02E4, ddr_table[REGIDX_2E4]); in ddr3_init_2500()
1871 ast_moutdwm(ast, 0x1E6E02E8, ddr_table[REGIDX_2E8]); in ddr3_init_2500()
1872 ast_moutdwm(ast, 0x1E6E02EC, ddr_table[REGIDX_2EC]); in ddr3_init_2500()
1873 ast_moutdwm(ast, 0x1E6E02F0, ddr_table[REGIDX_2F0]); in ddr3_init_2500()
1874 ast_moutdwm(ast, 0x1E6E02F4, ddr_table[REGIDX_2F4]); in ddr3_init_2500()
1875 ast_moutdwm(ast, 0x1E6E02F8, ddr_table[REGIDX_2F8]); in ddr3_init_2500()
1876 ast_moutdwm(ast, 0x1E6E0290, 0x00100008); in ddr3_init_2500()
1877 ast_moutdwm(ast, 0x1E6E02C0, 0x00000006); in ddr3_init_2500()
1880 ast_moutdwm(ast, 0x1E6E0034, 0x00020091); in ddr3_init_2500()
1885 ast_moutdwm(ast, 0x1E6E0120, ddr_table[REGIDX_PLL]); in ddr3_init_2500()
1886 ast_moutdwm(ast, 0x1E6E000C, 0x42AA5C81); in ddr3_init_2500()
1887 ast_moutdwm(ast, 0x1E6E0034, 0x0001AF93); in ddr3_init_2500()
1891 ast_moutdwm(ast, 0x1E6E001C, 0x00000008); in ddr3_init_2500()
1892 ast_moutdwm(ast, 0x1E6E0038, 0xFFFFFF00); in ddr3_init_2500()
1902 ast_moutdwm(ast, 0x1E6E0004, 0x00000313); in ddr4_init_2500()
1903 ast_moutdwm(ast, 0x1E6E0010, ddr_table[REGIDX_010]); in ddr4_init_2500()
1904 ast_moutdwm(ast, 0x1E6E0014, ddr_table[REGIDX_014]); in ddr4_init_2500()
1905 ast_moutdwm(ast, 0x1E6E0018, ddr_table[REGIDX_018]); in ddr4_init_2500()
1906 ast_moutdwm(ast, 0x1E6E0020, ddr_table[REGIDX_020]); /* MODEREG4/6 */ in ddr4_init_2500()
1907 ast_moutdwm(ast, 0x1E6E0024, ddr_table[REGIDX_024]); /* MODEREG5 */ in ddr4_init_2500()
1908 ast_moutdwm(ast, 0x1E6E002C, ddr_table[REGIDX_02C] | 0x100); /* MODEREG0/2 */ in ddr4_init_2500()
1909 ast_moutdwm(ast, 0x1E6E0030, ddr_table[REGIDX_030]); /* MODEREG1/3 */ in ddr4_init_2500()
1912 ast_moutdwm(ast, 0x1E6E0200, 0x42492AAE); in ddr4_init_2500()
1913 ast_moutdwm(ast, 0x1E6E0204, 0x09002000); in ddr4_init_2500()
1914 ast_moutdwm(ast, 0x1E6E020C, 0x55E00B0B); in ddr4_init_2500()
1915 ast_moutdwm(ast, 0x1E6E0210, 0x20000000); in ddr4_init_2500()
1916 ast_moutdwm(ast, 0x1E6E0214, ddr_table[REGIDX_214]); in ddr4_init_2500()
1917 ast_moutdwm(ast, 0x1E6E02E0, ddr_table[REGIDX_2E0]); in ddr4_init_2500()
1918 ast_moutdwm(ast, 0x1E6E02E4, ddr_table[REGIDX_2E4]); in ddr4_init_2500()
1919 ast_moutdwm(ast, 0x1E6E02E8, ddr_table[REGIDX_2E8]); in ddr4_init_2500()
1920 ast_moutdwm(ast, 0x1E6E02EC, ddr_table[REGIDX_2EC]); in ddr4_init_2500()
1921 ast_moutdwm(ast, 0x1E6E02F0, ddr_table[REGIDX_2F0]); in ddr4_init_2500()
1922 ast_moutdwm(ast, 0x1E6E02F4, ddr_table[REGIDX_2F4]); in ddr4_init_2500()
1923 ast_moutdwm(ast, 0x1E6E02F8, ddr_table[REGIDX_2F8]); in ddr4_init_2500()
1924 ast_moutdwm(ast, 0x1E6E0290, 0x00100008); in ddr4_init_2500()
1925 ast_moutdwm(ast, 0x1E6E02C4, 0x3C183C3C); in ddr4_init_2500()
1926 ast_moutdwm(ast, 0x1E6E02C8, 0x00631E0E); in ddr4_init_2500()
1929 ast_moutdwm(ast, 0x1E6E0034, 0x0001A991); in ddr4_init_2500()
1937 ast_moutdwm(ast, 0x1E6E02C0, 0x00001C06); in ddr4_init_2500()
1939 ast_moutdwm(ast, 0x1E6E000C, 0x00000000); in ddr4_init_2500()
1940 ast_moutdwm(ast, 0x1E6E0060, 0x00000000); in ddr4_init_2500()
1941 ast_moutdwm(ast, 0x1E6E02CC, phy_vref | (phy_vref << 8)); in ddr4_init_2500()
1944 ast_moutdwm(ast, 0x1E6E000C, 0x00005C01); in ddr4_init_2500()
1960 ast_moutdwm(ast, 0x1E6E02CC, min_phy_vref | (min_phy_vref << 8)); in ddr4_init_2500()
1970 ast_moutdwm(ast, 0x1E6E000C, 0x00000000); in ddr4_init_2500()
1971 ast_moutdwm(ast, 0x1E6E0060, 0x00000000); in ddr4_init_2500()
1972 ast_moutdwm(ast, 0x1E6E02C0, 0x00000006 | (ddr_vref << 8)); in ddr4_init_2500()
1975 ast_moutdwm(ast, 0x1E6E000C, 0x00005C01); in ddr4_init_2500()
1987 ast_moutdwm(ast, 0x1E6E000C, 0x00000000); in ddr4_init_2500()
1988 ast_moutdwm(ast, 0x1E6E0060, 0x00000000); in ddr4_init_2500()
1990 ast_moutdwm(ast, 0x1E6E02C0, 0x00000006 | (ddr_vref << 8)); in ddr4_init_2500()
1995 ast_moutdwm(ast, 0x1E6E0120, ddr_table[REGIDX_PLL]); in ddr4_init_2500()
1996 ast_moutdwm(ast, 0x1E6E000C, 0x42AA5C81); in ddr4_init_2500()
1997 ast_moutdwm(ast, 0x1E6E0034, 0x0001AF93); in ddr4_init_2500()
2001 ast_moutdwm(ast, 0x1E6E001C, 0x00000008); in ddr4_init_2500()
2002 ast_moutdwm(ast, 0x1E6E0038, 0xFFFFFF00); in ddr4_init_2500()
2024 ast_moutdwm(ast, 0x1E6E2040, ast_mindwm(ast, 0x1E6E2040) | 0x41); in ast_dram_init_2500()
2028 ast_moutdwm(ast, 0x1E6E200C, data | 0x10000000); in ast_dram_init_2500()
2038 ast_moutdwm(ast, 0x1e600000, 0xAEED1A03); in ast_patch_ahb_2500()
2039 ast_moutdwm(ast, 0x1e600084, 0x00010000); in ast_patch_ahb_2500()
2040 ast_moutdwm(ast, 0x1e600088, 0x00000000); in ast_patch_ahb_2500()
2041 ast_moutdwm(ast, 0x1e6e2000, 0x1688A8A8); in ast_patch_ahb_2500()
2055 ast_moutdwm(ast, 0x1E785004, 0x00000010); in ast_patch_ahb_2500()
2056 ast_moutdwm(ast, 0x1E785008, 0x00004755); in ast_patch_ahb_2500()
2057 ast_moutdwm(ast, 0x1E78500c, 0x00000033); in ast_patch_ahb_2500()
2061 ast_moutdwm(ast, 0x1e6e2000, 0x1688A8A8); in ast_patch_ahb_2500()
2064 ast_moutdwm(ast, 0x1e6e207c, 0x08000000); /* clear fast reset */ in ast_patch_ahb_2500()
2079 ast_moutdwm(ast, 0x1E78502C, 0x00000000); in ast_post_chip_2500()
2080 ast_moutdwm(ast, 0x1E78504C, 0x00000000); in ast_post_chip_2500()
2095 ast_moutdwm(ast, 0x1E6E2090, 0x20000000); in ast_post_chip_2500()
2096 ast_moutdwm(ast, 0x1E6E2094, 0x00004000); in ast_post_chip_2500()
2098 ast_moutdwm(ast, 0x1E6E207C, 0x00800000); in ast_post_chip_2500()
2100 ast_moutdwm(ast, 0x1E6E2070, 0x00800000); in ast_post_chip_2500()
2105 ast_moutdwm(ast, 0x1E6E207C, 0x00004000); in ast_post_chip_2500()
2116 ast_moutdwm(ast, 0x1e6e2040, temp | 0x40); in ast_post_chip_2500()