Home
last modified time | relevance | path

Searched refs:sy (Results 1 – 25 of 77) sorted by relevance

1234

/linux-2.4.37.9/drivers/video/
Dfbcon-vga.c99 void fbcon_vga_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_vga_bmove() argument
106 src = (u16 *)(p->screen_base+sy*p->next_line); 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()
Dfbcon-iplan2p2.c156 void fbcon_iplan2p2_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p2_bmove() argument
176 p->screen_base + sy * p->next_line * fontheight(p), in fbcon_iplan2p2_bmove()
185 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p2_bmove()
197 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 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()
242 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
252 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
264 void fbcon_iplan2p2_clear(struct vc_data *conp, struct display *p, int sy, in fbcon_iplan2p2_clear() argument
285 offset = (sy * bytes) << fontheightlog(p); in fbcon_iplan2p2_clear()
[all …]
Dfbcon-iplan2p4.c164 void fbcon_iplan2p4_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p4_bmove() argument
184 p->screen_base + sy * p->next_line * fontheight(p), in fbcon_iplan2p4_bmove()
193 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p4_bmove()
206 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 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()
253 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_bmove()
263 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_bmove()
275 void fbcon_iplan2p4_clear(struct vc_data *conp, struct display *p, int sy, in fbcon_iplan2p4_clear() argument
295 offset = (sy * bytes) << fontheightlog(p); in fbcon_iplan2p4_clear()
[all …]
Dfbcon-cfb2.c57 void fbcon_cfb2_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb2_bmove() argument
65 p->screen_base + sy * linesize, 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()
Dfbcon-cfb4.c57 void fbcon_cfb4_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb4_bmove() argument
65 p->screen_base + sy * linesize, 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()
Dfbcon-iplan2p8.c196 void fbcon_iplan2p8_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p8_bmove() argument
216 p->screen_base + sy * p->next_line * fontheight(p), in fbcon_iplan2p8_bmove()
225 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p8_bmove()
238 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 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()
285 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
295 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
307 void fbcon_iplan2p8_clear(struct vc_data *conp, struct display *p, int sy, in fbcon_iplan2p8_clear() argument
327 offset = (sy * bytes) << fontheightlog(p); in fbcon_iplan2p8_clear()
[all …]
Dfbcon-hga.c52 void fbcon_hga_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_hga_bmove() argument
60 src = p->screen_base+sy*fontheight(p)*width; in fbcon_hga_bmove()
65 if (dy <= sy) { in fbcon_hga_bmove()
66 y1 = sy*fontheight(p); in fbcon_hga_bmove()
76 y1 = (sy+height)*fontheight(p)-1; 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()
97 y = sy*fontheight(p); in fbcon_hga_clear()
Dfbcon-vga-planes.c105 void fbcon_vga_planes_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_vga_planes_bmove() argument
117 sy *= fontheight(p); in fbcon_vga_planes_bmove()
121 if (dy < sy || (dy == sy && dx < sx)) { in fbcon_vga_planes_bmove()
124 src = p->screen_base + sx + sy * p->line_length; in fbcon_vga_planes_bmove()
138 src = p->screen_base + sx + width + (sy + height - 1) * p->line_length; in fbcon_vga_planes_bmove()
152 void fbcon_vga_planes_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_vga_planes_clear() argument
167 sy *= fontheight(p); in fbcon_vga_planes_clear()
170 where = p->screen_base + sx + sy * p->line_length; in fbcon_vga_planes_clear()
Dfbcon-mfb.c35 void fbcon_mfb_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_mfb_bmove() argument
42 src = p->screen_base+sy*fontheight(p)*width; in fbcon_mfb_bmove()
45 } else if (dy <= sy) { 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()
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()
142 src = p->screen_base+sy*fontheight(p)*width; in fbcon_sti_bmove()
145 } else if (dy <= sy) { 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()
Dfbcon-cfb8.c48 void fbcon_cfb8_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb8_bmove() argument
56 p->screen_base + sy * linesize, 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()
Dpromcon.c340 promcon_clear(struct vc_data *conp, int sy, int sx, int height, int width) in promcon_clear() argument
352 if (!sy && height == ph + 1) { in promcon_clear()
358 } else if (sy + height == ph + 1) { in promcon_clear()
359 b += sprintf(b, "\033[%dH\033[J", sy + 1); in promcon_clear()
365 b += sprintf(b, "\033[%dH", sy + 1); in promcon_clear()
380 b += sprintf(b, "\033[%d;%dH", sy + 1, sx + 1); in promcon_clear()
394 for (i = sy + 1; i <= sy + height; i++) { in promcon_clear()
409 promcon_bmove(struct vc_data *conp, int sy, int sx, int dy, int dx, in promcon_bmove() argument
418 if (sy == dy && height == 1) { in promcon_bmove()
421 sy + 1, sx + 1, dx - sx, py + 1, px + 1); in promcon_bmove()
Dpm2fb.c1209 static void pm2fb_pp_bmove(struct display* p, int sy, int sx, in pm2fb_pp_bmove() argument
1222 sy=sy*fontheight(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
1242 sy=sy*fontheight(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
1256 sy=sy*fontheight(p); in pm2fb_clear8()
1261 pm2fb_block_op((struct pm2fb_info* )p->fb_info, 0, 0, 0, sx, sy, in pm2fb_clear8()
1269 u32 sy; in pm2fb_clear_margins8() local
[all …]
Dfbcon-mac.c51 void fbcon_mac_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_mac_bmove() argument
60 src = (u8 *) (p->screen_base + sy * fontheight(p) * p->next_line); in fbcon_mac_bmove()
71 t = sy * fontheight(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
200 dest = (u8 *) (p->screen_base + sy * fontheight(p) * p->next_line); in fbcon_mac_clear()
212 t = sy * fontheight(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
49 p->screen_base+sy*fontheight(p)*p->next_line, in fbcon_ilbm_bmove()
55 if (dy <= sy) { 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()
Dfbcon-afb.c170 void fbcon_afb_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_afb_bmove() argument
177 src = p->screen_base+sy*fontheight(p)*width; in fbcon_afb_bmove()
185 } else if (dy <= sy) { in fbcon_afb_bmove()
186 src0 = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_afb_bmove()
202 src0 = p->screen_base+(sy+height)*fontheight(p)*p->next_line+sx; in fbcon_afb_bmove()
220 void fbcon_afb_clear(struct vc_data *conp, struct display *p, int sy, int sx, in fbcon_afb_clear() argument
227 dest0 = p->screen_base+sy*fontheight(p)*p->next_line+sx; in fbcon_afb_clear()
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()
453 src = p->screen_base+sy*fontheight*width; in bmove_apollofb()
456 } else if (dy <= sy) { 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()
Dfbcon-cfb16.c43 void fbcon_cfb16_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_cfb16_bmove() argument
51 p->screen_base + sy * linesize, 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
40 p->screen_base + sy * linesize, 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()
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
1842 sy = sy * fontheight(p); in pm3fb_cfb32_clear()
1862 (PM3RectanglePosition_YOffset(sy))); in pm3fb_cfb32_clear()
1891 (PM3RectanglePosition_YOffset(sy))); in pm3fb_cfb32_clear()
1915 int sx, sy; in pm3fb_cfb32_clear_margins() local
1921 sy = conp->vc_rows * fontheight(p); /* bottom margin */ in pm3fb_cfb32_clear_margins()
[all …]
/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
161 sy *= fontheight(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
204 fbcon_cfb4_bmove(p, sy, sx, dy, dx, height, width); in matrox_cfb4_bmove()
211 sy *= fontheight(p); in matrox_cfb4_bmove()
217 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_cfb4_bmove()
223 start = sy*pixx+sx+curr_ydstorg(MINFO); in matrox_cfb4_bmove()
[all …]
/linux-2.4.37.9/drivers/video/riva/
Daccel.c43 static void riva_rectfill(struct rivafb_info *rinfo, int sy, 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
60 sy *= fontheight(p); in fbcon_riva_bmove()
67 rinfo->riva.Blt->TopLeftSrc = (sy << 16) | sx; in fbcon_riva_bmove()
173 static void fbcon_riva8_clear(struct vc_data *conp, struct display *p, int sy, in fbcon_riva8_clear() argument
183 sy *= fontheight(p); in fbcon_riva8_clear()
187 riva_rectfill(rinfo, sy, sx, height, width, bgx); in fbcon_riva8_clear()
286 static void fbcon_riva16_clear(struct vc_data *conp, struct display *p, int sy, in fbcon_riva16_clear() argument
296 sy *= fontheight(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,
25 static void fbcon_aty_clear(struct vc_data *conp, struct display *p, int sy,
253 static void fbcon_aty_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_aty_bmove() argument
265 sy *= fontheight(p); in fbcon_aty_bmove()
271 aty_rectcopy(sx, sy, dx, dy, width, height, in fbcon_aty_bmove()
275 static void fbcon_aty_clear(struct vc_data *conp, struct display *p, int sy, in fbcon_aty_clear() argument
292 sy *= fontheight(p); in fbcon_aty_clear()
296 aty_rectfill(sx, sy, width, height, bgx, in fbcon_aty_clear()
/linux-2.4.37.9/drivers/ieee1394/
Diso.h49 __u8 sy; member
160 int hpsb_iso_xmit_queue_packet(struct hpsb_iso *iso, u32 offset, u16 len, u8 tag, u8 sy);
185 u16 cycle, u8 channel, u8 tag, u8 sy);
/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
203 if (((sy <= p->cursor_y) && (p->cursor_y < sy+height) && 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