Lines Matching defs:trp_cnt
2286 static inline u32 calc_tdvw_max(u32 trp_cnt, u32 clk_period, u32 trhoh_min,
2292 return (trp_cnt + 1) * clk_period + trhoh_min +
2297 static inline u32 calc_tdvw(u32 trp_cnt, u32 clk_period, u32 trhoh_min,
2303 return (trp_cnt + 1) * clk_period + trhoh_min - trea_max;
2321 u32 twp_cnt = 0, trp_cnt = 0, trh_cnt = 0;
2360 tdvw = calc_tdvw(trp_cnt, clk_period, sdr->tRHOH_min,
2362 tdvw_max = calc_tdvw_max(trp_cnt, clk_period, sdr->tRHOH_min,
2385 trp_cnt = (sdr->tREA_max + board_delay_skew_max
2395 trp_cnt = calc_cycl(sdr->tRP_min, clk_period);
2396 trh = sdr->tRC_min - ((trp_cnt + 1) * clk_period);
2402 tdvw = calc_tdvw(trp_cnt, clk_period, sdr->tRHOH_min,
2410 tdvw_max = calc_tdvw_max(trp_cnt, clk_period,
2427 trp_cnt = trp_cnt + 1;
2435 trp_cnt = (sdr->tREA_max + board_delay_skew_max
2440 tdvw_max = calc_tdvw_max(trp_cnt, clk_period,
2465 reg |= FIELD_PREP(ASYNC_TOGGLE_TIMINGS_TRP, trp_cnt);