Lines Matching defs:trp_cnt
2329 static inline u32 calc_tdvw_max(u32 trp_cnt, u32 clk_period, u32 trhoh_min,
2335 return (trp_cnt + 1) * clk_period + trhoh_min +
2340 static inline u32 calc_tdvw(u32 trp_cnt, u32 clk_period, u32 trhoh_min,
2346 return (trp_cnt + 1) * clk_period + trhoh_min - trea_max;
2364 u32 twp_cnt = 0, trp_cnt = 0, trh_cnt = 0;
2403 tdvw = calc_tdvw(trp_cnt, clk_period, sdr->tRHOH_min,
2405 tdvw_max = calc_tdvw_max(trp_cnt, clk_period, sdr->tRHOH_min,
2428 trp_cnt = (sdr->tREA_max + board_delay_skew_max
2438 trp_cnt = calc_cycl(sdr->tRP_min, clk_period);
2439 trh = sdr->tRC_min - ((trp_cnt + 1) * clk_period);
2445 tdvw = calc_tdvw(trp_cnt, clk_period, sdr->tRHOH_min,
2453 tdvw_max = calc_tdvw_max(trp_cnt, clk_period,
2470 trp_cnt = trp_cnt + 1;
2478 trp_cnt = (sdr->tREA_max + board_delay_skew_max
2483 tdvw_max = calc_tdvw_max(trp_cnt, clk_period,
2508 reg |= FIELD_PREP(ASYNC_TOGGLE_TIMINGS_TRP, trp_cnt);