| /freebsd-9-stable/sys/i386/xbox/ |
| D | pic16l.s | 45 movw $0xc000,%dx 48 inw %dx,%ax 55 2: movw $0xc004,%dx 57 outb %al,%dx 58 movw $0xc008,%dx 60 outb %al,%dx 61 movw $0xc006,%dx 63 outw %ax,%dx 65 movw $0xc000,%dx 66 inw %dx,%ax [all …]
|
| /freebsd-9-stable/sys/dev/syscons/dragon/ |
| D | dragon_saver.c | 84 gdraw(int dx, int dy, int val) in gdraw() argument 94 if (dx != 0) { in gdraw() 96 cur_x += dx; in gdraw() 97 if (dx < 0) { in gdraw() 98 i += dx; in gdraw() 99 dx = -dx; in gdraw() 102 for (; dx >= 0; --dx, ++i) { in gdraw() 130 static int dx, dy; in dragon_update() local 160 dx = 0; dy = mul; in dragon_update() 163 dx = mul; dy = 0; in dragon_update() [all …]
|
| /freebsd-9-stable/sys/boot/i386/boot2/ |
| D | sio.S | 30 movw $SIO_PRT+0x3,%dx # Data format reg 32 outb %al,(%dx) # and DLAB 35 outw %ax,(%dx) # BPS 36 movw $SIO_PRT+0x3,%dx # Data format reg 38 outb %al,(%dx) # DLAB 41 outb %al,(%dx) # DTR 58 movw $SIO_PRT+0x5,%dx # Line status reg 61 sio_putc.1: inb (%dx),%al # Transmitter 67 outb %al,(%dx) # Write character 75 inb (%dx),%al # Read character [all …]
|
| /freebsd-9-stable/sys/boot/pc98/boot0.5/ |
| D | selector.s | 42 movw %cx, %dx 43 decw %dx 44 addw $5, %dx 71 movw $5, %dx 81 movw %si, %dx 82 addw $5, %dx 118 movw %bx, %dx 119 addw $5, %dx 144 movw %cx, %dx 145 addw $4, %dx [all …]
|
| D | disk.s | 62 xorw %dx, %dx # %dx = partition number 65 movw %dx, %si 86 incw %dx 107 xorw %dx, %dx 153 xorw %dx, %dx 193 movw %bx, %dx 205 movw $512, %dx # XXX 220 movw $256, %dx 223 movw $512, %dx 225 movw %dx, secsize(%di) [all …]
|
| /freebsd-9-stable/sys/pc98/pc98/ |
| D | busio.s | 60 inb %dx,%al 65 inw %dx,%ax 70 inl %dx,%eax 80 outb %al,%dx 85 outw %ax,%dx 90 outl %eax,%dx 160 inb %dx,%al 176 inw %dx,%ax 192 inl %dx,%eax 215 outb %al,%dx [all …]
|
| /freebsd-9-stable/lib/msun/src/ |
| D | s_cbrtl.c | 37 double dr, dt, dx; in cbrtl() local 107 dx = x; in cbrtl() 110 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 114 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
|
| /freebsd-9-stable/sys/dev/mse/ |
| D | mse.c | 174 sc->status.dx = sc->status.dy = sc->status.dz = 0; in mseopen() 358 sc->status.dx = 0; in mseioctl() 450 int dx, dy, but; in mseintr() local 461 (*sc->sc_getmouse)(sc->sc_iot, sc->sc_ioh, &dx, &dy, &but); in mseintr() 463 sign = (dx < 0); in mseintr() 464 dx = dx * dx / sc->mode.accelfactor; in mseintr() 465 if (dx == 0) in mseintr() 466 dx = 1; in mseintr() 468 dx = -dx; in mseintr() 476 sc->sc_deltax += dx; in mseintr() [all …]
|
| D | mse_isa.c | 162 int *dx, int *dy, int *but); 181 int *dx, int *dy, int *but); 319 int dx, dy, but; in mse_enablelogi() local 322 mse_getlogi(tag, handle, &dx, &dy, &but); in mse_enablelogi() 339 mse_getlogi(bus_space_tag_t tag, bus_space_handle_t handle, int *dx, int *dy, in mse_getlogi() argument 354 *dx = x; in mse_getlogi() 404 mse_getati(bus_space_tag_t tag, bus_space_handle_t handle, int *dx, int *dy, in mse_getati() argument 415 *dx = byte; in mse_getati()
|
| /freebsd-9-stable/contrib/ncurses/ncurses/base/ |
| D | lib_overlay.c | 142 int sx, sy, dx, dy; in copywin() local 172 for (dx = dmincol, sx = smincol; in copywin() 173 dx <= dmaxcol; in copywin() 174 sx++, dx++) { in copywin() 177 (!CharEq(dst->_line[dy].text[dx], in copywin() 179 dst->_line[dy].text[dx] = in copywin() 181 SetAttr(dst->_line[dy].text[dx], in copywin() 187 if (!CharEq(dst->_line[dy].text[dx], in copywin() 189 dst->_line[dy].text[dx] = in copywin()
|
| /freebsd-9-stable/lib/libvgl/ |
| D | simple.c | 223 int dx, dy, incr1, incr2, D, x, y, xend, c, pixels_left; in VGLLine() local 226 dx = SL_ABSOLUTE(x2, x1, sign_x); in VGLLine() 234 if (dy > dx) { /* chooses axis of greatest movement (make dx) */ in VGLLine() 237 SL_SWAP(dx, dy); in VGLLine() 258 xend = (dx - 1) / 4; in VGLLine() 259 pixels_left = (dx - 1) % 4; /* number of pixels left over at the in VGLLine() 266 incr2 = 4 * dy - 2 * dx; in VGLLine() 270 D = incr1 - dx; in VGLLine() 334 c = 2 * (dy - dx); in VGLLine() 336 D = incr1 + dx; in VGLLine() [all …]
|
| /freebsd-9-stable/sys/boot/pc98/kgzldr/ |
| D | crt.s | 49 movw (%ebx),%dx # Cursor position 53 movw %dx,%cx 57 addw $0x02,%dx 59 crt_putchr.2: movw %dx,%ax 64 movw %ax,%dx 65 crt_putchr.3: cmpw $SCR_ROW*SCR_COL*2,%dx 76 movw $(SCR_ROW-1)*SCR_COL*2,%dx 77 crt_putchr.4: movw %dx,(%ebx) # Update position 78 shrw $1,%dx
|
| /freebsd-9-stable/sys/dev/usb/input/ |
| D | wsp.c | 843 int dx = 0; in wsp_intr_callback() local 1032 dx = sc->pos_x[0] - sc->pre_pos_x; in wsp_intr_callback() 1037 dx = dy = 0; in wsp_intr_callback() 1041 dx = dy = 0; in wsp_intr_callback() 1045 dx = dy = 0; in wsp_intr_callback() 1050 dx = dy = 0; in wsp_intr_callback() 1053 dx = sc->pos_x[sc->finger] - sc->pre_pos_x; in wsp_intr_callback() 1062 dx = dy = 0; in wsp_intr_callback() 1069 dx = dy = 0; in wsp_intr_callback() 1076 dx = dy = 0; in wsp_intr_callback() [all …]
|
| /freebsd-9-stable/sys/boot/pc98/boot2/ |
| D | boot1.S | 129 xor %dx,%dx 163 xor %dx,%dx 223 mov %di,%dx 227 inc %dx 261 xor %dx,%dx 262 mov %dx,%ds 289 sub %dx,%di 310 mov %di,%dx 323 mov %dx,%ds
|
| /freebsd-9-stable/lib/msun/i387/ |
| D | s_ceill.S | 15 movw -4(%ebp),%dx 16 orw $0x0800,%dx /* round towards +oo */ 17 andw $0xfbff,%dx 18 movw %dx,-8(%ebp)
|
| D | s_ceilf.S | 17 movw -4(%ebp),%dx 18 orw $0x0800,%dx /* round towards +oo */ 19 andw $0xfbff,%dx 20 movw %dx,-8(%ebp)
|
| D | s_floorl.S | 15 movw -4(%ebp),%dx 16 orw $0x0400,%dx /* round towards -oo */ 17 andw $0xf7ff,%dx 18 movw %dx,-8(%ebp)
|
| D | s_floorf.S | 17 movw -4(%ebp),%dx 18 orw $0x0400,%dx /* round towards -oo */ 19 andw $0xf7ff,%dx 20 movw %dx,-8(%ebp)
|
| D | s_ceil.S | 45 movw -4(%ebp),%dx 46 orw $0x0800,%dx /* round towards +oo */ 47 andw $0xfbff,%dx 48 movw %dx,-8(%ebp)
|
| D | s_floor.S | 45 movw -4(%ebp),%dx 46 orw $0x0400,%dx /* round towards -oo */ 47 andw $0xf7ff,%dx 48 movw %dx,-8(%ebp)
|
| /freebsd-9-stable/contrib/groff/src/preproc/grn/ |
| D | hgraph.cpp | 460 register int dx; in tmove2() local 467 if ((dx = px - lastx)) { in tmove2() 468 printf("\\h'%du'", dx); in tmove2() 488 register int dx; in tmove() local 495 if ((dx = ix - lastx)) { in tmove() 496 printf("\\h'%du'", dx); in tmove() 710 double h[MAXPOINTS], dx[MAXPOINTS], dy[MAXPOINTS]; in HGCurve() local 732 PeriodicSpline(h, x, dx, d2x, d3x, numpoints); in HGCurve() 735 NaturalEndSpline(h, x, dx, d2x, d3x, numpoints); in HGCurve() 751 nx = x[j] + (int) (t * dx[j] + t2 * d2x[j] / 2 + t3 * d3x[j] / 6); in HGCurve() [all …]
|
| /freebsd-9-stable/sys/boot/i386/zfsboot/ |
| D | zfsldr.S | 109 main.5: mov %dx,MEM_ARG # Save args 125 mov $(MEM_BTX)>>4,%dx # Segment 126 mov %dx,%ds # addressing 0x9000 127 mov $(MEM_USR+2*SIZ_PAG)>>4,%dx # Segment 128 mov %dx,%es # addressing 0xc000 133 xor %dx,%dx # Back 134 mov %ds,%dx # to zero 135 mov %dx,%es # segment 220 push %dx # Save 223 pop %dx # Restore
|
| /freebsd-9-stable/sys/dev/wds/ |
| D | wd7000.c | 162 #define WDSTOPHYS(wp, a) ( ((u_long)a) - ((u_long)wp->dx) + ((u_long)wp->dx_p) ) 163 #define WDSTOVIRT(wp, a) ( ((char *)a) - ((char*)wp->dx_p) + ((char *)wp->dx) ) 309 struct wdsdx *dx; member 557 /*maxsize*/ sizeof(* wp->dx), in wds_attach() 559 /*maxsegsz*/ sizeof(* wp->dx), /*flags*/ 0, in wds_attach() 566 error = bus_dmamem_alloc(wp->bustag, (void **)&wp->dx, in wds_attach() 571 bus_dmamap_load(wp->bustag, wp->busmap, (void *)wp->dx, in wds_attach() 572 sizeof(* wp->dx), wds_alloc_callback, in wds_attach() 577 wp->dx->req[i].id = i; in wds_attach() 665 if (wp->dx) { /* wp->busmap may be legitimately equal to 0 */ in wds_free_resources() [all …]
|
| /freebsd-9-stable/usr.sbin/moused/ |
| D | moused.c | 959 linacc(int dx, int dy, int *movex, int *movey) in linacc() argument 963 if (dx == 0 && dy == 0) { in linacc() 967 fdx = dx * rodent.accelx + rodent.remainx; in linacc() 985 expoacc(int dx, int dy, int *movex, int *movey) in expoacc() argument 990 if (dx == 0 && dy == 0) { in expoacc() 994 fdx = dx * rodent.accelx; in expoacc() 1089 action0.dx = action0.dy = action0.dz = 0; in moused() 1178 action2.button, action2.dx, action2.dy, action2.dz); in moused() 1187 if (action2.dy || action2.dx) { in moused() 1197 hscroll_movement += action2.dx; in moused() [all …]
|
| /freebsd-9-stable/contrib/groff/src/devices/xditview/ |
| D | draw.c | 534 int dx, dy; in DrawPolygon() local 543 dx = 0; in DrawPolygon() 546 dx += v[2*i]; in DrawPolygon() 547 p[i + 1].x = DeviceToX (dw, dx) + p[0].x; in DrawPolygon() 563 int dx, dy; in DrawFilledPolygon() local 574 dx = 0; in DrawFilledPolygon() 577 dx += v[2*i]; in DrawFilledPolygon() 578 p[i + 1].x = DeviceToX (dw, dx) + p[0].x; in DrawFilledPolygon() 607 int x_1, y_1, dx, dy, n1, n2, n; in flattenCurve() local 612 dx = x_4 - x_1; in flattenCurve() [all …]
|