Lines Matching refs:t_x
771 unsigned long t_x, mult_x; in denali_setup_interface() local
782 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_interface()
783 if (!t_x) in denali_setup_interface()
801 re_2_we = DIV_ROUND_UP(timings->tRHW_min, t_x); in denali_setup_interface()
810 re_2_re = DIV_ROUND_UP(timings->tRHZ_max, t_x); in denali_setup_interface()
824 we_2_re = DIV_ROUND_UP(max(timings->tCCS_min, timings->tWHR_min), t_x); in denali_setup_interface()
839 addr_2_data = DIV_ROUND_UP(timings->tADL_min, t_x); in denali_setup_interface()
849 t_x); in denali_setup_interface()
871 acc_clks = DIV_ROUND_UP(timings->tREA_max + data_setup_on_host, t_x); in denali_setup_interface()
874 rdwr_en_lo = DIV_ROUND_UP(max(timings->tRP_min, timings->tWP_min), t_x); in denali_setup_interface()
878 acc_clks - timings->tRHOH_min / t_x); in denali_setup_interface()
882 t_x); in denali_setup_interface()
888 DIV_ROUND_UP(timings->tRHOH_min, t_x)) / 2; in denali_setup_interface()
902 cs_setup = max3((int)DIV_ROUND_UP(timings->tCS_min, t_x) - rdwr_en_lo, in denali_setup_interface()
903 (int)DIV_ROUND_UP(timings->tCEA_max, t_x) - acc_clks, in denali_setup_interface()