Lines Matching refs:msch
30 struct rk3368_msch *msch; member
604 struct rk3368_msch *msch = priv->msch; in sdram_col_row_detect() local
610 writel(6, &msch->ddrconf); in sdram_col_row_detect()
630 writel(15, &msch->ddrconf); in sdram_col_row_detect()
658 static int msch_niu_config(struct rk3368_msch *msch, in msch_niu_config() argument
759 writel(i, &msch->ddrconf); in msch_niu_config()
802 struct rk3368_msch *msch = priv->msch; in setup_sdram() local
814 writel(0x32, &msch->readlatency); in setup_sdram()
858 ret = msch_niu_config(msch, params); in setup_sdram()
910 struct rk3368_msch *msch; in rk3368_dmc_probe() local
928 msch = syscon_get_first_range(ROCKCHIP_SYSCON_MSCH); in rk3368_dmc_probe()
933 priv->msch = msch; in rk3368_dmc_probe()