Lines Matching refs:modded
70 struct fb_fillrect modded; in radeonfb_fillrect() local
85 memcpy(&modded, region, sizeof(struct fb_fillrect)); in radeonfb_fillrect()
87 if(!modded.width || !modded.height || in radeonfb_fillrect()
88 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect()
91 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_fillrect()
92 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_fillrect()
94 radeonfb_prim_fillrect(rinfo, &modded); in radeonfb_fillrect()
137 struct fb_copyarea modded; in radeonfb_copyarea() local
139 modded.sx = area->sx; in radeonfb_copyarea()
140 modded.sy = area->sy; in radeonfb_copyarea()
141 modded.dx = area->dx; in radeonfb_copyarea()
142 modded.dy = area->dy; in radeonfb_copyarea()
143 modded.width = area->width; in radeonfb_copyarea()
144 modded.height = area->height; in radeonfb_copyarea()
158 if(!modded.width || !modded.height || in radeonfb_copyarea()
159 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea()
160 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
163 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; in radeonfb_copyarea()
164 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_copyarea()
165 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy; in radeonfb_copyarea()
166 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_copyarea()
168 radeonfb_prim_copyarea(rinfo, &modded); in radeonfb_copyarea()