Lines Matching refs:ddrss_phy_writel

180 #define ddrss_phy_writel(off, val)					\  macro
207 ddrss_phy_writel(DDRSS_DDRPHY_PGCR1, cfg->ddrphy_pgcr1); in am654_ddrss_phy_configuration()
208 ddrss_phy_writel(DDRSS_DDRPHY_PGCR2, cfg->ddrphy_pgcr2); in am654_ddrss_phy_configuration()
209 ddrss_phy_writel(DDRSS_DDRPHY_PGCR3, cfg->ddrphy_pgcr3); in am654_ddrss_phy_configuration()
210 ddrss_phy_writel(DDRSS_DDRPHY_PGCR6, cfg->ddrphy_pgcr6); in am654_ddrss_phy_configuration()
212 ddrss_phy_writel(DDRSS_DDRPHY_PTR3, tmg->ddrphy_ptr3); in am654_ddrss_phy_configuration()
213 ddrss_phy_writel(DDRSS_DDRPHY_PTR4, tmg->ddrphy_ptr4); in am654_ddrss_phy_configuration()
214 ddrss_phy_writel(DDRSS_DDRPHY_PTR5, tmg->ddrphy_ptr5); in am654_ddrss_phy_configuration()
215 ddrss_phy_writel(DDRSS_DDRPHY_PTR6, tmg->ddrphy_ptr6); in am654_ddrss_phy_configuration()
217 ddrss_phy_writel(DDRSS_DDRPHY_PLLCR0, ctrl->ddrphy_pllcr0); in am654_ddrss_phy_configuration()
219 ddrss_phy_writel(DDRSS_DDRPHY_DXCCR, cfg->ddrphy_dxccr); in am654_ddrss_phy_configuration()
220 ddrss_phy_writel(DDRSS_DDRPHY_DSGCR, cfg->ddrphy_dsgcr); in am654_ddrss_phy_configuration()
222 ddrss_phy_writel(DDRSS_DDRPHY_DCR, cfg->ddrphy_dcr); in am654_ddrss_phy_configuration()
224 ddrss_phy_writel(DDRSS_DDRPHY_DTPR0, tmg->ddrphy_dtpr0); in am654_ddrss_phy_configuration()
225 ddrss_phy_writel(DDRSS_DDRPHY_DTPR1, tmg->ddrphy_dtpr1); in am654_ddrss_phy_configuration()
226 ddrss_phy_writel(DDRSS_DDRPHY_DTPR2, tmg->ddrphy_dtpr2); in am654_ddrss_phy_configuration()
227 ddrss_phy_writel(DDRSS_DDRPHY_DTPR3, tmg->ddrphy_dtpr3); in am654_ddrss_phy_configuration()
228 ddrss_phy_writel(DDRSS_DDRPHY_DTPR4, tmg->ddrphy_dtpr4); in am654_ddrss_phy_configuration()
229 ddrss_phy_writel(DDRSS_DDRPHY_DTPR5, tmg->ddrphy_dtpr5); in am654_ddrss_phy_configuration()
230 ddrss_phy_writel(DDRSS_DDRPHY_DTPR6, tmg->ddrphy_dtpr6); in am654_ddrss_phy_configuration()
232 ddrss_phy_writel(DDRSS_DDRPHY_ZQCR, zq->ddrphy_zqcr); in am654_ddrss_phy_configuration()
233 ddrss_phy_writel(DDRSS_DDRPHY_ZQ0PR0, zq->ddrphy_zq0pr0); in am654_ddrss_phy_configuration()
234 ddrss_phy_writel(DDRSS_DDRPHY_ZQ1PR0, zq->ddrphy_zq1pr0); in am654_ddrss_phy_configuration()
236 ddrss_phy_writel(DDRSS_DDRPHY_MR0, ctrl->ddrphy_mr0); in am654_ddrss_phy_configuration()
237 ddrss_phy_writel(DDRSS_DDRPHY_MR1, ctrl->ddrphy_mr1); in am654_ddrss_phy_configuration()
238 ddrss_phy_writel(DDRSS_DDRPHY_MR2, ctrl->ddrphy_mr2); in am654_ddrss_phy_configuration()
239 ddrss_phy_writel(DDRSS_DDRPHY_MR3, ctrl->ddrphy_mr3); in am654_ddrss_phy_configuration()
240 ddrss_phy_writel(DDRSS_DDRPHY_MR4, ctrl->ddrphy_mr4); in am654_ddrss_phy_configuration()
241 ddrss_phy_writel(DDRSS_DDRPHY_MR5, ctrl->ddrphy_mr5); in am654_ddrss_phy_configuration()
242 ddrss_phy_writel(DDRSS_DDRPHY_MR6, ctrl->ddrphy_mr6); in am654_ddrss_phy_configuration()
244 ddrss_phy_writel(DDRSS_DDRPHY_VTCR0, ctrl->ddrphy_vtcr0); in am654_ddrss_phy_configuration()
246 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL0PLLCR0, cfg->ddrphy_dx8sl0pllcr0); in am654_ddrss_phy_configuration()
247 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL1PLLCR0, cfg->ddrphy_dx8sl1pllcr0); in am654_ddrss_phy_configuration()
248 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL2PLLCR0, cfg->ddrphy_dx8sl2pllcr0); in am654_ddrss_phy_configuration()
250 ddrss_phy_writel(DDRSS_DDRPHY_DTCR0, ctrl->ddrphy_dtcr0); in am654_ddrss_phy_configuration()
251 ddrss_phy_writel(DDRSS_DDRPHY_DTCR1, ctrl->ddrphy_dtcr1); in am654_ddrss_phy_configuration()
253 ddrss_phy_writel(DDRSS_DDRPHY_ACIOCR5, ioctl->ddrphy_aciocr5); in am654_ddrss_phy_configuration()
254 ddrss_phy_writel(DDRSS_DDRPHY_IOVCR0, ioctl->ddrphy_iovcr0); in am654_ddrss_phy_configuration()
256 ddrss_phy_writel(DDRSS_DDRPHY_DX4GCR0, cfg->ddrphy_dx4gcr0); in am654_ddrss_phy_configuration()
257 ddrss_phy_writel(DDRSS_DDRPHY_DX4GCR1, cfg->ddrphy_dx4gcr1); in am654_ddrss_phy_configuration()
258 ddrss_phy_writel(DDRSS_DDRPHY_DX4GCR2, cfg->ddrphy_dx4gcr2); in am654_ddrss_phy_configuration()
259 ddrss_phy_writel(DDRSS_DDRPHY_DX4GCR3, cfg->ddrphy_dx4gcr3); in am654_ddrss_phy_configuration()
261 ddrss_phy_writel(DDRSS_DDRPHY_DX0GCR4, cfg->ddrphy_dx0gcr4); in am654_ddrss_phy_configuration()
262 ddrss_phy_writel(DDRSS_DDRPHY_DX1GCR4, cfg->ddrphy_dx1gcr4); in am654_ddrss_phy_configuration()
263 ddrss_phy_writel(DDRSS_DDRPHY_DX2GCR4, cfg->ddrphy_dx2gcr4); in am654_ddrss_phy_configuration()
264 ddrss_phy_writel(DDRSS_DDRPHY_DX3GCR4, cfg->ddrphy_dx3gcr4); in am654_ddrss_phy_configuration()
266 ddrss_phy_writel(DDRSS_DDRPHY_PGCR5, cfg->ddrphy_pgcr5); in am654_ddrss_phy_configuration()
267 ddrss_phy_writel(DDRSS_DDRPHY_DX0GCR5, cfg->ddrphy_dx0gcr5); in am654_ddrss_phy_configuration()
268 ddrss_phy_writel(DDRSS_DDRPHY_DX1GCR5, cfg->ddrphy_dx1gcr5); in am654_ddrss_phy_configuration()
269 ddrss_phy_writel(DDRSS_DDRPHY_DX2GCR5, cfg->ddrphy_dx2gcr5); in am654_ddrss_phy_configuration()
270 ddrss_phy_writel(DDRSS_DDRPHY_DX3GCR5, cfg->ddrphy_dx3gcr5); in am654_ddrss_phy_configuration()
272 ddrss_phy_writel(DDRSS_DDRPHY_RANKIDR, DDRSS_DDRPHY_RANKIDR_RANK0); in am654_ddrss_phy_configuration()
274 ddrss_phy_writel(DDRSS_DDRPHY_DX0GTR0, cfg->ddrphy_dx0gtr0); in am654_ddrss_phy_configuration()
275 ddrss_phy_writel(DDRSS_DDRPHY_DX1GTR0, cfg->ddrphy_dx1gtr0); in am654_ddrss_phy_configuration()
276 ddrss_phy_writel(DDRSS_DDRPHY_DX2GTR0, cfg->ddrphy_dx2gtr0); in am654_ddrss_phy_configuration()
277 ddrss_phy_writel(DDRSS_DDRPHY_DX3GTR0, cfg->ddrphy_dx3gtr0); in am654_ddrss_phy_configuration()
278 ddrss_phy_writel(DDRSS_DDRPHY_ODTCR, cfg->ddrphy_odtcr); in am654_ddrss_phy_configuration()
280 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL0IOCR, cfg->ddrphy_dx8sl0iocr); in am654_ddrss_phy_configuration()
281 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL1IOCR, cfg->ddrphy_dx8sl1iocr); in am654_ddrss_phy_configuration()
282 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL2IOCR, cfg->ddrphy_dx8sl2iocr); in am654_ddrss_phy_configuration()
284 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL0DXCTL2, cfg->ddrphy_dx8sl0dxctl2); in am654_ddrss_phy_configuration()
285 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL1DXCTL2, cfg->ddrphy_dx8sl1dxctl2); in am654_ddrss_phy_configuration()
286 ddrss_phy_writel(DDRSS_DDRPHY_DX8SL2DXCTL2, cfg->ddrphy_dx8sl2dxctl2); in am654_ddrss_phy_configuration()
297 ddrss_phy_writel(DDRSS_DDRPHY_PIR, init_value | PIR_INIT_MASK); in __phy_builtin_init_routine()
437 ddrss_phy_writel(DDRSS_DDRPHY_RANKIDR, 0x00000000); in rest_training()
456 ddrss_phy_writel(DDRSS_DDRPHY_DX0GCR0, val); in rest_training()
460 ddrss_phy_writel(DDRSS_DDRPHY_DX1GCR0, val); in rest_training()
464 ddrss_phy_writel(DDRSS_DDRPHY_DX2GCR0, val); in rest_training()
468 ddrss_phy_writel(DDRSS_DDRPHY_DX3GCR0, val); in rest_training()
477 ddrss_phy_writel(DDRSS_DDRPHY_RANKIDR, 0x00000000); in rest_training()
581 ddrss_phy_writel(DDRSS_DDRPHY_PGCR1, in am654_ddrss_init()