Lines Matching refs:modded
1726 struct fb_fillrect modded;
1743 memcpy(&modded, region, sizeof(struct fb_fillrect));
1745 if (!modded.width || !modded.height ||
1746 modded.dx >= vxres || modded.dy >= vyres)
1749 if (modded.dx + modded.width > vxres)
1750 modded.width = vxres - modded.dx;
1751 if (modded.dy + modded.height > vyres)
1752 modded.height = vyres - modded.dy;
1765 struct fb_copyarea modded;
1779 memcpy(&modded, area, sizeof(struct fb_copyarea));
1781 if (!modded.width || !modded.height ||
1782 modded.sx >= vxres || modded.sy >= vyres ||
1783 modded.dx >= vxres || modded.dy >= vyres)
1786 if (modded.sx + modded.width > vxres)
1787 modded.width = vxres - modded.sx;
1788 if (modded.dx + modded.width > vxres)
1789 modded.width = vxres - modded.dx;
1790 if (modded.sy + modded.height > vyres)
1791 modded.height = vyres - modded.sy;
1792 if (modded.dy + modded.height > vyres)
1793 modded.height = vyres - modded.dy;