Lines Matching refs:phy

292 		return (uintptr_t)priv->phy;  in get_base_addr()
323 static void stm32mp1_ddrphy_idone_wait(struct stm32mp1_ddrphy *phy) in stm32mp1_ddrphy_idone_wait() argument
330 pgsr = mmio_read_32((uintptr_t)&phy->pgsr); in stm32mp1_ddrphy_idone_wait()
333 (uintptr_t)&phy->pgsr, pgsr); in stm32mp1_ddrphy_idone_wait()
365 (uintptr_t)&phy->pgsr, pgsr); in stm32mp1_ddrphy_idone_wait()
368 static void stm32mp1_ddrphy_init(struct stm32mp1_ddrphy *phy, uint32_t pir) in stm32mp1_ddrphy_init() argument
372 mmio_write_32((uintptr_t)&phy->pir, pir_init); in stm32mp1_ddrphy_init()
374 (uintptr_t)&phy->pir, pir_init, in stm32mp1_ddrphy_init()
375 mmio_read_32((uintptr_t)&phy->pir)); in stm32mp1_ddrphy_init()
381 stm32mp1_ddrphy_idone_wait(phy); in stm32mp1_ddrphy_init()
523 uint32_t mr1 = mmio_read_32((uintptr_t)&priv->phy->mr1); in stm32mp1_ddr3_dll_off()
524 uint32_t mr2 = mmio_read_32((uintptr_t)&priv->phy->mr2); in stm32mp1_ddr3_dll_off()
631 mmio_clrbits_32((uintptr_t)&priv->phy->dllgcr, in stm32mp1_ddr3_dll_off()
634 mmio_setbits_32((uintptr_t)&priv->phy->dllgcr, in stm32mp1_ddr3_dll_off()
638 mmio_setbits_32((uintptr_t)&priv->phy->acdllcr, DDRPHYC_ACDLLCR_DLLDIS); in stm32mp1_ddr3_dll_off()
640 mmio_setbits_32((uintptr_t)&priv->phy->dx0dllcr, in stm32mp1_ddr3_dll_off()
642 mmio_setbits_32((uintptr_t)&priv->phy->dx1dllcr, in stm32mp1_ddr3_dll_off()
644 mmio_setbits_32((uintptr_t)&priv->phy->dx2dllcr, in stm32mp1_ddr3_dll_off()
646 mmio_setbits_32((uintptr_t)&priv->phy->dx3dllcr, in stm32mp1_ddr3_dll_off()
821 mmio_clrbits_32((uintptr_t)&priv->phy->mr1, BIT(0)); in stm32mp1_ddr_init()
823 (uintptr_t)&priv->phy->mr1, in stm32mp1_ddr_init()
824 mmio_read_32((uintptr_t)&priv->phy->mr1)); in stm32mp1_ddr_init()
831 stm32mp1_ddrphy_idone_wait(priv->phy); in stm32mp1_ddr_init()
846 stm32mp1_ddrphy_init(priv->phy, pir); in stm32mp1_ddr_init()
896 stm32mp1_ddrphy_init(priv->phy, DDRPHYC_PIR_QSTRN); in stm32mp1_ddr_init()
899 stm32mp1_ddrphy_idone_wait(priv->phy); in stm32mp1_ddr_init()