Home
last modified time | relevance | path

Searched refs:ddr_ctrl (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/memc/
Dsifive_ddr.c58 static inline void phy_reset(struct ddr_ctrl_data *ddr_ctrl) in phy_reset() argument
63 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() argument
75 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() argument
82 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() argument
133 updownreg = DDR_PHY_REG(ddr_ctrl, (regbase + reg)); in ddr_phy_fixup()
[all …]