Lines Matching refs:modded
1734 struct fb_fillrect modded; in cirrusfb_fillrect() local
1751 memcpy(&modded, region, sizeof(struct fb_fillrect)); in cirrusfb_fillrect()
1753 if (!modded.width || !modded.height || in cirrusfb_fillrect()
1754 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1757 if (modded.dx + modded.width > vxres) in cirrusfb_fillrect()
1758 modded.width = vxres - modded.dx; in cirrusfb_fillrect()
1759 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect()
1760 modded.height = vyres - modded.dy; in cirrusfb_fillrect()
1773 struct fb_copyarea modded; in cirrusfb_copyarea() local
1787 memcpy(&modded, area, sizeof(struct fb_copyarea)); in cirrusfb_copyarea()
1789 if (!modded.width || !modded.height || in cirrusfb_copyarea()
1790 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1791 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1794 if (modded.sx + modded.width > vxres) in cirrusfb_copyarea()
1795 modded.width = vxres - modded.sx; in cirrusfb_copyarea()
1796 if (modded.dx + modded.width > vxres) in cirrusfb_copyarea()
1797 modded.width = vxres - modded.dx; in cirrusfb_copyarea()
1798 if (modded.sy + modded.height > vyres) in cirrusfb_copyarea()
1799 modded.height = vyres - modded.sy; in cirrusfb_copyarea()
1800 if (modded.dy + modded.height > vyres) in cirrusfb_copyarea()
1801 modded.height = vyres - modded.dy; in cirrusfb_copyarea()