modded 71 drivers/video/fbdev/aty/radeon_accel.c struct fb_fillrect modded; modded 86 drivers/video/fbdev/aty/radeon_accel.c memcpy(&modded, region, sizeof(struct fb_fillrect)); modded 88 drivers/video/fbdev/aty/radeon_accel.c if(!modded.width || !modded.height || modded 89 drivers/video/fbdev/aty/radeon_accel.c modded.dx >= vxres || modded.dy >= vyres) modded 92 drivers/video/fbdev/aty/radeon_accel.c if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; modded 93 drivers/video/fbdev/aty/radeon_accel.c if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; modded 95 drivers/video/fbdev/aty/radeon_accel.c radeonfb_prim_fillrect(rinfo, &modded); modded 138 drivers/video/fbdev/aty/radeon_accel.c struct fb_copyarea modded; modded 140 drivers/video/fbdev/aty/radeon_accel.c modded.sx = area->sx; modded 141 drivers/video/fbdev/aty/radeon_accel.c modded.sy = area->sy; modded 142 drivers/video/fbdev/aty/radeon_accel.c modded.dx = area->dx; modded 143 drivers/video/fbdev/aty/radeon_accel.c modded.dy = area->dy; modded 144 drivers/video/fbdev/aty/radeon_accel.c modded.width = area->width; modded 145 drivers/video/fbdev/aty/radeon_accel.c modded.height = area->height; modded 159 drivers/video/fbdev/aty/radeon_accel.c if(!modded.width || !modded.height || modded 160 drivers/video/fbdev/aty/radeon_accel.c modded.sx >= vxres || modded.sy >= vyres || modded 161 drivers/video/fbdev/aty/radeon_accel.c modded.dx >= vxres || modded.dy >= vyres) modded 164 drivers/video/fbdev/aty/radeon_accel.c if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; modded 165 drivers/video/fbdev/aty/radeon_accel.c if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; modded 166 drivers/video/fbdev/aty/radeon_accel.c if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy; modded 167 drivers/video/fbdev/aty/radeon_accel.c if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; modded 169 drivers/video/fbdev/aty/radeon_accel.c radeonfb_prim_copyarea(rinfo, &modded); modded 1733 drivers/video/fbdev/cirrusfb.c struct fb_fillrect modded; modded 1750 drivers/video/fbdev/cirrusfb.c memcpy(&modded, region, sizeof(struct fb_fillrect)); modded 1752 drivers/video/fbdev/cirrusfb.c if (!modded.width || !modded.height || modded 1753 drivers/video/fbdev/cirrusfb.c modded.dx >= vxres || modded.dy >= vyres) modded 1756 drivers/video/fbdev/cirrusfb.c if (modded.dx + modded.width > vxres) modded 1757 drivers/video/fbdev/cirrusfb.c modded.width = vxres - modded.dx; modded 1758 drivers/video/fbdev/cirrusfb.c if (modded.dy + modded.height > vyres) modded 1759 drivers/video/fbdev/cirrusfb.c modded.height = vyres - modded.dy; modded 1772 drivers/video/fbdev/cirrusfb.c struct fb_copyarea modded; modded 1786 drivers/video/fbdev/cirrusfb.c memcpy(&modded, area, sizeof(struct fb_copyarea)); modded 1788 drivers/video/fbdev/cirrusfb.c if (!modded.width || !modded.height || modded 1789 drivers/video/fbdev/cirrusfb.c modded.sx >= vxres || modded.sy >= vyres || modded 1790 drivers/video/fbdev/cirrusfb.c modded.dx >= vxres || modded.dy >= vyres) modded 1793 drivers/video/fbdev/cirrusfb.c if (modded.sx + modded.width > vxres) modded 1794 drivers/video/fbdev/cirrusfb.c modded.width = vxres - modded.sx; modded 1795 drivers/video/fbdev/cirrusfb.c if (modded.dx + modded.width > vxres) modded 1796 drivers/video/fbdev/cirrusfb.c modded.width = vxres - modded.dx; modded 1797 drivers/video/fbdev/cirrusfb.c if (modded.sy + modded.height > vyres) modded 1798 drivers/video/fbdev/cirrusfb.c modded.height = vyres - modded.sy; modded 1799 drivers/video/fbdev/cirrusfb.c if (modded.dy + modded.height > vyres) modded 1800 drivers/video/fbdev/cirrusfb.c modded.height = vyres - modded.dy; modded 178 drivers/video/fbdev/fb-puv3.c struct fb_fillrect modded; modded 189 drivers/video/fbdev/fb-puv3.c memcpy(&modded, region, sizeof(struct fb_fillrect)); modded 191 drivers/video/fbdev/fb-puv3.c if (!modded.width || !modded.height || modded 192 drivers/video/fbdev/fb-puv3.c modded.dx >= vxres || modded.dy >= vyres) modded 195 drivers/video/fbdev/fb-puv3.c if (modded.dx + modded.width > vxres) modded 196 drivers/video/fbdev/fb-puv3.c modded.width = vxres - modded.dx; modded 197 drivers/video/fbdev/fb-puv3.c if (modded.dy + modded.height > vyres) modded 198 drivers/video/fbdev/fb-puv3.c modded.height = vyres - modded.dy; modded 200 drivers/video/fbdev/fb-puv3.c unifb_prim_fillrect(info, &modded); modded 284 drivers/video/fbdev/fb-puv3.c struct fb_copyarea modded; modded 286 drivers/video/fbdev/fb-puv3.c modded.sx = area->sx; modded 287 drivers/video/fbdev/fb-puv3.c modded.sy = area->sy; modded 288 drivers/video/fbdev/fb-puv3.c modded.dx = area->dx; modded 289 drivers/video/fbdev/fb-puv3.c modded.dy = area->dy; modded 290 drivers/video/fbdev/fb-puv3.c modded.width = area->width; modded 291 drivers/video/fbdev/fb-puv3.c modded.height = area->height; modded 301 drivers/video/fbdev/fb-puv3.c if (!modded.width || !modded.height || modded 302 drivers/video/fbdev/fb-puv3.c modded.sx >= vxres || modded.sy >= vyres || modded 303 drivers/video/fbdev/fb-puv3.c modded.dx >= vxres || modded.dy >= vyres) modded 306 drivers/video/fbdev/fb-puv3.c if (modded.sx + modded.width > vxres) modded 307 drivers/video/fbdev/fb-puv3.c modded.width = vxres - modded.sx; modded 308 drivers/video/fbdev/fb-puv3.c if (modded.dx + modded.width > vxres) modded 309 drivers/video/fbdev/fb-puv3.c modded.width = vxres - modded.dx; modded 310 drivers/video/fbdev/fb-puv3.c if (modded.sy + modded.height > vyres) modded 311 drivers/video/fbdev/fb-puv3.c modded.height = vyres - modded.sy; modded 312 drivers/video/fbdev/fb-puv3.c if (modded.dy + modded.height > vyres) modded 313 drivers/video/fbdev/fb-puv3.c modded.height = vyres - modded.dy; modded 315 drivers/video/fbdev/fb-puv3.c unifb_prim_copyarea(info, &modded); modded 1049 drivers/video/fbdev/pm2fb.c struct fb_fillrect modded; modded 1065 drivers/video/fbdev/pm2fb.c memcpy(&modded, region, sizeof(struct fb_fillrect)); modded 1067 drivers/video/fbdev/pm2fb.c if (!modded.width || !modded.height || modded 1068 drivers/video/fbdev/pm2fb.c modded.dx >= vxres || modded.dy >= vyres) modded 1071 drivers/video/fbdev/pm2fb.c if (modded.dx + modded.width > vxres) modded 1072 drivers/video/fbdev/pm2fb.c modded.width = vxres - modded.dx; modded 1073 drivers/video/fbdev/pm2fb.c if (modded.dy + modded.height > vyres) modded 1074 drivers/video/fbdev/pm2fb.c modded.height = vyres - modded.dy; modded 1083 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_RECTANGLE_ORIGIN, (modded.dy << 16) | modded.dx); modded 1084 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); modded 1107 drivers/video/fbdev/pm2fb.c struct fb_copyarea modded; modded 1117 drivers/video/fbdev/pm2fb.c memcpy(&modded, area, sizeof(struct fb_copyarea)); modded 1122 drivers/video/fbdev/pm2fb.c if (!modded.width || !modded.height || modded 1123 drivers/video/fbdev/pm2fb.c modded.sx >= vxres || modded.sy >= vyres || modded 1124 drivers/video/fbdev/pm2fb.c modded.dx >= vxres || modded.dy >= vyres) modded 1127 drivers/video/fbdev/pm2fb.c if (modded.sx + modded.width > vxres) modded 1128 drivers/video/fbdev/pm2fb.c modded.width = vxres - modded.sx; modded 1129 drivers/video/fbdev/pm2fb.c if (modded.dx + modded.width > vxres) modded 1130 drivers/video/fbdev/pm2fb.c modded.width = vxres - modded.dx; modded 1131 drivers/video/fbdev/pm2fb.c if (modded.sy + modded.height > vyres) modded 1132 drivers/video/fbdev/pm2fb.c modded.height = vyres - modded.sy; modded 1133 drivers/video/fbdev/pm2fb.c if (modded.dy + modded.height > vyres) modded 1134 drivers/video/fbdev/pm2fb.c modded.height = vyres - modded.dy; modded 1140 drivers/video/fbdev/pm2fb.c ((modded.sy - modded.dy) & 0xfff) << 16 | modded 1141 drivers/video/fbdev/pm2fb.c ((modded.sx - modded.dx) & 0xfff)); modded 1142 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_RECTANGLE_ORIGIN, (modded.dy << 16) | modded.dx); modded 1143 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); modded 1146 drivers/video/fbdev/pm2fb.c (modded.dx < modded.sx ? PM2F_INCREASE_X : 0) | modded 1147 drivers/video/fbdev/pm2fb.c (modded.dy < modded.sy ? PM2F_INCREASE_Y : 0)); modded 379 drivers/video/fbdev/pm3fb.c struct fb_fillrect modded; modded 400 drivers/video/fbdev/pm3fb.c memcpy(&modded, region, sizeof(struct fb_fillrect)); modded 402 drivers/video/fbdev/pm3fb.c if (!modded.width || !modded.height || modded 403 drivers/video/fbdev/pm3fb.c modded.dx >= vxres || modded.dy >= vyres) modded 406 drivers/video/fbdev/pm3fb.c if (modded.dx + modded.width > vxres) modded 407 drivers/video/fbdev/pm3fb.c modded.width = vxres - modded.dx; modded 408 drivers/video/fbdev/pm3fb.c if (modded.dy + modded.height > vyres) modded 409 drivers/video/fbdev/pm3fb.c modded.height = vyres - modded.dy; modded 427 drivers/video/fbdev/pm3fb.c PM3RectanglePosition_XOffset(modded.dx) | modded 428 drivers/video/fbdev/pm3fb.c PM3RectanglePosition_YOffset(modded.dy)); modded 435 drivers/video/fbdev/pm3fb.c PM3Render2D_Width(modded.width) | modded 436 drivers/video/fbdev/pm3fb.c PM3Render2D_Height(modded.height)); modded 443 drivers/video/fbdev/pm3fb.c struct fb_copyarea modded; modded 454 drivers/video/fbdev/pm3fb.c memcpy(&modded, area, sizeof(struct fb_copyarea)); modded 459 drivers/video/fbdev/pm3fb.c if (!modded.width || !modded.height || modded 460 drivers/video/fbdev/pm3fb.c modded.sx >= vxres || modded.sy >= vyres || modded 461 drivers/video/fbdev/pm3fb.c modded.dx >= vxres || modded.dy >= vyres) modded 464 drivers/video/fbdev/pm3fb.c if (modded.sx + modded.width > vxres) modded 465 drivers/video/fbdev/pm3fb.c modded.width = vxres - modded.sx; modded 466 drivers/video/fbdev/pm3fb.c if (modded.dx + modded.width > vxres) modded 467 drivers/video/fbdev/pm3fb.c modded.width = vxres - modded.dx; modded 468 drivers/video/fbdev/pm3fb.c if (modded.sy + modded.height > vyres) modded 469 drivers/video/fbdev/pm3fb.c modded.height = vyres - modded.sy; modded 470 drivers/video/fbdev/pm3fb.c if (modded.dy + modded.height > vyres) modded 471 drivers/video/fbdev/pm3fb.c modded.height = vyres - modded.dy; modded 473 drivers/video/fbdev/pm3fb.c o_x = modded.sx - modded.dx; /*(sx > dx ) ? (sx - dx) : (dx - sx); */ modded 474 drivers/video/fbdev/pm3fb.c o_y = modded.sy - modded.dy; /*(sy > dy ) ? (sy - dy) : (dy - sy); */ modded 476 drivers/video/fbdev/pm3fb.c x_align = (modded.sx & 0x1f); modded 488 drivers/video/fbdev/pm3fb.c ((modded.dy & 0x0fff) << 16) | (modded.dx & 0x0fff)); modded 490 drivers/video/fbdev/pm3fb.c (((modded.dy + modded.height) & 0x0fff) << 16) | modded 491 drivers/video/fbdev/pm3fb.c ((modded.dx + modded.width) & 0x0fff)); modded 498 drivers/video/fbdev/pm3fb.c PM3RectanglePosition_XOffset(modded.dx - x_align) | modded 499 drivers/video/fbdev/pm3fb.c PM3RectanglePosition_YOffset(modded.dy)); modded 502 drivers/video/fbdev/pm3fb.c ((modded.sx > modded.dx) ? PM3Render2D_XPositive : 0) | modded 503 drivers/video/fbdev/pm3fb.c ((modded.sy > modded.dy) ? PM3Render2D_YPositive : 0) | modded 507 drivers/video/fbdev/pm3fb.c PM3Render2D_Width(modded.width + x_align) | modded 508 drivers/video/fbdev/pm3fb.c PM3Render2D_Height(modded.height));