Home
last modified time | relevance | path

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

/u-boot/drivers/ddr/imx/imx8m/
A Dddrphy_utils.c275 unsigned int ddrc_w2r, ddrc_r2w, ddrc_wr_gap, ddrc_rd_gap; in update_umctl2_rank_space_setting() local
327 ddrc_wr_gap = (rdata >> 8) & 0xf; in update_umctl2_rank_space_setting()
329 tmp = ddrc_wr_gap + (g_cdd_ww_max[i] >> 1); in update_umctl2_rank_space_setting()
331 tmp = ddrc_wr_gap + (g_cdd_ww_max[i] >> 1) + 1; in update_umctl2_rank_space_setting()
332 ddrc_wr_gap = (tmp > 0xf) ? 0xf : tmp; in update_umctl2_rank_space_setting()
341 tmp_t = (rdata & 0xfffff00f) | (ddrc_wr_gap << 8) | (ddrc_rd_gap << 4); in update_umctl2_rank_space_setting()
349 ddrc_wr_gap = (rdata >> 8) & 0xf; in update_umctl2_rank_space_setting()
350 tmp = ddrc_wr_gap + (g_cdd_ww_max[0] >> 1) + 1; in update_umctl2_rank_space_setting()
351 ddrc_wr_gap = (tmp > 0xf) ? 0xf : tmp; in update_umctl2_rank_space_setting()
357 tmp_t = (rdata & 0xfffff00f) | (ddrc_wr_gap << 8) | (ddrc_rd_gap << 4); in update_umctl2_rank_space_setting()

Completed in 3 milliseconds