Lines Matching refs:modded
1754 struct fb_fillrect modded; in cirrusfb_fillrect() local
1771 memcpy(&modded, region, sizeof(struct fb_fillrect)); in cirrusfb_fillrect()
1773 if (!modded.width || !modded.height || in cirrusfb_fillrect()
1774 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1777 if (modded.dx + modded.width > vxres) in cirrusfb_fillrect()
1778 modded.width = vxres - modded.dx; in cirrusfb_fillrect()
1779 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect()
1780 modded.height = vyres - modded.dy; in cirrusfb_fillrect()
1793 struct fb_copyarea modded; in cirrusfb_copyarea() local
1807 memcpy(&modded, area, sizeof(struct fb_copyarea)); in cirrusfb_copyarea()
1809 if (!modded.width || !modded.height || in cirrusfb_copyarea()
1810 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1811 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1814 if (modded.sx + modded.width > vxres) in cirrusfb_copyarea()
1815 modded.width = vxres - modded.sx; in cirrusfb_copyarea()
1816 if (modded.dx + modded.width > vxres) in cirrusfb_copyarea()
1817 modded.width = vxres - modded.dx; in cirrusfb_copyarea()
1818 if (modded.sy + modded.height > vyres) in cirrusfb_copyarea()
1819 modded.height = vyres - modded.sy; in cirrusfb_copyarea()
1820 if (modded.dy + modded.height > vyres) in cirrusfb_copyarea()
1821 modded.height = vyres - modded.dy; in cirrusfb_copyarea()