if (w100fb_xres == 480 || w100fb_xres == 640) { waittime = WAIT_HS_400_VGA * get_clk_frequency_khz(0) / 398131U;  if (w100fb_get_fastsysclk() == 100) waittime = waittime * 75 / 100;  if (w100fb_xres == 640) waittime *= 3;  return waittime; }  return WAIT_HS_400_QVGA * get_clk_frequency_khz(0) / 398131U;
static unsigned long calc_waittime(void){	int w100fb_xres = w100fb_get_xres();	unsigned int waittime = 0;	if (w100fb_get_blanking())		return 0;	if (w100fb_xres == 480 || w100fb_xres == 640) {		waittime = WAIT_HS_400_VGA * get_clk_frequency_khz(0) / 398131U;		if (w100fb_get_fastsysclk() == 100)			waittime = waittime * 75 / 100;		if (w100fb_xres == 640)			waittime *= 3;		return waittime;	}	return WAIT_HS_400_QVGA * get_clk_frequency_khz(0) / 398131U;}