Searched refs:ddr_ctrl (Results 1 – 1 of 1) sorted by relevance
58 static inline void phy_reset(struct ddr_ctrl_data *ddr_ctrl) in phy_reset() argument63 DDR_PHY_REG(ddr_ctrl, i) = ddr_phy_settings[i]; in phy_reset()66 DDR_PHY_REG(ddr_ctrl, i) = ddr_phy_settings[i]; in phy_reset()70 static inline void ddr_writeregmap(struct ddr_ctrl_data *ddr_ctrl) in ddr_writeregmap() argument75 DDR_CTL_REG(ddr_ctrl, i) = ddr_ctl_settings[i]; in ddr_writeregmap()77 phy_reset(ddr_ctrl); in ddr_writeregmap()80 static inline uint32_t ddr_getdramclass(struct ddr_ctrl_data *ddr_ctrl) in ddr_getdramclass() argument82 return ((DDR_CTL_REG(ddr_ctrl, 0) >> DRAM_CLASS_OFFSET) & 0xF); in ddr_getdramclass()122 static inline uint64_t ddr_phy_fixup(struct ddr_ctrl_data *ddr_ctrl) in ddr_phy_fixup() argument133 updownreg = DDR_PHY_REG(ddr_ctrl, (regbase + reg)); in ddr_phy_fixup()[all …]