Home
last modified time | relevance | path

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

12345

/freebsd-11-stable/sys/i386/xbox/
HDpic16l.s45 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-11-stable/sys/dev/syscons/dragon/
HDdragon_saver.c84 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-11-stable/stand/i386/boot2/
HDsio.S30 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-11-stable/stand/pc98/boot0.5/
HDselector.s42 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 …]
HDdisk.s62 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-11-stable/sys/pc98/pc98/
HDbusio.s60 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-11-stable/lib/msun/src/
HDs_cbrtl.c39 double dr, dt, dx; in cbrtl() local
97 dx = x; in cbrtl()
100 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
104 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
/freebsd-11-stable/contrib/ncurses/ncurses/base/
HDlib_overlay.c142 int sx, sy, dx, dy; in copywin() local
183 for (dx = dmincol, sx = smincol; in copywin()
184 dx <= dmaxcol; in copywin()
185 sx++, dx++) { in copywin()
187 if (dx < 0 || sx < 0) in copywin()
193 (!CharEq(dst->_line[dy].text[dx], in copywin()
195 dst->_line[dy].text[dx] = in copywin()
197 SetAttr(dst->_line[dy].text[dx], in copywin()
203 if (!CharEq(dst->_line[dy].text[dx], in copywin()
205 dst->_line[dy].text[dx] = in copywin()
/freebsd-11-stable/lib/libvgl/
HDsimple.c223 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-11-stable/lib/msun/ld128/
HDs_expl.c204 double dr, dx, fn, r2; in expm1l() local
237 dx = x; in expm1l()
248 dx * (C14 + dx * (C15 + dx * (C16 + in expm1l()
249 dx * (C17 + dx * C18)))))))))))))); in expm1l()
254 dx * (D14 + dx * (D15 + dx * (D16 + in expm1l()
255 dx * D17))))))))))))); in expm1l()
/freebsd-11-stable/sys/dev/mse/
HDmse.c214 sc->status.dx = sc->status.dy = sc->status.dz = 0; in mseopen()
422 sc->status.dx = 0; in mseioctl()
518 int dx, dy, but; in mseintr_locked() local
529 (*sc->sc_getmouse)(sc->sc_port, &dx, &dy, &but); in mseintr_locked()
531 sign = (dx < 0); in mseintr_locked()
532 dx = dx * dx / sc->mode.accelfactor; in mseintr_locked()
533 if (dx == 0) in mseintr_locked()
534 dx = 1; in mseintr_locked()
536 dx = -dx; in mseintr_locked()
544 sc->sc_deltax += dx; in mseintr_locked()
[all …]
HDmse_isa.c159 static void mse_getlogi(struct resource *port, int *dx, int *dy,
177 static void mse_getati(struct resource *port, int *dx, int *dy,
290 int dx, dy, but; in mse_enablelogi() local
293 mse_getlogi(port, &dx, &dy, &but); in mse_enablelogi()
310 mse_getlogi(struct resource *port, int *dx, int *dy, int *but) in mse_getlogi() argument
324 *dx = x; in mse_getlogi()
374 mse_getati(struct resource *port, int *dx, int *dy, int *but) in mse_getati() argument
384 *dx = byte; in mse_getati()
/freebsd-11-stable/stand/pc98/kgzldr/
HDcrt.s49 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-11-stable/sys/dev/usb/input/
HDwsp.c848 int dx = 0; in wsp_intr_callback() local
1042 dx = sc->pos_x[0] - sc->pre_pos_x; in wsp_intr_callback()
1047 dx = dy = 0; in wsp_intr_callback()
1051 dx = dy = 0; in wsp_intr_callback()
1055 dx = dy = 0; in wsp_intr_callback()
1060 dx = dy = 0; in wsp_intr_callback()
1063 dx = sc->pos_x[sc->finger] - sc->pre_pos_x; in wsp_intr_callback()
1072 dx = dy = 0; in wsp_intr_callback()
1079 dx = dy = 0; in wsp_intr_callback()
1086 dx = dy = 0; in wsp_intr_callback()
[all …]
/freebsd-11-stable/sys/dev/usb/gadget/
HDg_mouse.c96 int8_t dx; member
198 sc->sc_data.dx = 0; in g_mouse_cursor_update_timeout_reset()
341 int dx; in g_mouse_intr_callback() local
402 dx = sc->sc_curr_x_state - sc->sc_last_x_state; in g_mouse_intr_callback()
405 if (dx < -63) in g_mouse_intr_callback()
406 dx = -63; in g_mouse_intr_callback()
407 else if (dx > 63) in g_mouse_intr_callback()
408 dx = 63; in g_mouse_intr_callback()
415 sc->sc_last_x_state += dx; in g_mouse_intr_callback()
418 sc->sc_data.dx = dx; in g_mouse_intr_callback()
/freebsd-11-stable/stand/pc98/boot2/
HDboot1.S129 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-11-stable/contrib/groff/src/preproc/grn/
HDhgraph.cpp460 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-11-stable/sys/dev/wds/
HDwd7000.c162 #define WDSTOPHYS(wp, a) ( ((uintptr_t)a) - ((uintptr_t)wp->dx) + (wp->dx_p) )
163 #define WDSTOVIRT(wp, a) ( ((a) - (wp->dx_p)) + ((char *)wp->dx) )
309 struct wdsdx *dx; member
554 /*maxsize*/ sizeof(* wp->dx), in wds_attach()
556 /*maxsegsz*/ sizeof(* wp->dx), /*flags*/ 0, in wds_attach()
563 error = bus_dmamem_alloc(wp->bustag, (void **)&wp->dx, in wds_attach()
568 bus_dmamap_load(wp->bustag, wp->busmap, (void *)wp->dx, in wds_attach()
569 sizeof(* wp->dx), wds_alloc_callback, in wds_attach()
574 wp->dx->req[i].id = i; in wds_attach()
667 if (wp->dx) { /* wp->busmap may be legitimately equal to 0 */ in wds_free_resources()
[all …]
/freebsd-11-stable/usr.sbin/moused/
HDmoused.c962 linacc(int dx, int dy, int *movex, int *movey) in linacc() argument
966 if (dx == 0 && dy == 0) { in linacc()
970 fdx = dx * rodent.accelx + rodent.remainx; in linacc()
988 expoacc(int dx, int dy, int *movex, int *movey) in expoacc() argument
993 if (dx == 0 && dy == 0) { in expoacc()
997 fdx = dx * rodent.accelx; in expoacc()
1092 action0.dx = action0.dy = action0.dz = 0; in moused()
1181 action2.button, action2.dx, action2.dy, action2.dz); in moused()
1190 if (action2.dy || action2.dx) { in moused()
1200 hscroll_movement += action2.dx; in moused()
[all …]
/freebsd-11-stable/lib/msun/i387/
HDs_ceil.S45 movw -4(%ebp),%dx
46 orw $0x0800,%dx /* round towards +oo */
47 andw $0xfbff,%dx
48 movw %dx,-8(%ebp)
HDs_ceilf.S17 movw -4(%ebp),%dx
18 orw $0x0800,%dx /* round towards +oo */
19 andw $0xfbff,%dx
20 movw %dx,-8(%ebp)
HDs_floor.S45 movw -4(%ebp),%dx
46 orw $0x0400,%dx /* round towards -oo */
47 andw $0xf7ff,%dx
48 movw %dx,-8(%ebp)
HDs_floorl.S15 movw -4(%ebp),%dx
16 orw $0x0400,%dx /* round towards -oo */
17 andw $0xf7ff,%dx
18 movw %dx,-8(%ebp)
HDs_floorf.S17 movw -4(%ebp),%dx
18 orw $0x0400,%dx /* round towards -oo */
19 andw $0xf7ff,%dx
20 movw %dx,-8(%ebp)
HDs_ceill.S15 movw -4(%ebp),%dx
16 orw $0x0800,%dx /* round towards +oo */
17 andw $0xfbff,%dx
18 movw %dx,-8(%ebp)

12345