Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 25 of 159) sorted by relevance

1234567

/linux-3.4.99/arch/x86/lib/
Drwsem.S90 __ASM_SIZE(push,_cfi) %__ASM_REG(dx)
91 CFI_REL_OFFSET __ASM_REG(dx), 0
94 __ASM_SIZE(pop,_cfi) %__ASM_REG(dx)
95 CFI_RESTORE __ASM_REG(dx)
114 __ASM_HALF_SIZE(dec) %__ASM_HALF_REG(dx)
127 __ASM_SIZE(push,_cfi) %__ASM_REG(dx)
128 CFI_REL_OFFSET __ASM_REG(dx), 0
131 __ASM_SIZE(pop,_cfi) %__ASM_REG(dx)
132 CFI_RESTORE __ASM_REG(dx)
/linux-3.4.99/drivers/video/mb862xx/
Dmb862xxfb_accel.c56 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea()
58 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea()
60 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea()
66 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea()
75 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument
102 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1()
124 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument
135 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8()
163 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument
178 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16()
[all …]
/linux-3.4.99/drivers/video/
Datafb.h5 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,
Ddnfb.c160 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
164 x_end = area->dx + area->width - 1; in dnfb_copyarea()
165 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea()
166 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea()
169 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); in dnfb_copyarea()
170 if ((area->dx & 0xf) < (area->sx & 0xf)) in dnfb_copyarea()
174 x_end = area->dx - area->width + 1; in dnfb_copyarea()
175 x_word_count = (area->dx >> 4) - (x_end >> 4) + 1; in dnfb_copyarea()
176 start_mask = 0x7ffff >> (area->dx & 0xf); in dnfb_copyarea()
179 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) | in dnfb_copyarea()
[all …]
Datafb_mfb.c25 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument
31 if (sx == 0 && dx == 0 && width == next_line) { in atafb_mfb_copyarea()
37 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
78 int dy, int dx, u32 width, in atafb_mfb_linefill() argument
84 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
Datafb_iplan2p2.c25 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea() argument
44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p2_copyarea()
47 if (!((sx ^ dx) & 15)) { in atafb_iplan2p2_copyarea()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
153 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
158 if ((dx + width) & 15) in atafb_iplan2p2_copyarea()
240 int dy, int dx, u32 width, in atafb_iplan2p2_linefill() argument
248 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
[all …]
Datafb_iplan2p4.c25 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea() argument
44 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p4_copyarea()
47 if (!((sx ^ dx) & 15)) { in atafb_iplan2p4_copyarea()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
160 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
165 if ((dx + width) & 15) in atafb_iplan2p4_copyarea()
254 int dy, int dx, u32 width, in atafb_iplan2p4_linefill() argument
262 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
[all …]
Dvga16fb.c829 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect() local
837 dx /= 4; in vga_8planes_fillrect()
838 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
889 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect()
895 x2 = rect->dx + rect->width; in vga16fb_fillrect()
899 width = x2 - rect->dx; in vga16fb_fillrect()
909 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
963 u32 sx, dx, width; in vga_8planes_copyarea() local
970 dx = area->dx / 4; in vga_8planes_copyarea()
973 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea()
[all …]
Datafb_iplan2p8.c32 int sy, int sx, int dy, int dx, in atafb_iplan2p8_copyarea() argument
51 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p8_copyarea()
54 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea()
59 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
118 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
181 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
186 if ((dx + width) & 15) in atafb_iplan2p8_copyarea()
289 int dy, int dx, u32 width, in atafb_iplan2p8_linefill() argument
297 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
[all …]
Dtgafb.c633 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
642 dx = image->dx;
655 if (dx > vxres || dy > vyres)
657 if (dx + width > vxres)
658 width = vxres - dx;
688 pos += dx;
692 pos += dx * 4;
846 u32 color, dx, dy, width, height, vxres, vyres; local
852 dx = image->dx;
861 if (dx > vxres || dy > vyres)
[all …]
Dsvgalib.c220 int dx, dy; in svga_tilecopy() local
228 ((area->sy == area->dy) && (area->sx > area->dx))) { in svga_tilecopy()
230 dst = fb + area->dx * colstride + area->dy * rowstride; in svga_tilecopy()
234 dst = fb + (area->dx + area->width - 1) * colstride in svga_tilecopy()
244 for (dx = 0; dx < area->width; dx++) { in svga_tilecopy()
258 int dx, dy; in svga_tilefill() local
267 for (dx = 0; dx < rect->width; dx++) { in svga_tilefill()
279 int dx, dy, i; in svga_tileblit() local
289 for (dx = 0; dx < blit->width; dx ++) { in svga_tileblit()
/linux-3.4.99/drivers/video/aty/
Dmach64_accel.c27 static u32 rotation24bpp(u32 dx, u32 direction) in rotation24bpp() argument
31 rotation = (dx / 4) % 6; in rotation24bpp()
33 rotation = ((dx + 2) / 4) % 6; in rotation24bpp()
200 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
215 dx *= 3; in atyfb_copyarea()
225 if (sx < dx) { in atyfb_copyarea()
226 dx += width - 1; in atyfb_copyarea()
232 rotation = rotation24bpp(dx, direction); in atyfb_copyarea()
240 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea()
246 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
[all …]
Dradeon_accel.c63 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect()
88 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect()
91 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_fillrect()
101 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local
104 dx = area->dx; dy = area->dy; in radeonfb_prim_copyarea()
106 xdir = sx - dx; in radeonfb_prim_copyarea()
109 if ( xdir < 0 ) { sx += w-1; dx += w-1; } in radeonfb_prim_copyarea()
129 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea()
141 modded.dx = area->dx; in radeonfb_copyarea()
160 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
[all …]
/linux-3.4.99/drivers/video/savage/
Dsavagefb_accel.c34 int sx = region->sx, dx = region->dx; in savagefb_copyarea() local
44 if (dx <= sx) { in savagefb_copyarea()
48 dx += region->width - 1; in savagefb_copyarea()
61 BCI_SEND(BCI_X_Y(dx, dy)); in savagefb_copyarea()
88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); in savagefb_fillrect()
128 BCI_SEND(BCI_CLIP_LR(image->dx, image->dx + image->width - 1)); in savagefb_imageblit()
131 BCI_SEND(BCI_X_Y(image->dx, image->dy)); in savagefb_imageblit()
/linux-3.4.99/drivers/input/mouse/
Damimouse.c42 int nx, ny, dx, dy; in amimouse_interrupt() local
49 dx = nx - amimouse_lastx; in amimouse_interrupt()
52 if (dx < -127) dx = (256 + nx) - amimouse_lastx; in amimouse_interrupt()
53 if (dx > 127) dx = (nx - 256) - amimouse_lastx; in amimouse_interrupt()
62 input_report_rel(dev, REL_X, dx); in amimouse_interrupt()
Dlogibm.c79 char dx, dy; in logibm_interrupt() local
83 dx = (inb(LOGIBM_DATA_PORT) & 0xf); in logibm_interrupt()
85 dx |= (inb(LOGIBM_DATA_PORT) & 0xf) << 4; in logibm_interrupt()
93 input_report_rel(logibm_dev, REL_X, dx); in logibm_interrupt()
/linux-3.4.99/drivers/video/sis/
Dsis_accel.c335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect()
339 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect()
354 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect()
361 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect()
388 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea()
393 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea()
401 if(area->sx < area->dx) xdir = 0; in fbcon_sis_copyarea()
409 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
417 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
/linux-3.4.99/drivers/video/i810/
Di810_accel.c301 u32 dx, dy, width, height, dest, rop = 0, color = 0; in i810fb_fillrect() local
316 dx = rect->dx * par->depth; in i810fb_fillrect()
321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_fillrect()
329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local
337 dx = region->dx * par->depth; in i810fb_copyarea()
344 if (dx <= sx) { in i810fb_copyarea()
350 dx += width - 1; in i810fb_copyarea()
361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_copyarea()
391 (image->dx * par->depth); in i810fb_imageblit()
/linux-3.4.99/drivers/video/matrox/
Dmatroxfb_accel.c208 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument
217 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove()
241 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); in matrox_accel_bmove()
249 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument
259 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin()
283 mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); in matrox_accel_bmove_lin()
294 if ((area->sx | area->dx | area->width) & 1) in matroxfb_cfb4_copyarea()
297 …nfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area->height, … in matroxfb_cfb4_copyarea()
303 …matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, a… in matroxfb_copyarea()
331 …matroxfb_accel_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, … in matroxfb_fillrect()
[all …]
/linux-3.4.99/drivers/video/console/
Dfbcon_ccw.c64 int sx, int dy, int dx, int height, int width) in ccw_bmove() argument
72 area.dx = dy * vc->vc_font.height; in ccw_bmove()
73 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove()
89 region.dx = sy * vc->vc_font.height; in ccw_clear()
150 image.dx = yy * vc->vc_font.height; in ccw_putcs()
206 region.dx = 0; in ccw_clear_margins()
214 region.dx = info->var.xoffset + bs; in ccw_clear_margins()
231 int err = 1, dx, dy; in ccw_cursor() local
287 dx = y * vc->vc_font.height; in ccw_cursor()
290 if (ops->cursor_state.image.dx != dx || in ccw_cursor()
[all …]
Dfbcon_cw.c50 int sx, int dy, int dx, int height, int width) in cw_bmove() argument
58 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove()
59 area.dy = dx * vc->vc_font.width; in cw_bmove()
75 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear()
136 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs()
190 region.dx = 0; in cw_clear_margins()
198 region.dx = info->var.xoffset; in cw_clear_margins()
215 int err = 1, dx, dy; in cw_cursor() local
271 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
274 if (ops->cursor_state.image.dx != dx || in cw_cursor()
[all …]
Dfbcon_ud.c49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument
59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove()
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
174 image.dx = vxres - ((xx + count) * vc->vc_font.width); in ud_putcs()
208 image.dx += image.width; in ud_putcs()
237 region.dx = info->var.xoffset; in ud_clear_margins()
245 region.dx = info->var.xoffset; in ud_clear_margins()
261 int err = 1, dx, dy; in ud_cursor() local
319 dx = vxres - ((vc->vc_x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
321 if (ops->cursor_state.image.dx != dx || in ud_cursor()
[all …]
Dbitblit.c47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument
53 area.dx = dx * vc->vc_font.width; in bit_bmove()
68 region.dx = sx * vc->vc_font.width; in bit_clear()
159 image.dx = xx * vc->vc_font.width; in bit_putcs()
192 image.dx += cnt * vc->vc_font.width; in bit_putcs()
221 region.dx = info->var.xoffset + rs; in bit_clear_margins()
229 region.dx = info->var.xoffset; in bit_clear_margins()
290 if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->vc_x)) || in bit_cursor()
293 ops->cursor_state.image.dx = vc->vc_font.width * vc->vc_x; in bit_cursor()
372 cursor.image.dx = ops->cursor_state.image.dx; in bit_cursor()
/linux-3.4.99/net/sched/
Dsch_hfsc.c87 u64 dx; /* the x-projection of the 1st segment */ member
99 u64 dx; /* the x-projection of the 1st segment */ member
452 u64 dx; in d2dx() local
454 dx = ((u64)d * PSCHED_TICKS_PER_SEC); in d2dx()
455 dx += USEC_PER_SEC - 1; in d2dx()
456 do_div(dx, USEC_PER_SEC); in d2dx()
457 return dx; in d2dx()
472 dx2d(u64 dx) in dx2d() argument
476 d = dx * USEC_PER_SEC; in dx2d()
486 isc->dx = d2dx(sc->d); in sc2isc()
[all …]
/linux-3.4.99/arch/x86/include/asm/
Dsyscall.h109 *args++ = regs->dx; in syscall_get_arguments()
136 *args++ = regs->dx; in syscall_get_arguments()
170 regs->dx = *args++; in syscall_set_arguments()
197 regs->dx = *args++; in syscall_set_arguments()

1234567