Lines Matching refs:modded

1056 	struct fb_fillrect modded;  in pm2fb_fillrect()  local
1072 memcpy(&modded, region, sizeof(struct fb_fillrect)); in pm2fb_fillrect()
1074 if (!modded.width || !modded.height || in pm2fb_fillrect()
1075 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_fillrect()
1078 if (modded.dx + modded.width > vxres) in pm2fb_fillrect()
1079 modded.width = vxres - modded.dx; in pm2fb_fillrect()
1080 if (modded.dy + modded.height > vyres) in pm2fb_fillrect()
1081 modded.height = vyres - modded.dy; in pm2fb_fillrect()
1090 pm2_WR(par, PM2R_RECTANGLE_ORIGIN, (modded.dy << 16) | modded.dx); in pm2fb_fillrect()
1091 pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); in pm2fb_fillrect()
1114 struct fb_copyarea modded; in pm2fb_copyarea() local
1124 memcpy(&modded, area, sizeof(struct fb_copyarea)); in pm2fb_copyarea()
1129 if (!modded.width || !modded.height || in pm2fb_copyarea()
1130 modded.sx >= vxres || modded.sy >= vyres || in pm2fb_copyarea()
1131 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_copyarea()
1134 if (modded.sx + modded.width > vxres) in pm2fb_copyarea()
1135 modded.width = vxres - modded.sx; in pm2fb_copyarea()
1136 if (modded.dx + modded.width > vxres) in pm2fb_copyarea()
1137 modded.width = vxres - modded.dx; in pm2fb_copyarea()
1138 if (modded.sy + modded.height > vyres) in pm2fb_copyarea()
1139 modded.height = vyres - modded.sy; in pm2fb_copyarea()
1140 if (modded.dy + modded.height > vyres) in pm2fb_copyarea()
1141 modded.height = vyres - modded.dy; in pm2fb_copyarea()
1147 ((modded.sy - modded.dy) & 0xfff) << 16 | in pm2fb_copyarea()
1148 ((modded.sx - modded.dx) & 0xfff)); in pm2fb_copyarea()
1149 pm2_WR(par, PM2R_RECTANGLE_ORIGIN, (modded.dy << 16) | modded.dx); in pm2fb_copyarea()
1150 pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); in pm2fb_copyarea()
1153 (modded.dx < modded.sx ? PM2F_INCREASE_X : 0) | in pm2fb_copyarea()
1154 (modded.dy < modded.sy ? PM2F_INCREASE_Y : 0)); in pm2fb_copyarea()