/* Convert time in nano seconds to number of cycles of DDR clock  */
static u32 ns_2_cycles(u32 ns)
/* Convert time in nano seconds to number of cycles of DDR clock  */
static u32 ns_2_cycles(u32 ns)
{
	return ((ns * (*T_den)) + (*T_num) - 1) / (*T_num);
}