/* ns_2_cycles with the difference that the time passed is 2 times the actual value(to avoid fractions). The cycles returned is for the original value of the timing parameter  */
static u32 ns_x2_2_cycles(u32 ns)
/* ns_2_cycles with the difference that the time passed is 2 times the actual value(to avoid fractions). The cycles returned is for the original value of the timing parameter  */
static u32 ns_x2_2_cycles(u32 ns)
{
	return ((ns * (*T_den)) + (*T_num) * 2 - 1) / ((*T_num) * 2);
}