/* get_0124 - turn 0/1/2/4 divider into cycle time @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds. @val: The bank timing register value, shifed down.  */
static unsigned int get_0124(unsigned long hclk_tns, unsigned long val)
/* get_0124 - turn 0/1/2/4 divider into cycle time @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds. @val: The bank timing register value, shifed down.  */
static unsigned int get_0124(unsigned long hclk_tns, unsigned long val)
{
	val &= 3;
	return hclk_tns * ((val == 3) ? 4 : val);
}