Lines Matching refs:modded
1733 struct fb_fillrect modded; in cirrusfb_fillrect() local
1750 memcpy(&modded, region, sizeof(struct fb_fillrect)); in cirrusfb_fillrect()
1752 if (!modded.width || !modded.height || in cirrusfb_fillrect()
1753 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1756 if (modded.dx + modded.width > vxres) in cirrusfb_fillrect()
1757 modded.width = vxres - modded.dx; in cirrusfb_fillrect()
1758 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect()
1759 modded.height = vyres - modded.dy; in cirrusfb_fillrect()
1772 struct fb_copyarea modded; in cirrusfb_copyarea() local
1786 memcpy(&modded, area, sizeof(struct fb_copyarea)); in cirrusfb_copyarea()
1788 if (!modded.width || !modded.height || in cirrusfb_copyarea()
1789 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1790 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1793 if (modded.sx + modded.width > vxres) in cirrusfb_copyarea()
1794 modded.width = vxres - modded.sx; in cirrusfb_copyarea()
1795 if (modded.dx + modded.width > vxres) in cirrusfb_copyarea()
1796 modded.width = vxres - modded.dx; in cirrusfb_copyarea()
1797 if (modded.sy + modded.height > vyres) in cirrusfb_copyarea()
1798 modded.height = vyres - modded.sy; in cirrusfb_copyarea()
1799 if (modded.dy + modded.height > vyres) in cirrusfb_copyarea()
1800 modded.height = vyres - modded.dy; in cirrusfb_copyarea()