switch(par->xres) {
switch(mode) {
static void lcdtg_set_phadadj(struct w100fb_par *par){	int adj;	switch(par->xres) {		case 480:		case 640:			/* Setting for VGA */			adj = sharpsl_param.phadadj;			if (adj < 0) {				adj = PHACTRL_PHASE_MANUAL;			} else {				adj = ((adj & 0x0f) << 1) | PHACTRL_PHASE_MANUAL;			}			break;		case 240:		case 320:		default:			/* Setting for QVGA */			adj = (DEFAULT_PHAD_QVGA << 1) | PHACTRL_PHASE_MANUAL;			break;	}	corgi_ssp_lcdtg_send(PHACTRL_ADRS, adj);}