Lines Matching refs:ddrss_ctl_writel

60 #define ddrss_ctl_writel(off, val) ddrss_writel(ddrss->ddrss_ctl_cfg, off, val)  macro
118 ddrss_ctl_writel(DDRSS_DDRCTL_MSTR, reg->ddrctl_mstr); in am654_ddrss_ctrl_configuration()
119 ddrss_ctl_writel(DDRSS_DDRCTL_RFSHCTL0, reg->ddrctl_rfshctl0); in am654_ddrss_ctrl_configuration()
120 ddrss_ctl_writel(DDRSS_DDRCTL_RFSHTMG, reg->ddrctl_rfshtmg); in am654_ddrss_ctrl_configuration()
122 ddrss_ctl_writel(DDRSS_DDRCTL_ECCCFG0, ecc->ddrctl_ecccfg0); in am654_ddrss_ctrl_configuration()
123 ddrss_ctl_writel(DDRSS_DDRCTL_CRCPARCTL0, crc->ddrctl_crcparctl0); in am654_ddrss_ctrl_configuration()
124 ddrss_ctl_writel(DDRSS_DDRCTL_CRCPARCTL1, crc->ddrctl_crcparctl1); in am654_ddrss_ctrl_configuration()
125 ddrss_ctl_writel(DDRSS_DDRCTL_CRCPARCTL2, crc->ddrctl_crcparctl2); in am654_ddrss_ctrl_configuration()
127 ddrss_ctl_writel(DDRSS_DDRCTL_INIT0, reg->ddrctl_init0); in am654_ddrss_ctrl_configuration()
128 ddrss_ctl_writel(DDRSS_DDRCTL_INIT1, reg->ddrctl_init1); in am654_ddrss_ctrl_configuration()
129 ddrss_ctl_writel(DDRSS_DDRCTL_INIT3, reg->ddrctl_init3); in am654_ddrss_ctrl_configuration()
130 ddrss_ctl_writel(DDRSS_DDRCTL_INIT4, reg->ddrctl_init4); in am654_ddrss_ctrl_configuration()
131 ddrss_ctl_writel(DDRSS_DDRCTL_INIT5, reg->ddrctl_init5); in am654_ddrss_ctrl_configuration()
132 ddrss_ctl_writel(DDRSS_DDRCTL_INIT6, reg->ddrctl_init6); in am654_ddrss_ctrl_configuration()
133 ddrss_ctl_writel(DDRSS_DDRCTL_INIT7, reg->ddrctl_init7); in am654_ddrss_ctrl_configuration()
135 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG0, tmg->ddrctl_dramtmg0); in am654_ddrss_ctrl_configuration()
136 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG1, tmg->ddrctl_dramtmg1); in am654_ddrss_ctrl_configuration()
137 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG2, tmg->ddrctl_dramtmg2); in am654_ddrss_ctrl_configuration()
138 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG3, tmg->ddrctl_dramtmg3); in am654_ddrss_ctrl_configuration()
139 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG4, tmg->ddrctl_dramtmg4); in am654_ddrss_ctrl_configuration()
140 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG5, tmg->ddrctl_dramtmg5); in am654_ddrss_ctrl_configuration()
141 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG8, tmg->ddrctl_dramtmg8); in am654_ddrss_ctrl_configuration()
142 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG9, tmg->ddrctl_dramtmg9); in am654_ddrss_ctrl_configuration()
143 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG11, tmg->ddrctl_dramtmg11); in am654_ddrss_ctrl_configuration()
144 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG12, tmg->ddrctl_dramtmg12); in am654_ddrss_ctrl_configuration()
145 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG13, tmg->ddrctl_dramtmg13); in am654_ddrss_ctrl_configuration()
146 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG15, tmg->ddrctl_dramtmg15); in am654_ddrss_ctrl_configuration()
147 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG17, tmg->ddrctl_dramtmg17); in am654_ddrss_ctrl_configuration()
149 ddrss_ctl_writel(DDRSS_DDRCTL_ZQCTL0, reg->ddrctl_zqctl0); in am654_ddrss_ctrl_configuration()
150 ddrss_ctl_writel(DDRSS_DDRCTL_ZQCTL1, reg->ddrctl_zqctl1); in am654_ddrss_ctrl_configuration()
152 ddrss_ctl_writel(DDRSS_DDRCTL_DFITMG0, reg->ddrctl_dfitmg0); in am654_ddrss_ctrl_configuration()
153 ddrss_ctl_writel(DDRSS_DDRCTL_DFITMG1, reg->ddrctl_dfitmg1); in am654_ddrss_ctrl_configuration()
154 ddrss_ctl_writel(DDRSS_DDRCTL_DFITMG2, reg->ddrctl_dfitmg2); in am654_ddrss_ctrl_configuration()
156 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP0, map->ddrctl_addrmap0); in am654_ddrss_ctrl_configuration()
157 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP1, map->ddrctl_addrmap1); in am654_ddrss_ctrl_configuration()
158 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP2, map->ddrctl_addrmap2); in am654_ddrss_ctrl_configuration()
159 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP3, map->ddrctl_addrmap3); in am654_ddrss_ctrl_configuration()
160 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP4, map->ddrctl_addrmap4); in am654_ddrss_ctrl_configuration()
161 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP5, map->ddrctl_addrmap5); in am654_ddrss_ctrl_configuration()
162 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP6, map->ddrctl_addrmap6); in am654_ddrss_ctrl_configuration()
163 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP7, map->ddrctl_addrmap7); in am654_ddrss_ctrl_configuration()
164 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP8, map->ddrctl_addrmap8); in am654_ddrss_ctrl_configuration()
165 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP9, map->ddrctl_addrmap9); in am654_ddrss_ctrl_configuration()
166 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP10, map->ddrctl_addrmap10); in am654_ddrss_ctrl_configuration()
167 ddrss_ctl_writel(DDRSS_DDRCTL_ADDRMAP11, map->ddrctl_addrmap11); in am654_ddrss_ctrl_configuration()
169 ddrss_ctl_writel(DDRSS_DDRCTL_ODTCFG, reg->ddrctl_odtcfg); in am654_ddrss_ctrl_configuration()
170 ddrss_ctl_writel(DDRSS_DDRCTL_ODTMAP, reg->ddrctl_odtmap); in am654_ddrss_ctrl_configuration()
175 ddrss_ctl_writel(DDRSS_DDRCTL_RFSHCTL3, val); in am654_ddrss_ctrl_configuration()
497 ddrss_ctl_writel(DDRSS_DDRCTL_SWCTL, in rest_training()
500 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG2, in rest_training()
504 ddrss_ctl_writel(DDRSS_DDRCTL_DRAMTMG2, in rest_training()
508 ddrss_ctl_writel(DDRSS_DDRCTL_SWCTL, in rest_training()
577 ddrss_ctl_writel(DDRSS_DDRCTL_RFSHCTL3, in am654_ddrss_init()