Lines Matching refs:modded

1054 	struct fb_fillrect modded;  in pm2fb_fillrect()  local
1070 memcpy(&modded, region, sizeof(struct fb_fillrect)); in pm2fb_fillrect()
1072 if (!modded.width || !modded.height || in pm2fb_fillrect()
1073 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_fillrect()
1076 if (modded.dx + modded.width > vxres) in pm2fb_fillrect()
1077 modded.width = vxres - modded.dx; in pm2fb_fillrect()
1078 if (modded.dy + modded.height > vyres) in pm2fb_fillrect()
1079 modded.height = vyres - modded.dy; in pm2fb_fillrect()
1088 pm2_WR(par, PM2R_RECTANGLE_ORIGIN, (modded.dy << 16) | modded.dx); in pm2fb_fillrect()
1089 pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); in pm2fb_fillrect()
1112 struct fb_copyarea modded; in pm2fb_copyarea() local
1122 memcpy(&modded, area, sizeof(struct fb_copyarea)); in pm2fb_copyarea()
1127 if (!modded.width || !modded.height || in pm2fb_copyarea()
1128 modded.sx >= vxres || modded.sy >= vyres || in pm2fb_copyarea()
1129 modded.dx >= vxres || modded.dy >= vyres) in pm2fb_copyarea()
1132 if (modded.sx + modded.width > vxres) in pm2fb_copyarea()
1133 modded.width = vxres - modded.sx; in pm2fb_copyarea()
1134 if (modded.dx + modded.width > vxres) in pm2fb_copyarea()
1135 modded.width = vxres - modded.dx; in pm2fb_copyarea()
1136 if (modded.sy + modded.height > vyres) in pm2fb_copyarea()
1137 modded.height = vyres - modded.sy; in pm2fb_copyarea()
1138 if (modded.dy + modded.height > vyres) in pm2fb_copyarea()
1139 modded.height = vyres - modded.dy; in pm2fb_copyarea()
1145 ((modded.sy - modded.dy) & 0xfff) << 16 | in pm2fb_copyarea()
1146 ((modded.sx - modded.dx) & 0xfff)); in pm2fb_copyarea()
1147 pm2_WR(par, PM2R_RECTANGLE_ORIGIN, (modded.dy << 16) | modded.dx); in pm2fb_copyarea()
1148 pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); in pm2fb_copyarea()
1151 (modded.dx < modded.sx ? PM2F_INCREASE_X : 0) | in pm2fb_copyarea()
1152 (modded.dy < modded.sy ? PM2F_INCREASE_Y : 0)); in pm2fb_copyarea()