Lines Matching refs:pr_to32
33 unsigned long pr_to32, pr_from32; in ddr_load_train_firmware() local
49 pr_to32 = DDR_TRAIN_CODE_BASE_ADDR + 4 * IMEM_OFFSET_ADDR; in ddr_load_train_firmware()
52 writew(tmp32 & 0x0000ffff, pr_to32); in ddr_load_train_firmware()
53 pr_to32 += 4; in ddr_load_train_firmware()
54 writew((tmp32 >> 16) & 0x0000ffff, pr_to32); in ddr_load_train_firmware()
55 pr_to32 += 4; in ddr_load_train_firmware()
61 pr_to32 = DDR_TRAIN_CODE_BASE_ADDR + 4 * DMEM_OFFSET_ADDR; in ddr_load_train_firmware()
64 writew(tmp32 & 0x0000ffff, pr_to32); in ddr_load_train_firmware()
65 pr_to32 += 4; in ddr_load_train_firmware()
66 writew((tmp32 >> 16) & 0x0000ffff, pr_to32); in ddr_load_train_firmware()
67 pr_to32 += 4; in ddr_load_train_firmware()
74 pr_to32 = DDR_TRAIN_CODE_BASE_ADDR + 4 * IMEM_OFFSET_ADDR; in ddr_load_train_firmware()
76 tmp32 = (readw(pr_to32) & 0x0000ffff); in ddr_load_train_firmware()
77 pr_to32 += 4; in ddr_load_train_firmware()
78 tmp32 += ((readw(pr_to32) & 0x0000ffff) << 16); in ddr_load_train_firmware()
81 debug("%lx %lx\n", pr_from32, pr_to32); in ddr_load_train_firmware()
85 pr_to32 += 4; in ddr_load_train_firmware()
95 pr_to32 = DDR_TRAIN_CODE_BASE_ADDR + 4 * DMEM_OFFSET_ADDR; in ddr_load_train_firmware()
97 tmp32 = (readw(pr_to32) & 0x0000ffff); in ddr_load_train_firmware()
98 pr_to32 += 4; in ddr_load_train_firmware()
99 tmp32 += ((readw(pr_to32) & 0x0000ffff) << 16); in ddr_load_train_firmware()
101 debug("%lx %lx\n", pr_from32, pr_to32); in ddr_load_train_firmware()
105 pr_to32 += 4; in ddr_load_train_firmware()