Lines Matching refs:mmio_read_32
24 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll()
28 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll()
31 data = mmio_read_32((0xf7800000 + 0x000)); in init_pll()
36 data = mmio_read_32((0xf7800000 + 0x014)); in init_pll()
56 data = mmio_read_32(0xf7032000 + 0x050); in init_pll()
90 data = mmio_read_32((0xf7032000 + 0x110)); in init_freq()
94 data = mmio_read_32((0xf7032000 + 0x110)); in init_freq()
99 data = mmio_read_32((0xf7032000 + 0x110)); in init_freq()
108 data = mmio_read_32((0xf6504000 + 0x008)); in init_freq()
115 data = mmio_read_32((0xf6504000 + 0x054)); in init_freq()
120 data = mmio_read_32((0xf7032000 + 0x104)); in init_freq()
125 data = mmio_read_32((0xf7032000 + 0x100)); in init_freq()
131 data = mmio_read_32((0xf7032000 + 0x100)); in init_freq()
135 data = mmio_read_32((0xf6504000 + 0x06c)); in init_freq()
140 data = mmio_read_32((0xf6504000 + 0x06c)); in init_freq()
145 data = mmio_read_32((0xf6504000 + 0x058)); in init_freq()
155 data = mmio_read_32((0xf6504000 + 0x054)); in init_freq()
162 data = mmio_read_32((0xf7032000 + 0x000)); in init_freq()
168 data = mmio_read_32((0xf7032000 + 0x134)); in init_freq()
171 data = mmio_read_32((0xf7032000 + 0x000)); in init_freq()
176 data = mmio_read_32((0xf7032000 + 0x378)); in init_freq()
182 data = mmio_read_32((0xf7032000 + 0x378)); in init_freq()
187 data = mmio_read_32((0xf7032000 + 0x37c)); in init_freq()
190 data = mmio_read_32((0xf7032000 + 0x104)); in init_freq()
200 data = mmio_read_32((0xf7032000 + 0x104)); in init_freq()
207 data = mmio_read_32((0xf7032000 + 0x000)); in init_freq()
211 data = mmio_read_32((0xf7032000 + 0x100)); in init_freq()
216 data = mmio_read_32((0xf7032000 + 0x100)); in init_freq()
221 data = mmio_read_32((0xf6504000 + 0x054)); in init_freq()
226 data = mmio_read_32((0xf7032000 + 0x110)); in init_freq()
238 data = mmio_read_32((0xf712c000 + 0x1c8)); in cat_533mhz_800mhz()
253 data = mmio_read_32((0xf712c000 + 0x070)); in cat_533mhz_800mhz()
256 data = mmio_read_32((0xf712c000 + 0x070)); in cat_533mhz_800mhz()
265 data = mmio_read_32((0xf712c000 + 0x004)); in cat_533mhz_800mhz()
268 data = mmio_read_32((0xf712c000 + 0x008)); in cat_533mhz_800mhz()
274 data = mmio_read_32((0xf712c000 + 0x1d4)); in cat_533mhz_800mhz()
276 bdl[0] = mmio_read_32((0xf712c000 + 0x140)); in cat_533mhz_800mhz()
277 bdl[1] = mmio_read_32((0xf712c000 + 0x144)); in cat_533mhz_800mhz()
278 bdl[2] = mmio_read_32((0xf712c000 + 0x148)); in cat_533mhz_800mhz()
279 bdl[3] = mmio_read_32((0xf712c000 + 0x14c)); in cat_533mhz_800mhz()
280 bdl[4] = mmio_read_32((0xf712c000 + 0x150)); in cat_533mhz_800mhz()
306 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_rdet()
311 data = mmio_read_32((0xf712c000 + 0x0dc)); in ddrx_rdet()
317 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_rdet()
320 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_rdet()
327 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_rdet()
334 data = mmio_read_32((0xf712c000 + 0x004)); in ddrx_rdet()
336 data = mmio_read_32((0xf712c000 + 0x008)); in ddrx_rdet()
340 bdl[0] = mmio_read_32((0xf712c000 + 0x22c)) & 0x7f; in ddrx_rdet()
341 bdl[1] = mmio_read_32((0xf712c000 + 0x2ac)) & 0x7f; in ddrx_rdet()
342 bdl[2] = mmio_read_32((0xf712c000 + 0x32c)) & 0x7f; in ddrx_rdet()
343 bdl[3] = mmio_read_32((0xf712c000 + 0x3ac)) & 0x7f; in ddrx_rdet()
345 data = mmio_read_32((0xf712c000 + 0x22c)); in ddrx_rdet()
349 data = mmio_read_32((0xf712c000 + 0x2ac)); in ddrx_rdet()
353 data = mmio_read_32((0xf712c000 + 0x32c)); in ddrx_rdet()
357 data = mmio_read_32((0xf712c000 + 0x3ac)); in ddrx_rdet()
363 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_rdet()
366 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_rdet()
373 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_rdet()
379 data = mmio_read_32((0xf712c000 + 0x004)); in ddrx_rdet()
382 data = mmio_read_32((0xf712c000 + 0x008)); in ddrx_rdet()
394 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_rdet()
401 data = mmio_read_32((0xf712c000 + 0x004)); in ddrx_rdet()
403 data = mmio_read_32((0xf712c000 + 0x008)); in ddrx_rdet()
413 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_wdet()
418 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_wdet()
421 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_wdet()
427 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_wdet()
433 data = mmio_read_32((0xf712c000 + 0x004)); in ddrx_wdet()
435 data = mmio_read_32((0xf712c000 + 0x008)); in ddrx_wdet()
439 dq[0] = mmio_read_32((0xf712c000 + 0x234)) & 0x1f00; in ddrx_wdet()
440 dq[1] = mmio_read_32((0xf712c000 + 0x2b4)) & 0x1f00; in ddrx_wdet()
441 dq[2] = mmio_read_32((0xf712c000 + 0x334)) & 0x1f00; in ddrx_wdet()
442 dq[3] = mmio_read_32((0xf712c000 + 0x3b4)) & 0x1f00; in ddrx_wdet()
450 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_wdet()
453 data = mmio_read_32((0xf712c000 + 0x070)); in ddrx_wdet()
459 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_wdet()
465 data = mmio_read_32((0xf712c000 + 0x004)); in ddrx_wdet()
468 data = mmio_read_32((0xf712c000 + 0x008)); in ddrx_wdet()
477 data = mmio_read_32((0xf712c000 + 0x210 + i * 0x80)); in ddrx_wdet()
481 data = mmio_read_32((0xf712c000 + 0x214 + i * 0x80)); in ddrx_wdet()
485 data = mmio_read_32((0xf712c000 + 0x218 + i * 0x80)); in ddrx_wdet()
501 data = mmio_read_32((0xf712c000 + 0x0d0)); in ddrx_wdet()
507 data = mmio_read_32((0xf712c000 + 0x004)); in ddrx_wdet()
509 data = mmio_read_32((0xf712c000 + 0x008)); in ddrx_wdet()
520 data = mmio_read_32((0xf7032000 + 0x104)); in set_ddrc_150mhz()
541 data = mmio_read_32((0xf712c000 + 0x078)); in set_ddrc_150mhz()
545 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_150mhz()
551 data = mmio_read_32((0xf712c000 + 0x1e4)); in set_ddrc_150mhz()
561 data = mmio_read_32((0xf712c000 + 0x070)); in set_ddrc_150mhz()
565 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_150mhz()
568 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_150mhz()
571 data = mmio_read_32((0xf712c000 + 0x080)); in set_ddrc_150mhz()
595 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_150mhz()
597 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_150mhz()
603 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_150mhz()
608 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_150mhz()
611 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_150mhz()
617 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_150mhz()
629 data = mmio_read_32((0xf7032000 + 0x104)); in set_ddrc_266mhz()
650 data = mmio_read_32((0xf712c000 + 0x078)); in set_ddrc_266mhz()
654 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_266mhz()
660 data = mmio_read_32((0xf712c000 + 0x1e4)); in set_ddrc_266mhz()
670 data = mmio_read_32((0xf712c000 + 0x070)); in set_ddrc_266mhz()
674 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_266mhz()
677 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_266mhz()
680 data = mmio_read_32((0xf712c000 + 0x080)); in set_ddrc_266mhz()
704 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_266mhz()
706 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_266mhz()
712 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_266mhz()
717 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_266mhz()
720 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_266mhz()
726 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_266mhz()
738 data = mmio_read_32((0xf7032000 + 0x104)); in set_ddrc_400mhz()
759 data = mmio_read_32((0xf712c000 + 0x078)); in set_ddrc_400mhz()
763 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_400mhz()
769 data = mmio_read_32((0xf712c000 + 0x1e4)); in set_ddrc_400mhz()
779 data = mmio_read_32((0xf712c000 + 0x070)); in set_ddrc_400mhz()
783 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_400mhz()
786 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_400mhz()
789 data = mmio_read_32((0xf712c000 + 0x080)); in set_ddrc_400mhz()
813 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_400mhz()
815 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_400mhz()
821 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_400mhz()
826 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_400mhz()
829 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_400mhz()
835 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_400mhz()
847 data = mmio_read_32((0xf7032000 + 0x104)); in set_ddrc_533mhz()
868 data = mmio_read_32((0xf712c000 + 0x078)); in set_ddrc_533mhz()
872 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_533mhz()
878 data = mmio_read_32((0xf712c000 + 0x1e4)); in set_ddrc_533mhz()
888 data = mmio_read_32((0xf712c000 + 0x070)); in set_ddrc_533mhz()
892 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_533mhz()
895 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_533mhz()
898 data = mmio_read_32((0xf712c000 + 0x080)); in set_ddrc_533mhz()
910 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_533mhz()
912 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_533mhz()
933 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_533mhz()
935 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_533mhz()
943 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_533mhz()
948 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_533mhz()
951 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_533mhz()
957 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_533mhz()
969 data = mmio_read_32((0xf7032000 + 0x104)); in set_ddrc_800mhz()
990 data = mmio_read_32((0xf712c000 + 0x078)); in set_ddrc_800mhz()
994 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_800mhz()
1000 data = mmio_read_32((0xf712c000 + 0x1e4)); in set_ddrc_800mhz()
1010 data = mmio_read_32((0xf712c000 + 0x070)); in set_ddrc_800mhz()
1014 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_800mhz()
1017 data = mmio_read_32((0xf712c000 + 0x020)); in set_ddrc_800mhz()
1020 data = mmio_read_32((0xf712c000 + 0x080)); in set_ddrc_800mhz()
1032 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_800mhz()
1034 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_800mhz()
1055 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_800mhz()
1057 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_800mhz()
1065 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_800mhz()
1070 data = mmio_read_32((0xf712c000 + 0x004)); in set_ddrc_800mhz()
1073 data = mmio_read_32((0xf712c000 + 0x008)); in set_ddrc_800mhz()
1079 data = mmio_read_32((0xf712c000 + 0x048)); in set_ddrc_800mhz()
1103 data = mmio_read_32((0xf7128000 + 0x280)); in ddrc_common_init()
1113 data = mmio_read_32((0xf712c000 + 0x080)); in ddrc_common_init()
1119 data = mmio_read_32((0xf7128000 + 0x294)); in ddrc_common_init()
1133 data = mmio_read_32((0xf7128000 + 0x00c)); in dienum_det_and_rowcol_cfg()
1135 data = mmio_read_32((0xf7128000 + 0x4a8)) & 0xfc; in dienum_det_and_rowcol_cfg()
1176 data = mmio_read_32((0xf7128000 + 0x00c)); in detect_ddr_chip_info()
1179 data = mmio_read_32((0xf7128000 + 0x4a8)); in detect_ddr_chip_info()
1200 data = mmio_read_32((0xf7128000 + 0x00c)); in detect_ddr_chip_info()
1202 data = mmio_read_32((0xf7128000 + 0x4a8)); in detect_ddr_chip_info()
1208 data = mmio_read_32((0xf7128000 + 0x00c)); in detect_ddr_chip_info()
1210 data = mmio_read_32((0xf7128000 + 0x4a8)); in detect_ddr_chip_info()
1229 value = mmio_read_32(0xf712c000 + 0x22c + i * 0x80); in lpddrx_save_ddl_para_bypass()
1231 value = mmio_read_32(0xf712c000 + 0x23c + i * 0x80); in lpddrx_save_ddl_para_bypass()
1233 value = mmio_read_32(0xf712c000 + 0x240 + i * 0x80); in lpddrx_save_ddl_para_bypass()
1235 value = mmio_read_32(0xf712c000 + 0x640 + i * 0x80); in lpddrx_save_ddl_para_bypass()
1246 value = mmio_read_32(0xf712c000 + 0x140); in lpddrx_save_ddl_para_mission()
1248 value = mmio_read_32(0xf712c000 + 0x144); in lpddrx_save_ddl_para_mission()
1250 value = mmio_read_32(0xf712c000 + 0x148); in lpddrx_save_ddl_para_mission()
1252 value = mmio_read_32(0xf712c000 + 0x14c); in lpddrx_save_ddl_para_mission()
1254 value = mmio_read_32(0xf712c000 + 0x150); in lpddrx_save_ddl_para_mission()
1256 value = mmio_read_32(0xf712c000 + 0x1d4); in lpddrx_save_ddl_para_mission()
1259 value = mmio_read_32(0xf712c000 + 0x210 + i * 0x80); in lpddrx_save_ddl_para_mission()
1261 value = mmio_read_32(0xf712c000 + 0x214 + i * 0x80); in lpddrx_save_ddl_para_mission()
1263 value = mmio_read_32(0xf712c000 + 0x218 + i * 0x80); in lpddrx_save_ddl_para_mission()
1265 value = mmio_read_32(0xf712c000 + 0x21c + i * 0x80); in lpddrx_save_ddl_para_mission()
1267 value = mmio_read_32(0xf712c000 + 0x220 + i * 0x80); in lpddrx_save_ddl_para_mission()
1269 value = mmio_read_32(0xf712c000 + 0x224 + i * 0x80); in lpddrx_save_ddl_para_mission()
1271 value = mmio_read_32(0xf712c000 + 0x228 + i * 0x80); in lpddrx_save_ddl_para_mission()
1273 value = mmio_read_32(0xf712c000 + 0x22c + i * 0x80); in lpddrx_save_ddl_para_mission()
1275 value = mmio_read_32(0xf712c000 + 0x230 + i * 0x80); in lpddrx_save_ddl_para_mission()
1277 value = mmio_read_32(0xf712c000 + 0x234 + i * 0x80); in lpddrx_save_ddl_para_mission()
1279 value = mmio_read_32(0xf712c000 + 0x238 + i * 0x80); in lpddrx_save_ddl_para_mission()
1281 value = mmio_read_32(0xf712c000 + 0x23c + i * 0x80); in lpddrx_save_ddl_para_mission()
1283 value = mmio_read_32(0xf712c000 + 0x240 + i * 0x80); in lpddrx_save_ddl_para_mission()
1285 value = mmio_read_32(0xf712c000 + 0x640 + i * 0x80); in lpddrx_save_ddl_para_mission()
1288 value = mmio_read_32(0xf712c000 + 0x168); in lpddrx_save_ddl_para_mission()
1290 value = mmio_read_32(0xf712c000 + 0x24c + 0 * 0x80); in lpddrx_save_ddl_para_mission()
1292 value = mmio_read_32(0xf712c000 + 0x24c + 2 * 0x80); in lpddrx_save_ddl_para_mission()
1333 data = mmio_read_32((0xf7032000 + 0x030)); in init_ddr()
1336 data = mmio_read_32((0xf7032000 + 0x010)); in init_ddr()
1342 data = mmio_read_32((0xf7032000 + 0x030)); in init_ddr()
1346 data = mmio_read_32((0xf7032000 + 0x010)); in init_ddr()
1386 data = mmio_read_32((0xf7124000 + 0x09c)); in init_ddrc_qos()
1390 data = mmio_read_32((0xf7124000 + 0x0ac)); in init_ddrc_qos()
1425 data = mmio_read_32(0xf7032000 + 0x010); in hikey_ddr_init()
1429 data = mmio_read_32(0xf7032000 + 0x030); in hikey_ddr_init()
1433 data = mmio_read_32(0xf7032000 + 0x010); in hikey_ddr_init()
1436 data = mmio_read_32(0xf7032000 + 0x030); in hikey_ddr_init()
1449 INFO("ddr test value:0x%x\n", mmio_read_32(0x4)); in hikey_ddr_init()