Lines Matching refs:rect

37 	struct fb_tilerect rect;  in tile_clear()  local
39 rect.index = vc->vc_video_erase_char & in tile_clear()
41 rect.fg = fg; in tile_clear()
42 rect.bg = bg; in tile_clear()
43 rect.sx = sx; in tile_clear()
44 rect.sy = sy; in tile_clear()
45 rect.width = width; in tile_clear()
46 rect.height = height; in tile_clear()
47 rect.rop = ROP_COPY; in tile_clear()
49 info->tileops->fb_tilefill(info, &rect); in tile_clear()
85 struct fb_tilerect rect; in tile_clear_margins() local
87 rect.index = vc->vc_video_erase_char & in tile_clear_margins()
89 rect.fg = color; in tile_clear_margins()
90 rect.bg = color; in tile_clear_margins()
93 rect.sx = (info->var.xoffset + rs + cw - 1) / cw; in tile_clear_margins()
94 rect.sy = 0; in tile_clear_margins()
95 rect.width = (rw + cw - 1) / cw; in tile_clear_margins()
96 rect.height = vht; in tile_clear_margins()
97 if (rect.width + rect.sx > vwt) in tile_clear_margins()
98 rect.width = vwt - rect.sx; in tile_clear_margins()
99 if (rect.sx < vwt) in tile_clear_margins()
100 info->tileops->fb_tilefill(info, &rect); in tile_clear_margins()
104 rect.sx = info->var.xoffset / cw; in tile_clear_margins()
105 rect.sy = (info->var.yoffset + bs) / ch; in tile_clear_margins()
106 rect.width = rs / cw; in tile_clear_margins()
107 rect.height = (bh + ch - 1) / ch; in tile_clear_margins()
108 if (rect.height + rect.sy > vht) in tile_clear_margins()
109 rect.height = vht - rect.sy; in tile_clear_margins()
110 if (rect.sy < vht) in tile_clear_margins()
111 info->tileops->fb_tilefill(info, &rect); in tile_clear_margins()