/drivers/video/ |
H A D | c2p.h | 13 extern void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, 17 extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width,
|
H A D | atafb.h | 5 int dx, int height, int width); 9 int dy, int dx, u32 width, 13 int dx, int height, int width); 17 int dy, int dx, u32 width, 21 int dx, int height, int width); 25 int dy, int dx, u32 width, 29 int dx, int height, int width); 33 int dy, int dx, u32 width,
|
H A D | atafb_mfb.c | 25 int sy, int sx, int dy, int dx, 31 if (sx == 0 && dx == 0 && width == next_line) { 37 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); 45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); 78 int dy, int dx, u32 width, 84 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); 24 atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument 77 atafb_mfb_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument
|
H A D | atafb_iplan2p2.c | 25 int sy, int sx, int dy, int dx, 44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); 47 if (!((sx ^ dx) & 15)) { 52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 153 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 158 if ((dx + width) & 15) 240 int dy, int dx, u32 width, 248 dest = (u32 *)(info->screen_base + dy * next_line + (dx 24 atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument 239 atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument [all...] |
H A D | atafb_iplan2p4.c | 25 int sy, int sx, int dy, int dx, 44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); 47 if (!((sx ^ dx) & 15)) { 52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 160 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 165 if ((dx + width) & 15) 254 int dy, int dx, u32 width, 262 dest = (u32 *)(info->screen_base + dy * next_line + (dx 24 atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument 253 atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument [all...] |
H A D | dnfb.c | 160 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); 164 x_end = area->dx + area->width - 1; 165 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; 166 start_mask = 0xffff0000 >> (area->dx & 0xf); 169 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); 170 if ((area->dx & 0xf) < (area->sx & 0xf)) 174 x_end = area->dx - area->width + 1; 175 x_word_count = (area->dx >> 4) - (x_end >> 4) + 1; 176 start_mask = 0x7ffff >> (area->dx & 0xf); 179 ((-((area->sx & 0xf) - (area->dx [all...] |
H A D | c2p_iplan2.c | 76 * @dx: Horizontal destination offset (in pixels) 85 void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument 96 dst += dy*dst_nextline+(dx & ~15)*bpp; 97 dst_idx = dx % 16;
|
H A D | c2p_planar.c | 76 * @dx: Horizontal destination offset (in pixels) 86 void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument 98 dst += dy*dst_nextline+(dx & ~31); 99 dst_idx = dx % 32;
|
H A D | vga16fb.c | 829 u32 dx = rect->dx, width = rect->width; local 837 dx /= 4; 838 where = info->screen_base + dx + rect->dy * info->fix.line_length; 889 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) 895 x2 = rect->dx + rect->width; 899 width = x2 - rect->dx; 909 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; 963 u32 sx, dx, width; local 970 dx 1013 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; local 1126 u32 dx = image->dx; local [all...] |
H A D | atafb_iplan2p8.c | 32 int sy, int sx, int dy, int dx, 51 u_int upwards = (dy < sy) || (dy == sy && dx < sx); 54 if (!((sx ^ dx) & 15)) { 59 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 118 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); 181 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); 186 if ((dx + width) & 15) 289 int dy, int dx, u32 width, 297 dest = (u32 *)(info->screen_base + dy * next_line + (dx 31 atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument 288 atafb_iplan2p8_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument [all...] |
/drivers/video/mb862xx/ |
H A D | mb862xxfb_accel.c | 56 if (area->sx >= area->dx && area->sy >= area->dy) 58 else if (area->sx >= area->dx && area->sy <= area->dy) 60 else if (area->sx <= area->dx && area->sy >= area->dy) 66 cmd[4] = (area->dy << 16) | area->dx; 75 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, argument 102 cmd[7] = (dy << 16) | dx; 124 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, argument 135 cmd[1] = (dy << 16) | dx; 163 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, argument 178 cmd[1] = (dy << 16) | dx; 200 u16 dx = image->dx, dy = image->dy; local [all...] |
/drivers/video/savage/ |
H A D | savagefb_accel.c | 34 int sx = region->sx, dx = region->dx; local 44 if (dx <= sx) { 48 dx += region->width - 1; 61 BCI_SEND(BCI_X_Y(dx, dy)); 88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); 128 BCI_SEND(BCI_CLIP_LR(image->dx, image->dx + image->width - 1)); 131 BCI_SEND(BCI_X_Y(image->dx, image->dy));
|
/drivers/video/aty/ |
H A D | radeon_accel.c | 63 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); 88 modded.dx >= vxres || modded.dy >= vyres) 91 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; 101 u32 sx, sy, dx, dy, w, h; local 104 dx = area->dx; dy = area->dy; 106 xdir = sx - dx; 109 if ( xdir < 0 ) { sx += w-1; dx += w-1; } 129 OUTREG(DST_Y_X, (dy << 16) | dx); [all...] |
H A D | mach64_accel.c | 26 static u32 rotation24bpp(u32 dx, u32 direction) argument 30 rotation = (dx / 4) % 6; 32 rotation = ((dx + 2) / 4) % 6; 199 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; local 214 dx *= 3; 224 if (sx < dx) { 225 dx += width - 1; 231 rotation = rotation24bpp(dx, direction); 239 draw_rect(dx, d 245 u32 color, dx = rect->dx, width = rect->width, rotation = 0; local 284 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; local [all...] |
/drivers/input/mouse/ |
H A D | amimouse.c | 42 int nx, ny, dx, dy; local 49 dx = nx - amimouse_lastx; 52 if (dx < -127) dx = (256 + nx) - amimouse_lastx; 53 if (dx > 127) dx = (nx - 256) - amimouse_lastx; 62 input_report_rel(dev, REL_X, dx);
|
H A D | atarimouse.c | 70 int buttons, dx, dy; local 79 dx = buf[1]; 82 input_report_rel(atamouse_dev, REL_X, dx);
|
H A D | rpcmouse.c | 41 short x, y, dx, dy, b; local 47 dx = x - rpcmouse_lastx; 53 input_report_rel(dev, REL_X, dx);
|
H A D | logibm.c | 79 char dx, dy; local 83 dx = (inb(LOGIBM_DATA_PORT) & 0xf); 85 dx |= (inb(LOGIBM_DATA_PORT) & 0xf) << 4; 93 input_report_rel(logibm_dev, REL_X, dx);
|
/drivers/video/sis/ |
H A D | sis_accel.c | 335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) 339 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; 354 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); 361 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); 388 area->dx >= vxres || area->dy >= vyres) 393 if((area->dx + width) > vxres) width = vxres - area->dx; 401 if(area->sx < area->dx) xdir = 0; 409 area->dx, are [all...] |
/drivers/video/matrox/ |
H A D | matroxfb_accel.c | 200 int sx, int dy, int dx, int height, int width) 209 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { 230 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); 238 int sy, int sx, int dy, int dx, int height, 248 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { 269 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); 280 if ((area->sx | area->dx | area->width) & 1) 283 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 199 matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument 237 matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument [all...] |
/drivers/isdn/sc/ |
H A D | message.h | 38 #define IS_CM_MESSAGE(mesg, tx, cx, dx) \ 41 && (mesg.code == cmRsp##dx)) 46 #define IS_CE_MESSAGE(mesg, tx, cx, dx) \ 49 && (mesg.code == ceRsp##tx##dx))
|
/drivers/video/console/ |
H A D | fbcon_ud.c | 49 int sx, int dy, int dx, int height, int width) 59 area.dx = vxres - ((dx + width) * vc->vc_font.width); 77 region.dx = vxres - ((sx + width) * vc->vc_font.width); 174 image.dx = vxres - ((xx + count) * vc->vc_font.width); 208 image.dx += image.width; 237 region.dx = info->var.xoffset; 245 region.dx = info->var.xoffset; 261 int err = 1, dx, dy; local 319 dx 48 ud_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument [all...] |
H A D | fbcon_ccw.c | 64 int sx, int dy, int dx, int height, int width) 72 area.dx = dy * vc->vc_font.height; 73 area.dy = vyres - ((dx + width) * vc->vc_font.width); 89 region.dx = sy * vc->vc_font.height; 150 image.dx = yy * vc->vc_font.height; 206 region.dx = 0; 214 region.dx = info->var.xoffset + bs; 231 int err = 1, dx, dy; local 287 dx = y * vc->vc_font.height; 290 if (ops->cursor_state.image.dx ! 63 ccw_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument [all...] |
H A D | fbcon_cw.c | 50 int sx, int dy, int dx, int height, int width) 58 area.dx = vxres - ((dy + height) * vc->vc_font.height); 59 area.dy = dx * vc->vc_font.width; 75 region.dx = vxres - ((sy + height) * vc->vc_font.height); 136 image.dx = vxres - ((yy + 1) * vc->vc_font.height); 190 region.dx = 0; 198 region.dx = info->var.xoffset; 215 int err = 1, dx, dy; local 271 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); 274 if (ops->cursor_state.image.dx ! 49 cw_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument [all...] |
/drivers/video/i810/ |
H A D | i810_accel.c | 301 u32 dx, dy, width, height, dest, rop = 0, color = 0; local 316 dx = rect->dx * par->depth; 321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; local 337 dx = region->dx * par->depth; 344 if (dx <= sx) { 350 dx += width - 1; 361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; [all...] |