Lines Matching +full:- +full:15 +full:v
2 * linux/drivers/video/iplan2p8.c -- Low level frame buffer operations for
53 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea()
54 /* odd->odd or even->even */ in atafb_iplan2p8_copyarea()
57 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
59 if (sx & 15) { in atafb_iplan2p8_copyarea()
60 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p8_copyarea()
63 width -= 8; in atafb_iplan2p8_copyarea()
70 l = next_line - w * 4; in atafb_iplan2p8_copyarea()
71 for (j = height; j > 0; j--) { in atafb_iplan2p8_copyarea()
72 for (i = w; i > 0; i--) in atafb_iplan2p8_copyarea()
78 if (width & 15) in atafb_iplan2p8_copyarea()
80 0xff00ff00, height, next_line - BPL * 2); in atafb_iplan2p8_copyarea()
82 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
83 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
85 if ((sx + width) & 15) { in atafb_iplan2p8_copyarea()
86 src -= BPL * 2; in atafb_iplan2p8_copyarea()
87 dst -= BPL * 2; in atafb_iplan2p8_copyarea()
88 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p8_copyarea()
89 width -= 8; in atafb_iplan2p8_copyarea()
96 l = next_line - w * 4; in atafb_iplan2p8_copyarea()
97 for (j = height; j > 0; j--) { in atafb_iplan2p8_copyarea()
98 for (i = w; i > 0; i--) in atafb_iplan2p8_copyarea()
99 *--d = *--s; in atafb_iplan2p8_copyarea()
100 s = (u32 *)((u8 *)s - l); in atafb_iplan2p8_copyarea()
101 d = (u32 *)((u8 *)d - l); in atafb_iplan2p8_copyarea()
104 if (sx & 15) in atafb_iplan2p8_copyarea()
105 memmove32_col(dst - (width - 16) / (8 / BPL), in atafb_iplan2p8_copyarea()
106 src - (width - 16) / (8 / BPL), in atafb_iplan2p8_copyarea()
107 0xff00ff, colsize, -next_line - BPL * 2); in atafb_iplan2p8_copyarea()
110 /* odd->even or even->odd */ in atafb_iplan2p8_copyarea()
113 u32 pval[4], v, v1, mask; in atafb_iplan2p8_copyarea() local
116 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
117 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
122 if (sx & 15) { in atafb_iplan2p8_copyarea()
126 if ((sx + width) & 15) in atafb_iplan2p8_copyarea()
129 for (i = height; i; i--) { in atafb_iplan2p8_copyarea()
145 for (j = w; j > 0; j--) { in atafb_iplan2p8_copyarea()
146 v = *src32++; in atafb_iplan2p8_copyarea()
147 v1 = v & mask; in atafb_iplan2p8_copyarea()
149 pval[0] = (v ^ v1) << 8; in atafb_iplan2p8_copyarea()
150 v = *src32++; in atafb_iplan2p8_copyarea()
151 v1 = v & mask; in atafb_iplan2p8_copyarea()
153 pval[1] = (v ^ v1) << 8; in atafb_iplan2p8_copyarea()
154 v = *src32++; in atafb_iplan2p8_copyarea()
155 v1 = v & mask; in atafb_iplan2p8_copyarea()
157 pval[2] = (v ^ v1) << 8; in atafb_iplan2p8_copyarea()
158 v = *src32++; in atafb_iplan2p8_copyarea()
159 v1 = v & mask; in atafb_iplan2p8_copyarea()
161 pval[3] = (v ^ v1) << 8; in atafb_iplan2p8_copyarea()
176 u32 pval[4], v, v1, mask; in atafb_iplan2p8_copyarea() local
179 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
180 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
185 if ((dx + width) & 15) in atafb_iplan2p8_copyarea()
187 if (sx & 15) { in atafb_iplan2p8_copyarea()
192 for (i = height; i; i--) { in atafb_iplan2p8_copyarea()
197 pval[0] = dst32[-1] & mask; in atafb_iplan2p8_copyarea()
198 pval[1] = dst32[-2] & mask; in atafb_iplan2p8_copyarea()
199 pval[2] = dst32[-3] & mask; in atafb_iplan2p8_copyarea()
200 pval[3] = dst32[-4] & mask; in atafb_iplan2p8_copyarea()
202 pval[0] = (*--src32 >> 8) & mask; in atafb_iplan2p8_copyarea()
203 pval[1] = (*--src32 >> 8) & mask; in atafb_iplan2p8_copyarea()
204 pval[2] = (*--src32 >> 8) & mask; in atafb_iplan2p8_copyarea()
205 pval[3] = (*--src32 >> 8) & mask; in atafb_iplan2p8_copyarea()
208 for (j = w; j > 0; j--) { in atafb_iplan2p8_copyarea()
209 v = *--src32; in atafb_iplan2p8_copyarea()
210 v1 = v & mask; in atafb_iplan2p8_copyarea()
211 *--dst32 = pval[0] | (v1 << 8); in atafb_iplan2p8_copyarea()
212 pval[0] = (v ^ v1) >> 8; in atafb_iplan2p8_copyarea()
213 v = *--src32; in atafb_iplan2p8_copyarea()
214 v1 = v & mask; in atafb_iplan2p8_copyarea()
215 *--dst32 = pval[1] | (v1 << 8); in atafb_iplan2p8_copyarea()
216 pval[1] = (v ^ v1) >> 8; in atafb_iplan2p8_copyarea()
217 v = *--src32; in atafb_iplan2p8_copyarea()
218 v1 = v & mask; in atafb_iplan2p8_copyarea()
219 *--dst32 = pval[2] | (v1 << 8); in atafb_iplan2p8_copyarea()
220 pval[2] = (v ^ v1) >> 8; in atafb_iplan2p8_copyarea()
221 v = *--src32; in atafb_iplan2p8_copyarea()
222 v1 = v & mask; in atafb_iplan2p8_copyarea()
223 *--dst32 = pval[3] | (v1 << 8); in atafb_iplan2p8_copyarea()
224 pval[3] = (v ^ v1) >> 8; in atafb_iplan2p8_copyarea()
228 dst32[-1] = (dst32[-1] & mask) | pval[0]; in atafb_iplan2p8_copyarea()
229 dst32[-2] = (dst32[-2] & mask) | pval[1]; in atafb_iplan2p8_copyarea()
230 dst32[-3] = (dst32[-3] & mask) | pval[2]; in atafb_iplan2p8_copyarea()
231 dst32[-4] = (dst32[-4] & mask) | pval[3]; in atafb_iplan2p8_copyarea()
234 src -= next_line; in atafb_iplan2p8_copyarea()
235 dst -= next_line; in atafb_iplan2p8_copyarea()
248 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
249 if (sx & 15) { in atafb_iplan2p8_fillrect()
254 for (i = height; i; i--) { in atafb_iplan2p8_fillrect()
259 width -= 8; in atafb_iplan2p8_fillrect()
266 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p8_fillrect()
267 for (i = height; i; i--) { in atafb_iplan2p8_fillrect()
272 width &= 15; in atafb_iplan2p8_fillrect()
280 for (i = height; i; i--) { in atafb_iplan2p8_fillrect()
296 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
297 if (dx & 15) { in atafb_iplan2p8_linefill()
300 width -= 8; in atafb_iplan2p8_linefill()
307 for (rows = width / 16; rows; rows--) { in atafb_iplan2p8_linefill()
317 width &= 15; in atafb_iplan2p8_linefill()