Lines Matching refs:x_margin
130 rects [6] = fb->x_margin; in sun3fb_clear_margin()
132 rects [8] = fb->var.xres_virtual - fb->x_margin; in sun3fb_clear_margin()
136 rects [12] = fb->x_margin; in sun3fb_clear_margin()
138 rects [14] = fb->var.xres_virtual - fb->x_margin; in sun3fb_clear_margin()
149 fb_base -= (skip_bytes + fb->x_margin) / 8; in sun3fb_clear_margin()
152 mymemset (fb_base, skip_bytes - fb->x_margin / 8); in sun3fb_clear_margin()
153 mymemset (fb_base + scr_size - skip_bytes + fb->x_margin / 8, skip_bytes - fb->x_margin / 8); in sun3fb_clear_margin()
155 size = fb->x_margin / 8 * 2; in sun3fb_clear_margin()
156 for (q = fb_base + skip_bytes - fb->x_margin / 8, h = 0; in sun3fb_clear_margin()
160 fb_base -= (skip_bytes + fb->x_margin); in sun3fb_clear_margin()
161 memset (fb_base, attr_bgcol(p,s), skip_bytes - fb->x_margin); in sun3fb_clear_margin()
162 …memset (fb_base + scr_size - skip_bytes + fb->x_margin, attr_bgcol(p,s), skip_bytes - fb->x_margin… in sun3fb_clear_margin()
164 size = fb->x_margin * 2; in sun3fb_clear_margin()
165 for (q = fb_base + skip_bytes - fb->x_margin, h = 0; in sun3fb_clear_margin()
278 fb->cursor.cpos.fbx = (x << fontwidthlog(p)) + fb->x_margin; in sun3fb_cursor()
280 fb->cursor.cpos.fbx = (x * fontwidth(p)) + fb->x_margin; in sun3fb_cursor()
362 int x_margin, y_margin; in sun3fbcon_switch() local
377 x_margin = (fb_display[con].var.xres_virtual - fb_display[con].var.xres) / 2; in sun3fbcon_switch()
380 fb->margins(fb, &fb_display[con], x_margin, y_margin); in sun3fbcon_switch()
381 if (fb->graphmode || fb->x_margin != x_margin || fb->y_margin != y_margin) { in sun3fbcon_switch()
382 fb->x_margin = x_margin; fb->y_margin = y_margin; in sun3fbcon_switch()
478 int x_margin, y_margin; in sun3fb_set_font() local
481 x_margin = (w % width) / 2; in sun3fb_set_font()
484 p->var.xres = w - 2*x_margin; in sun3fb_set_font()
490 fb->margins(fb, p, x_margin, y_margin); in sun3fb_set_font()
491 if (fb->x_margin != x_margin || fb->y_margin != y_margin) { in sun3fb_set_font()
492 fb->x_margin = x_margin; fb->y_margin = y_margin; in sun3fb_set_font()
557 fb->x_margin = (w & 7) / 2; in sun3fb_init_fb()
562 var->xres = w - 2*fb->x_margin; in sun3fb_init_fb()