Searched refs:T_CK_CTRL (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/ddr/microchip/ |
D | ddr2.c | 138 writel(REFCNT_CLK(DIV_ROUND_UP(T_RFI, T_CK_CTRL) - 2) | in ddr2_ctrl_init() 139 REFDLY_CLK(DIV_ROUND_UP(T_RFC_MIN, T_CK_CTRL) - 2) | in ddr2_ctrl_init() 150 wr2rd = max_t(u32, DIV_ROUND_UP(T_WTR, T_CK_CTRL), in ddr2_ctrl_init() 153 wr2prech = DIV_ROUND_UP(T_WR, T_CK_CTRL) + WL + BL; in ddr2_ctrl_init() 154 rd2prech = max_t(u32, DIV_ROUND_UP(T_RTP, T_CK_CTRL), in ddr2_ctrl_init() 156 ras2ras = max_t(u32, DIV_ROUND_UP(T_RRD, T_CK_CTRL), in ddr2_ctrl_init() 158 ras2cas = DIV_ROUND_UP(T_RCD, T_CK_CTRL) - 1; in ddr2_ctrl_init() 159 prech2ras = DIV_ROUND_UP(T_RP, T_CK_CTRL) - 1; in ddr2_ctrl_init() 180 writel((DIV_ROUND_UP(T_RP, T_CK_CTRL) | in ddr2_ctrl_init() 188 writel(((DIV_ROUND_UP(T_RAS_MIN, T_CK_CTRL) - 1) | in ddr2_ctrl_init() [all …]
|
D | ddr2_timing.h | 12 #define T_CK_CTRL (T_CK * 2) macro
|