Lines Matching refs:modded
1732 struct fb_fillrect modded; in cirrusfb_fillrect() local
1749 memcpy(&modded, region, sizeof(struct fb_fillrect)); in cirrusfb_fillrect()
1751 if (!modded.width || !modded.height || in cirrusfb_fillrect()
1752 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_fillrect()
1755 if (modded.dx + modded.width > vxres) in cirrusfb_fillrect()
1756 modded.width = vxres - modded.dx; in cirrusfb_fillrect()
1757 if (modded.dy + modded.height > vyres) in cirrusfb_fillrect()
1758 modded.height = vyres - modded.dy; in cirrusfb_fillrect()
1771 struct fb_copyarea modded; in cirrusfb_copyarea() local
1785 memcpy(&modded, area, sizeof(struct fb_copyarea)); in cirrusfb_copyarea()
1787 if (!modded.width || !modded.height || in cirrusfb_copyarea()
1788 modded.sx >= vxres || modded.sy >= vyres || in cirrusfb_copyarea()
1789 modded.dx >= vxres || modded.dy >= vyres) in cirrusfb_copyarea()
1792 if (modded.sx + modded.width > vxres) in cirrusfb_copyarea()
1793 modded.width = vxres - modded.sx; in cirrusfb_copyarea()
1794 if (modded.dx + modded.width > vxres) in cirrusfb_copyarea()
1795 modded.width = vxres - modded.dx; in cirrusfb_copyarea()
1796 if (modded.sy + modded.height > vyres) in cirrusfb_copyarea()
1797 modded.height = vyres - modded.sy; in cirrusfb_copyarea()
1798 if (modded.dy + modded.height > vyres) in cirrusfb_copyarea()
1799 modded.height = vyres - modded.dy; in cirrusfb_copyarea()