Home
last modified time | relevance | path

Searched refs:sx (Results 1 – 25 of 79) sorted by relevance

1234

/linux-2.4.37.9/drivers/video/
Dfbcon-iplan2p2.c156 void fbcon_iplan2p2_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p2_bmove() argument
171 if (sx == 0 && dx == 0 && width * 2 == p->next_line) { in fbcon_iplan2p2_bmove()
185 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p2_bmove()
194 if ((sx & 1) == (dx & 1)) { in fbcon_iplan2p2_bmove()
197 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
199 if (sx & 1) { in fbcon_iplan2p2_bmove()
219 if (!((sx+width-1) & 1)) { in fbcon_iplan2p2_bmove()
220 src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*4; in fbcon_iplan2p2_bmove()
225 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
228 src += colsize * bytes + (sx & 1)*3; in fbcon_iplan2p2_bmove()
[all …]
Dfbcon-iplan2p4.c164 void fbcon_iplan2p4_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p4_bmove() argument
179 if (sx == 0 && dx == 0 && width * 4 == p->next_line) { in fbcon_iplan2p4_bmove()
193 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p4_bmove()
202 if ((sx & 1) == (dx & 1)) { in fbcon_iplan2p4_bmove()
206 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_bmove()
208 if (sx & 1) { in fbcon_iplan2p4_bmove()
228 if (!((sx+width-1) & 1)) { in fbcon_iplan2p4_bmove()
229 src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*8; in fbcon_iplan2p4_bmove()
234 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_bmove()
237 src += colsize * bytes + (sx & 1)*7; in fbcon_iplan2p4_bmove()
[all …]
Dfbcon-iplan2p8.c196 void fbcon_iplan2p8_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p8_bmove() argument
211 if (sx == 0 && dx == 0 && width * 8 == p->next_line) { in fbcon_iplan2p8_bmove()
225 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p8_bmove()
234 if ((sx & 1) == (dx & 1)) { in fbcon_iplan2p8_bmove()
238 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
240 if (sx & 1) { in fbcon_iplan2p8_bmove()
261 if (!((sx+width-1) & 1)) { in fbcon_iplan2p8_bmove()
262 src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*16; in fbcon_iplan2p8_bmove()
267 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
270 src += colsize * bytes + (sx & 1)*15; in fbcon_iplan2p8_bmove()
[all …]
Dfbcon-vga.c99 void fbcon_vga_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_vga_bmove() argument
105 if (sx == 0 && dx == 0 && width == p->next_line/2) { in fbcon_vga_bmove()
109 } else if (dy < sy || (dy == sy && dx < sx)) { in fbcon_vga_bmove()
110 src = (u16 *)(p->screen_base+sy*p->next_line+sx*2); in fbcon_vga_bmove()
118 src = (u16 *)(p->screen_base+(sy+height-1)*p->next_line+sx*2); in fbcon_vga_bmove()
128 void fbcon_vga_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_vga_clear() argument
131 u16 *dest = (u16 *)(p->screen_base+sy*p->next_line+sx*2); in fbcon_vga_clear()
134 if (sx == 0 && width*2 == p->next_line) in fbcon_vga_clear()
Dfbcon-cfb2.c57 void fbcon_cfb2_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb2_bmove() argument
63 if (sx == 0 && dx == 0 && width * 2 == bytes) { in fbcon_cfb2_bmove()
69 if (dy < sy || (dy == sy && dx < sx)) { in fbcon_cfb2_bmove()
70 src = p->screen_base + sy * linesize + sx * 2; in fbcon_cfb2_bmove()
79 src = p->screen_base + (sy+height) * linesize + sx * 2 in fbcon_cfb2_bmove()
92 void fbcon_cfb2_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_cfb2_clear() argument
99 dest = p->screen_base + sy * fontheight(p) * bytes + sx * 2; in fbcon_cfb2_clear()
106 if (sx == 0 && width * 2 == bytes) { in fbcon_cfb2_clear()
Dfbcon-cfb4.c57 void fbcon_cfb4_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb4_bmove() argument
63 if (sx == 0 && dx == 0 && width * 4 == bytes) { in fbcon_cfb4_bmove()
69 if (dy < sy || (dy == sy && dx < sx)) { in fbcon_cfb4_bmove()
70 src = p->screen_base + sy * linesize + sx * 4; in fbcon_cfb4_bmove()
79 src = p->screen_base + (sy+height) * linesize + sx * 4 in fbcon_cfb4_bmove()
92 void fbcon_cfb4_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_cfb4_clear() argument
101 dest = p->screen_base + sy * fontheight(p) * bytes + sx * 4; in fbcon_cfb4_clear()
108 if (sx == 0 && width * 4 == bytes) { in fbcon_cfb4_clear()
Dfbcon-hga.c52 void fbcon_hga_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_hga_bmove() argument
59 if (sx == 0 && dx == 0 && width == p->next_line) { in fbcon_hga_bmove()
69 src = rowaddr(p, y1)+sx; in fbcon_hga_bmove()
79 src = rowaddr(p, y1)+sx; in fbcon_hga_bmove()
88 void fbcon_hga_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_hga_clear() argument
95 DPRINTK("fbcon_hga_clear: sx:%d, sy:%d, height:%d, width:%d\n", sx, sy, height, width); in fbcon_hga_clear()
99 if (sx == 0 && width == p->next_line) { in fbcon_hga_clear()
108 dest = rowaddr(p, y)+sx; in fbcon_hga_clear()
Dpm2fb.c1209 static void pm2fb_pp_bmove(struct display* p, int sy, int sx, in pm2fb_pp_bmove() argument
1213 sx=sx<<fontwidthlog(p); in pm2fb_pp_bmove()
1218 sx=sx*fontwidth(p); in pm2fb_pp_bmove()
1225 pm2fb_pp_copy((struct pm2fb_info* )p->fb_info, sx, sy, dx, in pm2fb_pp_bmove()
1229 static void pm2fb_bmove(struct display* p, int sy, int sx, in pm2fb_bmove() argument
1233 sx=sx<<fontwidthlog(p); in pm2fb_bmove()
1238 sx=sx*fontwidth(p); in pm2fb_bmove()
1245 pm2fb_block_op((struct pm2fb_info* )p->fb_info, 1, sx, sy, dx, dy, in pm2fb_bmove()
1251 int sy, int sx, int height, int width) { in pm2fb_clear8() argument
1254 sx=sx*fontwidth(p); in pm2fb_clear8()
[all …]
Dfbcon-cfb8.c48 void fbcon_cfb8_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb8_bmove() argument
54 if (sx == 0 && dx == 0 && width * fontwidth(p) == bytes) { in fbcon_cfb8_bmove()
61 sx <<= fontwidthlog(p); dx <<= fontwidthlog(p); width <<= fontwidthlog(p); in fbcon_cfb8_bmove()
63 sx *= fontwidth(p); dx *= fontwidth(p); width *= fontwidth(p); in fbcon_cfb8_bmove()
65 if (dy < sy || (dy == sy && dx < sx)) { in fbcon_cfb8_bmove()
66 src = p->screen_base + sy * linesize + sx; in fbcon_cfb8_bmove()
74 src = p->screen_base + (sy+height) * linesize + sx - bytes; in fbcon_cfb8_bmove()
93 void fbcon_cfb8_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_cfb8_clear() argument
100 dest = p->screen_base + sy * fontheight(p) * bytes + sx * fontwidth(p); in fbcon_cfb8_clear()
Dfbcon-mfb.c35 void fbcon_mfb_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_mfb_bmove() argument
41 if (sx == 0 && dx == 0 && width == p->next_line) { in fbcon_mfb_bmove()
46 src = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_mfb_bmove()
54 src = p->screen_base+((sy+height)*fontheight(p)-1)*p->next_line+sx; in fbcon_mfb_bmove()
64 void fbcon_mfb_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_mfb_clear() argument
71 dest = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_mfb_clear()
73 if (sx == 0 && width == p->next_line) { in fbcon_mfb_clear()
Dfbcon-sti.c131 fbcon_sti_bmove(struct display *p, int sy, int sx, in fbcon_sti_bmove() argument
136 sti_bmove(default_sti /* FIXME */, sy, sx, dy, dx, height, width); in fbcon_sti_bmove()
141 if (sx == 0 && dx == 0 && width == p->next_line) { in fbcon_sti_bmove()
146 src = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_sti_bmove()
154 src = p->screen_base+((sy+height)*fontheight(p)-1)*p->next_line+sx; in fbcon_sti_bmove()
167 struct display *p, int sy, int sx, in fbcon_sti_clear() argument
174 dest = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_sti_clear()
176 if (sx == 0 && width == p->next_line) { in fbcon_sti_clear()
Dpromcon.c340 promcon_clear(struct vc_data *conp, int sy, int sx, int height, int width) in promcon_clear() argument
350 if (!sx && width == pw + 1) { in promcon_clear()
378 } else if (sx + width == pw + 1) { in promcon_clear()
380 b += sprintf(b, "\033[%d;%dH", sy + 1, sx + 1); in promcon_clear()
395 b += sprintf(b, "\033[%d;%dH", i, sx + 1); in promcon_clear()
409 promcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, in promcon_bmove() argument
419 if (dx > sx && dx + width == conp->vc_cols) in promcon_bmove()
421 sy + 1, sx + 1, dx - sx, py + 1, px + 1); in promcon_bmove()
422 else if (dx < sx && sx + width == conp->vc_cols) in promcon_bmove()
424 dy + 1, dx + 1, sx - dx, py + 1, px + 1); in promcon_bmove()
Dfbcon-cfb24.c32 void fbcon_cfb24_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb24_bmove() argument
38 if (sx == 0 && dx == 0 && width * fontwidth(p) * 3 == bytes) { in fbcon_cfb24_bmove()
45 sx <<= fontwidthlog(p); in fbcon_cfb24_bmove()
49 sx *= fontwidth(p); in fbcon_cfb24_bmove()
53 sx *= 3; dx *= 3; width *= 3; in fbcon_cfb24_bmove()
54 if (dy < sy || (dy == sy && dx < sx)) { in fbcon_cfb24_bmove()
55 src = p->screen_base + sy * linesize + sx; in fbcon_cfb24_bmove()
63 src = p->screen_base + (sy+height) * linesize + sx - bytes; in fbcon_cfb24_bmove()
118 void fbcon_cfb24_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_cfb24_clear() argument
125 dest = p->screen_base + sy * fontheight(p) * bytes + sx * fontwidth(p) * 3; in fbcon_cfb24_clear()
Dfbcon-cfb16.c43 void fbcon_cfb16_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb16_bmove() argument
49 if (sx == 0 && dx == 0 && width * fontwidth(p) * 2 == bytes) { in fbcon_cfb16_bmove()
56 sx <<= fontwidthlog(p)+1; in fbcon_cfb16_bmove()
60 sx *= fontwidth(p)*2; in fbcon_cfb16_bmove()
64 if (dy < sy || (dy == sy && dx < sx)) { in fbcon_cfb16_bmove()
65 src = p->screen_base + sy * linesize + sx; in fbcon_cfb16_bmove()
73 src = p->screen_base + (sy+height) * linesize + sx - bytes; in fbcon_cfb16_bmove()
104 void fbcon_cfb16_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_cfb16_clear() argument
111 dest = p->screen_base + sy * fontheight(p) * bytes + sx * fontwidth(p) * 2; in fbcon_cfb16_clear()
Dfbcon-cfb32.c32 void fbcon_cfb32_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb32_bmove() argument
38 if (sx == 0 && dx == 0 && width * fontwidth(p) * 4 == bytes) { in fbcon_cfb32_bmove()
45 sx <<= fontwidthlog(p)+2; in fbcon_cfb32_bmove()
49 sx *= fontwidth(p)*4; in fbcon_cfb32_bmove()
53 if (dy < sy || (dy == sy && dx < sx)) { in fbcon_cfb32_bmove()
54 src = p->screen_base + sy * linesize + sx; in fbcon_cfb32_bmove()
62 src = p->screen_base + (sy+height) * linesize + sx - bytes; in fbcon_cfb32_bmove()
95 void fbcon_cfb32_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_cfb32_clear() argument
102 dest = p->screen_base + sy * fontheight(p) * bytes + sx * fontwidth(p) * 4; in fbcon_cfb32_clear()
Dfbcon-mac.c51 void fbcon_mac_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_mac_bmove() argument
63 if( sx == 0 && width == p->conp->vc_cols) { in fbcon_mac_bmove()
69 l = sx * fontwidth(p); in fbcon_mac_bmove()
97 sx,sy,dx,dy,width,height,p->var.bits_per_pixel); in fbcon_mac_bmove()
143 if (sy <= sx) { in fbcon_mac_bmove()
158 plot_pixel_mac(p, get_pixel_mac(p, j+(dx-sx), i+(dy-sy)), j, i); in fbcon_mac_bmove()
173 plot_pixel_mac(p, get_pixel_mac(p, j+(dx-sx), i+(dy-sy)), j, i); in fbcon_mac_bmove()
189 void fbcon_mac_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_mac_clear() argument
202 if( sx == 0 && width == p->conp->vc_cols) { in fbcon_mac_clear()
210 l = sx * fontwidth(p); in fbcon_mac_clear()
Dfbcon-ilbm.c44 void fbcon_ilbm_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_ilbm_bmove() argument
47 if (sx == 0 && dx == 0 && width == p->next_plane) in fbcon_ilbm_bmove()
56 src = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_ilbm_bmove()
64 src = p->screen_base+(sy+height)*fontheight(p)*p->next_line+sx; in fbcon_ilbm_bmove()
75 void fbcon_ilbm_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_ilbm_clear() argument
82 dest = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_ilbm_clear()
Dpm3fb.c605 int sy, int sx, int height, int width);
612 int sy, int sx, int height, int width);
619 int sy, int sx, int height, int width);
625 int sy, int sx,
1833 int sy, int sx, int height, int width) in pm3fb_cfb32_clear() argument
1840 sx = sx * fontwidth(p); in pm3fb_cfb32_clear()
1861 (PM3RectanglePosition_XOffset(sx)) | in pm3fb_cfb32_clear()
1890 (PM3RectanglePosition_XOffset(sx << 1)) | in pm3fb_cfb32_clear()
1915 int sx, sy; in pm3fb_cfb32_clear_margins() local
1920 sx = conp->vc_cols * fontwidth(p); /* right margin */ in pm3fb_cfb32_clear_margins()
[all …]
Ddnfb.c436 static void bmove_apollofb(struct display *p, int sy, int sx, int dy, int dx, in bmove_apollofb() argument
446 dn_bitblt(p,sx,sy*fontheight,dx,dy*fontheight,width*fontwidth, in bmove_apollofb()
452 if (sx == 0 && dx == 0 && width == p->next_line) { in bmove_apollofb()
457 src = p->screen_base+sy*fontheight*next_line+sx; in bmove_apollofb()
465 src = p->screen_base+((sy+height)*fontheight-1)*p->next_line+sx; in bmove_apollofb()
476 static void clear_apollofb(struct vc_data *conp, struct display *p, int sy, int sx, in clear_apollofb() argument
479 fbcon_mfb_clear(conp,p,sy,sx,height,width); in clear_apollofb()
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_accel.c148 static void matrox_cfbX_bmove(struct display* p, int sy, int sx, int dy, int dx, int height, int wi… in matrox_cfbX_bmove() argument
157 sx *= fontwidth(p); in matrox_cfbX_bmove()
163 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_cfbX_bmove()
169 start = sy*pixx+sx+curr_ydstorg(MINFO); in matrox_cfbX_bmove()
177 end = (sy+height-1)*pixx+sx+curr_ydstorg(MINFO); in matrox_cfbX_bmove()
192 static void matrox_cfb4_bmove(struct display* p, int sy, int sx, int dy, int dx, int height, int wi… in matrox_cfb4_bmove() argument
203 if ((sx | dx | width) & fontwidth(p) & 1) { in matrox_cfb4_bmove()
204 fbcon_cfb4_bmove(p, sy, sx, dy, dx, height, width); in matrox_cfb4_bmove()
207 sx *= fontwidth(p); in matrox_cfb4_bmove()
214 sx >>= 1; in matrox_cfb4_bmove()
[all …]
/linux-2.4.37.9/arch/mips/math-emu/
Ddp_sqrt.c83 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()
127 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()
132 if (ieee754_csr.sx & IEEE754_INEXACT || t.bits != y.bits) { in ieee754dp_sqrt()
134 if (!(ieee754_csr.sx & IEEE754_INEXACT)) in ieee754dp_sqrt()
140 oldcsr.sx |= IEEE754_INEXACT; in ieee754dp_sqrt()
/linux-2.4.37.9/fs/xfs/
Dxfs_dfrag.c70 xfs_swapext_t sx; in xfs_swapext() local
88 if (copy_from_user(&sx, sxp, sizeof(sx))) in xfs_swapext()
92 if (((fp = fget((int)sx.sx_fdtarget)) == NULL) || in xfs_swapext()
107 if (((tfp = fget((int)sx.sx_fdtmp)) == NULL) || in xfs_swapext()
134 sbp = &sx.sx_stat; in xfs_swapext()
194 if (sx.sx_offset != 0 || in xfs_swapext()
195 sx.sx_length != ip->i_d.di_size || in xfs_swapext()
196 sx.sx_length != tip->i_d.di_size) { in xfs_swapext()
/linux-2.4.37.9/drivers/video/riva/
Daccel.c44 int sx, int height, int width, u_int color) in riva_rectfill() argument
50 rinfo->riva.Bitmap->UnclippedRectangle[0].TopLeft = (sx << 16) | sy; in riva_rectfill()
54 static void fbcon_riva_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_riva_bmove() argument
59 sx *= fontwidth(p); in fbcon_riva_bmove()
67 rinfo->riva.Blt->TopLeftSrc = (sy << 16) | sx; in fbcon_riva_bmove()
174 int sx, int height, int width) in fbcon_riva8_clear() argument
182 sx *= fontwidth(p); in fbcon_riva8_clear()
187 riva_rectfill(rinfo, sy, sx, height, width, bgx); in fbcon_riva8_clear()
287 int sx, int height, int width) in fbcon_riva16_clear() argument
295 sx *= fontwidth(p); in fbcon_riva16_clear()
[all …]
/linux-2.4.37.9/drivers/video/aty/
Dmach64_accel.c23 static void fbcon_aty_bmove(struct display *p, int sy, int sx, int dy, int dx,
26 int sx, int height, int width);
253 static void fbcon_aty_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_aty_bmove() argument
264 sx *= fontwidth(p); in fbcon_aty_bmove()
271 aty_rectcopy(sx, sy, dx, dy, width, height, in fbcon_aty_bmove()
276 int sx, int height, int width) in fbcon_aty_clear() argument
291 sx *= fontwidth(p); in fbcon_aty_clear()
296 aty_rectfill(sx, sy, width, height, bgx, in fbcon_aty_clear()
/linux-2.4.37.9/drivers/video/sti/
Dsticon.c197 sticon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, in sticon_bmove() argument
204 (sx <= p->cursor_x) && (p->cursor_x < sx+width)) || in sticon_bmove()
210 sti_bmove(default_sti, sy, sx, dy, dx, height, width); in sticon_bmove()
237 static void sticon_clear(struct vc_data *conp, int sy, int sx, int height, in sticon_clear() argument
243 sti_clear(default_sti, sy, sx, height, width, conp->vc_video_erase_char); in sticon_clear()

1234