Lines Matching refs:modded
1731 struct fb_fillrect modded; in cirrusfb_fillrect() local
1748 memcpy(&modded, region, sizeof(struct fb_fillrect)); in cirrusfb_fillrect()
1750 if (!modded.width || !modded.height || in cirrusfb_fillrect()
1751 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1754 if (modded.dx + modded.width > vxres) in cirrusfb_fillrect()
1755 modded.width = vxres - modded.dx; in cirrusfb_fillrect()
1756 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect()
1757 modded.height = vyres - modded.dy; in cirrusfb_fillrect()
1770 struct fb_copyarea modded; in cirrusfb_copyarea() local
1784 memcpy(&modded, area, sizeof(struct fb_copyarea)); in cirrusfb_copyarea()
1786 if (!modded.width || !modded.height || in cirrusfb_copyarea()
1787 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1788 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1791 if (modded.sx + modded.width > vxres) in cirrusfb_copyarea()
1792 modded.width = vxres - modded.sx; in cirrusfb_copyarea()
1793 if (modded.dx + modded.width > vxres) in cirrusfb_copyarea()
1794 modded.width = vxres - modded.dx; in cirrusfb_copyarea()
1795 if (modded.sy + modded.height > vyres) in cirrusfb_copyarea()
1796 modded.height = vyres - modded.sy; in cirrusfb_copyarea()
1797 if (modded.dy + modded.height > vyres) in cirrusfb_copyarea()
1798 modded.height = vyres - modded.dy; in cirrusfb_copyarea()