Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/u-boot/arch/x86/cpu/quark/
H A Dcar.S59 mov $PCI_REG_ADDR, %dx
60 out %eax, %dx
61 mov $PCI_REG_DATA, %dx
63 out %eax, %dx
67 mov $PCI_REG_ADDR, %dx
68 out %eax, %dx
70 in %dx, %eax
91 out %eax, %dx
94 out %eax, %dx
99 out %eax, %dx
[all …]
/openbmc/qemu/hw/input/
H A Dadb-mouse.c42 int dx, dy, dz; member
59 s->dx += dx1; in adb_mouse_event()
69 int dx, dy; in adb_mouse_poll() local
76 dx = s->dx; in adb_mouse_poll()
77 if (dx < -63) { in adb_mouse_poll()
78 dx = -63; in adb_mouse_poll()
80 dx = 63; in adb_mouse_poll()
90 s->dx -= dx; in adb_mouse_poll()
94 dx &= 0x7f; in adb_mouse_poll()
105 obuf[1] = dx; in adb_mouse_poll()
[all …]
/openbmc/qemu/pc-bios/optionrom/
H A Doptionrom.h63 mov $BIOS_CFG_IOPORT_CFG, %dx
64 outw %ax, (%dx)
65 mov $BIOS_CFG_IOPORT_DATA, %dx
66 inb (%dx), %al
68 inb (%dx), %al
70 inb (%dx), %al
72 inb (%dx), %al
89 mov $BIOS_CFG_DMA_ADDR_HIGH, %dx
90 outl %eax, (%dx)
103 mov $BIOS_CFG_DMA_ADDR_LOW, %dx
[all …]
H A Dlinuxboot.S106 xor %dx, %dx
112 or %dx, %dx
115 mov %bx, %dx
118 or %dx, %dx
126 addw $16777216 >> 16, %dx /* add 16 MB */
127 movzwl %dx, %edi
H A Dlinuxboot_dma.c100 uint16_t ax, bx, cx, dx; in get_e801_addr() local
104 : "=a"(ax), "=b"(bx), "=c"(cx), "=d"(dx) in get_e801_addr()
110 if (cx == 0 && dx == 0) { in get_e801_addr()
112 dx = bx; in get_e801_addr()
115 if (dx) { in get_e801_addr()
119 ret = ((uint32_t)dx + 256 /* 16M in 64K units */) << 16; in get_e801_addr()
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-vm86.S8 movw $GET_OFFSET(hello_world), %dx
23 movw $GET_OFFSET(IF_msg), %dx
28 popw %dx
34 popw %dx
45 movw $GET_OFFSET(IF_msg1), %dx
58 popw %dx
77 pop %dx
82 movw 4(%bx), %dx
86 movw $GET_OFFSET(int90_msg), %dx
/openbmc/u-boot/lib/efi_loader/
H A Defi_gop.c88 efi_uintn_t sy, efi_uintn_t dx, in gop_blt_int() argument
133 if (dx + width > gopobj->info.width || in gop_blt_int()
138 if (dx + width > linelen) in gop_blt_int()
200 buffer[dlineoff + j + dx] = pix; in gop_blt_int()
208 fb16[dlineoff + j + dx] = in gop_blt_int()
257 efi_uintn_t sy, efi_uintn_t dx, in gop_blt_video_fill() argument
269 efi_uintn_t sy, efi_uintn_t dx, in gop_blt_buf_to_vid16() argument
280 efi_uintn_t sy, efi_uintn_t dx, in gop_blt_buf_to_vid32() argument
332 efi_uintn_t sy, efi_uintn_t dx, in gop_blt() argument
354 sy, dx, dy, width, height, in gop_blt()
[all …]
/openbmc/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c50 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea()
60 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea()
96 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1()
129 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8()
172 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16()
193 u16 dx = image->dx, dy = image->dy; in mb86290fb_imageblit() local
196 x2 = image->dx + image->width; in mb86290fb_imageblit()
202 width = x2 - dx; in mb86290fb_imageblit()
264 x2 = rect->dx + rect->width; in mb86290fb_fillrect()
268 width = x2 - rect->dx; in mb86290fb_fillrect()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Datafb.h6 int dx, int height, int width);
10 int dy, int dx, u32 width,
14 int dx, int height, int width);
18 int dy, int dx, u32 width,
22 int dx, int height, int width);
26 int dy, int dx, u32 width,
30 int dx, int height, int width);
34 int dy, int dx, u32 width,
H A Ddnfb.c161 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
165 x_end = area->dx + area->width - 1; in dnfb_copyarea()
166 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea()
167 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea()
170 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); in dnfb_copyarea()
171 if ((area->dx & 0xf) < (area->sx & 0xf)) in dnfb_copyarea()
175 x_end = area->dx - area->width + 1; in dnfb_copyarea()
176 x_word_count = (area->dx >> 4) - (x_end >> 4) + 1; in dnfb_copyarea()
177 start_mask = 0x7ffff >> (area->dx & 0xf); in dnfb_copyarea()
180 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) | in dnfb_copyarea()
[all …]
H A Datafb_mfb.c24 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument
30 if (sx == 0 && dx == 0 && width == next_line) { in atafb_mfb_copyarea()
36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
77 int dy, int dx, u32 width, in atafb_mfb_linefill() argument
83 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
H A Datafb_iplan2p2.c24 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea() argument
43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p2_copyarea()
46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p2_copyarea()
51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
152 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
157 if ((dx + width) & 15) in atafb_iplan2p2_copyarea()
239 int dy, int dx, u32 width, in atafb_iplan2p2_linefill() argument
247 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
[all …]
H A Datafb_iplan2p4.c24 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea() argument
43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p4_copyarea()
46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p4_copyarea()
51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
159 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
164 if ((dx + width) & 15) in atafb_iplan2p4_copyarea()
253 int dy, int dx, u32 width, in atafb_iplan2p4_linefill() argument
261 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
[all …]
/openbmc/u-boot/arch/arm/mach-uniphier/dram/
H A Dcmd_ddrmphy.c74 int phy, dx; in dump_loop() local
80 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in dump_loop()
81 printf("PHY%dDX%d:", phy, dx); in dump_loop()
233 #define DX_REG_DUMP(dx, x) \ argument
243 int phy, dx; in reg_dump() local
282 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in reg_dump()
283 DX_REG_DUMP(dx, GCR0); in reg_dump()
284 DX_REG_DUMP(dx, GCR1); in reg_dump()
285 DX_REG_DUMP(dx, GCR2); in reg_dump()
286 DX_REG_DUMP(dx, GCR3); in reg_dump()
[all …]
H A Dcmd_ddrphy.c89 int phy, dx; in dump_loop() local
95 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in dump_loop()
96 printf("PHY%dDX%d:", phy, dx); in dump_loop()
208 #define DX_REG_DUMP(dx, x) \ argument
209 { int ofst = PHY_DX_BASE + PHY_DX_STRIDE * (dx) + \
213 ofst >> PHY_REG_SHIFT, (dx), #x, \
219 int phy, dx; in reg_dump() local
255 for (dx = 0; dx < param->phy[phy].nr_dx; dx++) { in reg_dump()
256 DX_REG_DUMP(dx, GCR); in reg_dump()
257 DX_REG_DUMP(dx, GTR); in reg_dump()
H A Dumc-pxs2.c54 static inline int ddrphy_get_rank(int dx) in ddrphy_get_rank() argument
56 return dx / 2; in ddrphy_get_rank()
96 int dx; in ddrphy_dqs_delay_fixup() local
102 for (dx = 0; dx < nr_dx; dx++) { in ddrphy_dqs_delay_fixup()
119 int dx, rank; in ddrphy_get_system_latency() local
123 for (dx = 0; dx < nr_dx; dx++) { in ddrphy_get_system_latency()
148 int zq, dx; in ddrphy_init() local
193 for (dx = 0; dx < nr_dx; dx++) in ddrphy_init()
194 tmp |= BIT(MPHY_DTCR_RANKEN_SHIFT + ddrphy_get_rank(dx)); in ddrphy_init()
219 for (dx = 0; dx < 4; dx++) { in ddrphy_init()
[all …]
/openbmc/linux/drivers/video/fbdev/aty/
H A Dmach64_accel.c28 static u32 rotation24bpp(u32 dx, u32 direction) in rotation24bpp() argument
32 rotation = (dx / 4) % 6; in rotation24bpp()
34 rotation = ((dx + 2) / 4) % 6; in rotation24bpp()
203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
218 dx *= 3; in atyfb_copyarea()
228 if (sx < dx) { in atyfb_copyarea()
229 dx += width - 1; in atyfb_copyarea()
250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
270 dx *= 3; in atyfb_fillrect()
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
[all …]
H A Dradeon_accel.c64 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect()
89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect()
92 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; in radeonfb_fillrect()
102 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local
105 dx = area->dx; dy = area->dy; in radeonfb_prim_copyarea()
107 xdir = sx - dx; in radeonfb_prim_copyarea()
110 if ( xdir < 0 ) { sx += w-1; dx += w-1; } in radeonfb_prim_copyarea()
130 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea()
142 modded.dx = area->dx; in radeonfb_copyarea()
161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
[all …]
/openbmc/linux/drivers/video/fbdev/savage/
H A 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()
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_phy.c38 int dx, dy; in hdmi_phy_parse_lanes() local
40 dx = lanes[i]; in hdmi_phy_parse_lanes()
43 if (dx < 0 || dx >= 8) in hdmi_phy_parse_lanes()
49 if (dx & 1) { in hdmi_phy_parse_lanes()
50 if (dy != dx - 1) in hdmi_phy_parse_lanes()
54 if (dy != dx + 1) in hdmi_phy_parse_lanes()
59 lane = dx / 2; in hdmi_phy_parse_lanes()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_phy.c47 int dx, dy; in hdmi_phy_parse_lanes() local
49 dx = lanes[i]; in hdmi_phy_parse_lanes()
52 if (dx < 0 || dx >= 8) in hdmi_phy_parse_lanes()
58 if (dx & 1) { in hdmi_phy_parse_lanes()
59 if (dy != dx - 1) in hdmi_phy_parse_lanes()
63 if (dy != dx + 1) in hdmi_phy_parse_lanes()
68 lane = dx / 2; in hdmi_phy_parse_lanes()
/openbmc/linux/drivers/input/mouse/
H A Damimouse.c38 int nx, ny, dx, dy; in amimouse_interrupt() local
45 dx = nx - amimouse_lastx; in amimouse_interrupt()
48 if (dx < -127) dx = (256 + nx) - amimouse_lastx; in amimouse_interrupt()
49 if (dx > 127) dx = (nx - 256) - amimouse_lastx; in amimouse_interrupt()
58 input_report_rel(dev, REL_X, dx); in amimouse_interrupt()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Ddram_sun50i_h6.c476 val = readl(&mctl_phy->dx[i].bdlr0); in mctl_bit_delay_set()
479 writel(val, &mctl_phy->dx[i].bdlr0); in mctl_bit_delay_set()
481 val = readl(&mctl_phy->dx[i].bdlr1); in mctl_bit_delay_set()
484 writel(val, &mctl_phy->dx[i].bdlr1); in mctl_bit_delay_set()
486 val = readl(&mctl_phy->dx[i].bdlr2); in mctl_bit_delay_set()
489 writel(val, &mctl_phy->dx[i].bdlr2); in mctl_bit_delay_set()
494 val = readl(&mctl_phy->dx[i].bdlr3); in mctl_bit_delay_set()
497 writel(val, &mctl_phy->dx[i].bdlr3); in mctl_bit_delay_set()
499 val = readl(&mctl_phy->dx[i].bdlr4); in mctl_bit_delay_set()
502 writel(val, &mctl_phy->dx[i].bdlr4); in mctl_bit_delay_set()
[all …]
/openbmc/u-boot/board/google/common/
H A Dearly_init.S17 mov $0xcf8, %dx
18 out %eax, (%dx)
20 mov $0xcfc, %dx
21 out %eax, (%dx)
/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_irq.c79 if (hintsi->dx >= 0xffff || in validate_or_set_position_hints()
81 hintsj->dx >= 0xffff || in validate_or_set_position_hints()
83 (hintsi->dx < in validate_or_set_position_hints()
84 hintsj->dx + (hintsj->cx & 0x8fff) && in validate_or_set_position_hints()
85 hintsi->dx + (hintsi->cx & 0x8fff) > in validate_or_set_position_hints()
86 hintsj->dx) || in validate_or_set_position_hints()
98 vbox->last_mode_hints[i].dx = currentx; in validate_or_set_position_hints()
141 vbox_conn->vbox_crtc->x_hint = hints->dx; in vbox_update_mode_hints()

12345678910>>...12