Lines Matching refs:modded
71 struct fb_fillrect modded; in radeonfb_fillrect() local
86 memcpy(&modded, region, sizeof(struct fb_fillrect)); in radeonfb_fillrect()
88 if(!modded.width || !modded.height || in radeonfb_fillrect()
89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect()
92 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_fillrect()
93 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_fillrect()
95 radeonfb_prim_fillrect(rinfo, &modded); in radeonfb_fillrect()
138 struct fb_copyarea modded; in radeonfb_copyarea() local
140 modded.sx = area->sx; in radeonfb_copyarea()
141 modded.sy = area->sy; in radeonfb_copyarea()
142 modded.dx = area->dx; in radeonfb_copyarea()
143 modded.dy = area->dy; in radeonfb_copyarea()
144 modded.width = area->width; in radeonfb_copyarea()
145 modded.height = area->height; in radeonfb_copyarea()
159 if(!modded.width || !modded.height || in radeonfb_copyarea()
160 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea()
161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
164 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; in radeonfb_copyarea()
165 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_copyarea()
166 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy; in radeonfb_copyarea()
167 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_copyarea()
169 radeonfb_prim_copyarea(rinfo, &modded); in radeonfb_copyarea()