cols = info->var.xres / vc->vc_font.width; rows = info->var.yres / vc->vc_font.height; 
cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); cols /= vc->vc_font.width; rows /= vc->vc_font.height; 
static void fbcon_modechanged(struct fb_info *info){	struct fbcon_ops *ops = info->fbcon_par;	struct vc_data *vc;	struct display *p;	int rows, cols;	if (!ops || ops->currcon < 0)		return;	vc = vc_cons[ops->currcon].d;	if (vc->vc_mode != KD_TEXT || registered_fb[con2fb_map[ops->currcon]] != info)		return;	p = &fb_display[vc->vc_num];	info->var.xoffset = info->var.yoffset = p->yscroll = 0;	if (CON_IS_VISIBLE(vc)) {		var_to_display(p, &info->var, info);		cols = info->var.xres / vc->vc_font.width;		rows = info->var.yres / vc->vc_font.height;		vc_resize(vc, cols, rows);		updatescrollmode(p, info, vc);		scrollback_max = 0;		scrollback_current = 0;		update_var(vc->vc_num, info);		fbcon_set_palette(vc, color_table);		update_screen(vc);		if (softback_buf)			fbcon_update_softback(vc);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/e4fc27618b75234b721c4a13d0e0d9d07e75e641/fbcon.c/clean/drivers/video/console/fbcon.c