Lines Matching refs:denali_pi

293 	u32 *denali_pi = chan->pi->denali_pi;  in set_memory_map()  local
321 clrsetbits_le32(&denali_pi[199], 0xF, (12 - sdram_ch->cap_info.col)); in set_memory_map()
324 clrsetbits_le32(&denali_pi[155], (0x3 << 16) | (0x7 << 24), in set_memory_map()
338 clrsetbits_le32(&denali_pi[41], 0xf << 24, cs_map << 24); in set_memory_map()
340 writel(0x2EC7FFFF, &denali_pi[34]); in set_memory_map()
894 u32 *denali_pi = chan->pi->denali_pi; in pctl_cfg() local
925 sdram_copy_to_reg(denali_pi, &params->pi_regs.denali_pi[0], in pctl_cfg()
947 setbits_le32(&denali_pi[0], START); in pctl_cfg()
1083 u32 *denali_pi = chan->pi->denali_pi; in data_training_ca() local
1091 writel(0x00003f7c, (&denali_pi[175])); in data_training_ca()
1105 clrsetbits_le32(&denali_pi[100], 0x3 << 8, 0x2 << 8); in data_training_ca()
1108 clrsetbits_le32(&denali_pi[92], in data_training_ca()
1115 tmp = readl(&denali_pi[174]) >> 8; in data_training_ca()
1138 writel(0x00003f7c, (&denali_pi[175])); in data_training_ca()
1141 clrbits_le32(&denali_pi[100], 0x3 << 8); in data_training_ca()
1149 u32 *denali_pi = chan->pi->denali_pi; in data_training_wl() local
1156 writel(0x00003f7c, (&denali_pi[175])); in data_training_wl()
1162 clrsetbits_le32(&denali_pi[60], 0x3 << 8, 0x2 << 8); in data_training_wl()
1165 clrsetbits_le32(&denali_pi[59], in data_training_wl()
1172 tmp = readl(&denali_pi[174]) >> 8; in data_training_wl()
1199 writel(0x00003f7c, (&denali_pi[175])); in data_training_wl()
1203 clrbits_le32(&denali_pi[60], 0x3 << 8); in data_training_wl()
1211 u32 *denali_pi = chan->pi->denali_pi; in data_training_rg() local
1218 writel(0x00003f7c, (&denali_pi[175])); in data_training_rg()
1224 clrsetbits_le32(&denali_pi[80], 0x3 << 24, 0x2 << 24); in data_training_rg()
1230 clrsetbits_le32(&denali_pi[74], in data_training_rg()
1237 tmp = readl(&denali_pi[174]) >> 8; in data_training_rg()
1264 writel(0x00003f7c, (&denali_pi[175])); in data_training_rg()
1267 clrbits_le32(&denali_pi[80], 0x3 << 24); in data_training_rg()
1275 u32 *denali_pi = chan->pi->denali_pi; in data_training_rl() local
1280 writel(0x00003f7c, (&denali_pi[175])); in data_training_rl()
1286 clrsetbits_le32(&denali_pi[80], 0x3 << 16, 0x2 << 16); in data_training_rl()
1289 clrsetbits_le32(&denali_pi[74], in data_training_rl()
1296 tmp = readl(&denali_pi[174]) >> 8; in data_training_rl()
1312 writel(0x00003f7c, (&denali_pi[175])); in data_training_rl()
1315 clrbits_le32(&denali_pi[80], 0x3 << 16); in data_training_rl()
1323 u32 *denali_pi = chan->pi->denali_pi; in data_training_wdql() local
1329 writel(0x00003f7c, (&denali_pi[175])); in data_training_wdql()
1346 clrbits_le32(&denali_pi[117], 0x1 << 8); in data_training_wdql()
1348 clrsetbits_le32(&denali_pi[124], 0x3 << 16, 0x2 << 16); in data_training_wdql()
1351 clrsetbits_le32(&denali_pi[121], in data_training_wdql()
1358 tmp = readl(&denali_pi[174]) >> 8; in data_training_wdql()
1368 writel(0x00003f7c, (&denali_pi[175])); in data_training_wdql()
1371 clrbits_le32(&denali_pi[124], 0x3 << 16); in data_training_wdql()
1707 denali_pi_params = params->pi_regs.denali_pi; in modify_param()
1742 return reg ? &chan->pi->denali_pi : &params->pi_regs.denali_pi; in get_denali_pi()
1899 u32 *denali_pi = get_denali_pi(chan, params, ctl_phy_reg); in set_lpddr4_dq_odt() local
1914 clrsetbits_le32(&denali_pi[132], 0x7 << 0, (reg_value << 0)); in set_lpddr4_dq_odt()
1915 clrsetbits_le32(&denali_pi[139], 0x7 << 16, (reg_value << 16)); in set_lpddr4_dq_odt()
1916 clrsetbits_le32(&denali_pi[147], 0x7 << 0, (reg_value << 0)); in set_lpddr4_dq_odt()
1917 clrsetbits_le32(&denali_pi[154], 0x7 << 16, (reg_value << 16)); in set_lpddr4_dq_odt()
1923 clrsetbits_le32(&denali_pi[129], 0x7 << 16, (reg_value << 16)); in set_lpddr4_dq_odt()
1924 clrsetbits_le32(&denali_pi[137], 0x7 << 0, (reg_value << 0)); in set_lpddr4_dq_odt()
1925 clrsetbits_le32(&denali_pi[144], 0x7 << 16, (reg_value << 16)); in set_lpddr4_dq_odt()
1926 clrsetbits_le32(&denali_pi[152], 0x7 << 0, (reg_value << 0)); in set_lpddr4_dq_odt()
1933 clrsetbits_le32(&denali_pi[127], 0x7 << 0, (reg_value << 0)); in set_lpddr4_dq_odt()
1934 clrsetbits_le32(&denali_pi[134], 0x7 << 16, (reg_value << 16)); in set_lpddr4_dq_odt()
1935 clrsetbits_le32(&denali_pi[142], 0x7 << 0, (reg_value << 0)); in set_lpddr4_dq_odt()
1936 clrsetbits_le32(&denali_pi[149], 0x7 << 16, (reg_value << 16)); in set_lpddr4_dq_odt()
1946 u32 *denali_pi = get_denali_pi(chan, params, ctl_phy_reg); in set_lpddr4_ca_odt() local
1961 clrsetbits_le32(&denali_pi[132], 0x7 << 4, reg_value << 4); in set_lpddr4_ca_odt()
1962 clrsetbits_le32(&denali_pi[139], 0x7 << 20, reg_value << 20); in set_lpddr4_ca_odt()
1963 clrsetbits_le32(&denali_pi[147], 0x7 << 4, reg_value << 4); in set_lpddr4_ca_odt()
1964 clrsetbits_le32(&denali_pi[154], 0x7 << 20, reg_value << 20); in set_lpddr4_ca_odt()
1970 clrsetbits_le32(&denali_pi[129], 0x7 << 20, reg_value << 20); in set_lpddr4_ca_odt()
1971 clrsetbits_le32(&denali_pi[137], 0x7 << 4, reg_value << 4); in set_lpddr4_ca_odt()
1972 clrsetbits_le32(&denali_pi[144], 0x7 << 20, reg_value << 20); in set_lpddr4_ca_odt()
1973 clrsetbits_le32(&denali_pi[152], 0x7 << 4, reg_value << 4); in set_lpddr4_ca_odt()
1980 clrsetbits_le32(&denali_pi[127], 0x7 << 4, reg_value << 4); in set_lpddr4_ca_odt()
1981 clrsetbits_le32(&denali_pi[134], 0x7 << 20, reg_value << 20); in set_lpddr4_ca_odt()
1982 clrsetbits_le32(&denali_pi[142], 0x7 << 4, reg_value << 4); in set_lpddr4_ca_odt()
1983 clrsetbits_le32(&denali_pi[149], 0x7 << 20, reg_value << 20); in set_lpddr4_ca_odt()
1993 u32 *denali_pi = get_denali_pi(chan, params, ctl_phy_reg); in set_lpddr4_MR3() local
2006 clrsetbits_le32(&denali_pi[131], 0xFFFF << 16, reg_value << 16); in set_lpddr4_MR3()
2007 clrsetbits_le32(&denali_pi[139], 0xFFFF, reg_value); in set_lpddr4_MR3()
2008 clrsetbits_le32(&denali_pi[146], 0xFFFF << 16, reg_value << 16); in set_lpddr4_MR3()
2009 clrsetbits_le32(&denali_pi[154], 0xFFFF, reg_value); in set_lpddr4_MR3()
2017 clrsetbits_le32(&denali_pi[129], 0xFFFF, reg_value); in set_lpddr4_MR3()
2018 clrsetbits_le32(&denali_pi[136], 0xFFFF << 16, reg_value << 16); in set_lpddr4_MR3()
2019 clrsetbits_le32(&denali_pi[144], 0xFFFF, reg_value); in set_lpddr4_MR3()
2020 clrsetbits_le32(&denali_pi[151], 0xFFFF << 16, reg_value << 16); in set_lpddr4_MR3()
2027 clrsetbits_le32(&denali_pi[126], 0xFFFF << 16, reg_value << 16); in set_lpddr4_MR3()
2028 clrsetbits_le32(&denali_pi[134], 0xFFFF, reg_value); in set_lpddr4_MR3()
2029 clrsetbits_le32(&denali_pi[141], 0xFFFF << 16, reg_value << 16); in set_lpddr4_MR3()
2030 clrsetbits_le32(&denali_pi[149], 0xFFFF, reg_value); in set_lpddr4_MR3()
2040 u32 *denali_pi = get_denali_pi(chan, params, ctl_phy_reg); in set_lpddr4_MR12() local
2055 clrsetbits_le32(&denali_pi[132], 0xFF << 8, reg_value << 8); in set_lpddr4_MR12()
2056 clrsetbits_le32(&denali_pi[139], 0xFF << 24, reg_value << 24); in set_lpddr4_MR12()
2057 clrsetbits_le32(&denali_pi[147], 0xFF << 8, reg_value << 8); in set_lpddr4_MR12()
2058 clrsetbits_le32(&denali_pi[154], 0xFF << 24, reg_value << 24); in set_lpddr4_MR12()
2064 clrsetbits_le32(&denali_pi[129], 0xFF << 24, reg_value << 24); in set_lpddr4_MR12()
2065 clrsetbits_le32(&denali_pi[137], 0xFF << 8, reg_value << 8); in set_lpddr4_MR12()
2066 clrsetbits_le32(&denali_pi[144], 0xFF << 24, reg_value << 24); in set_lpddr4_MR12()
2067 clrsetbits_le32(&denali_pi[152], 0xFF << 8, reg_value << 8); in set_lpddr4_MR12()
2076 clrsetbits_le32(&denali_pi[127], 0xFF << 8, reg_value << 8); in set_lpddr4_MR12()
2077 clrsetbits_le32(&denali_pi[134], 0xFF << 24, reg_value << 24); in set_lpddr4_MR12()
2078 clrsetbits_le32(&denali_pi[142], 0xFF << 8, reg_value << 8); in set_lpddr4_MR12()
2079 clrsetbits_le32(&denali_pi[149], 0xFF << 24, reg_value << 24); in set_lpddr4_MR12()
2089 u32 *denali_pi = get_denali_pi(chan, params, ctl_phy_reg); in set_lpddr4_MR14() local
2104 clrsetbits_le32(&denali_pi[132], 0xFF << 16, reg_value << 16); in set_lpddr4_MR14()
2105 clrsetbits_le32(&denali_pi[140], 0xFF << 0, reg_value << 0); in set_lpddr4_MR14()
2106 clrsetbits_le32(&denali_pi[147], 0xFF << 16, reg_value << 16); in set_lpddr4_MR14()
2107 clrsetbits_le32(&denali_pi[155], 0xFF << 0, reg_value << 0); in set_lpddr4_MR14()
2113 clrsetbits_le32(&denali_pi[130], 0xFF << 0, reg_value << 0); in set_lpddr4_MR14()
2114 clrsetbits_le32(&denali_pi[137], 0xFF << 16, reg_value << 16); in set_lpddr4_MR14()
2115 clrsetbits_le32(&denali_pi[145], 0xFF << 0, reg_value << 0); in set_lpddr4_MR14()
2116 clrsetbits_le32(&denali_pi[152], 0xFF << 16, reg_value << 16); in set_lpddr4_MR14()
2125 clrsetbits_le32(&denali_pi[127], 0xFF << 16, reg_value << 16); in set_lpddr4_MR14()
2126 clrsetbits_le32(&denali_pi[135], 0xFF << 0, reg_value << 0); in set_lpddr4_MR14()
2127 clrsetbits_le32(&denali_pi[142], 0xFF << 16, reg_value << 16); in set_lpddr4_MR14()
2128 clrsetbits_le32(&denali_pi[150], 0xFF << 0, reg_value << 0); in set_lpddr4_MR14()
2142 denali_pi_params = params->pi_regs.denali_pi; in lpddr4_modify_param()
2573 u32 *denali_pi = chan->pi->denali_pi; in dram_set_cs() local
2588 clrsetbits_le32(&denali_pi[41], in dram_set_cs()
2591 writel(0x2EC7FFFF, &denali_pi[34]); in dram_set_cs()
2608 u32 *denali_pi = chan->pi->denali_pi; in dram_set_max_col() local
2616 clrbits_le32(&denali_pi[199], 0xf); in dram_set_max_col()
2618 clrsetbits_le32(&denali_pi[155], in dram_set_max_col()
2634 u32 *denali_pi = chan->pi->denali_pi; in dram_set_max_bank() local
2639 clrbits_le32(&denali_pi[199], 0xf); in dram_set_max_bank()
2641 clrbits_le32(&denali_pi[155], (3 << 16)); in dram_set_max_bank()
2651 u32 *denali_pi = chan->pi->denali_pi; in dram_set_max_row() local
2658 clrsetbits_le32(&denali_pi[199], 0xf, 12 - 10); in dram_set_max_row()
2660 clrbits_le32(&denali_pi[155], in dram_set_max_row()