/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | car.S | 59 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 69 mov $PCI_REG_DATA, %dx 70 in %dx, %eax 90 mov $PCI_REG_ADDR, %dx 91 out %eax, %dx [all …]
|
/openbmc/qemu/hw/input/ |
H A D | adb-mouse.c | 43 int dx, dy, dz; member 73 s->dx += move->value; in adb_mouse_handle_event() 110 int dx, dy; in adb_mouse_poll() local 113 s->dx == 0 && s->dy == 0) { in adb_mouse_poll() 117 dx = s->dx; in adb_mouse_poll() 118 if (dx < -63) { in adb_mouse_poll() 119 dx = -63; in adb_mouse_poll() 120 } else if (dx > 63) { in adb_mouse_poll() 121 dx = 63; in adb_mouse_poll() 131 s->dx -= dx; in adb_mouse_poll() [all …]
|
/openbmc/qemu/pc-bios/optionrom/ |
H A D | optionrom.h | 63 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 D | linuxboot.S | 106 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 D | linuxboot_dma.c | 100 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 D | test-i386-vm86.S | 8 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 D | efi_gop.c | 88 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() 206 fb32[dlineoff + j + dx] = *(u32 *)&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 262 return gop_blt_int(this, buffer, EFI_BLT_VIDEO_FILL, sx, sy, dx, in gop_blt_video_fill() 269 efi_uintn_t sy, efi_uintn_t dx, in gop_blt_buf_to_vid16() argument 273 return gop_blt_int(this, buffer, EFI_BLT_BUFFER_TO_VIDEO, sx, sy, dx, in gop_blt_buf_to_vid16() [all …]
|
/openbmc/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 50 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 52 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea() 54 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 60 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea() 69 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 96 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1() 118 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 129 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8() 157 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument 172 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16() [all …]
|
/openbmc/u-boot/arch/arm/mach-uniphier/dram/ |
H A D | cmd_ddrmphy.c | 74 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 234 { int ofst = MPHY_DX_BASE + MPHY_DX_STRIDE * (dx) + \ 238 ofst >> MPHY_SHIFT, (dx), #x, reg, readl(reg)); } 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() [all …]
|
H A D | cmd_ddrphy.c | 89 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 D | umc-pxs2.c | 54 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/ |
H A D | atafb.h | 6 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 D | dnfb.c | 161 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 D | atafb_iplan2p2.c | 24 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 D | atafb_mfb.c | 24 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()
|
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | mach64_accel.c | 28 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() 235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea() 244 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea() 250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local [all …]
|
H A D | radeon_accel.c | 64 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 D | savagefb_accel.c | 34 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 D | hdmi_phy.c | 38 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 D | hdmi_phy.c | 47 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/u-boot/arch/arm/mach-sunxi/ |
H A D | dram_sun50i_h6.c | 476 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/linux/drivers/input/mouse/ |
H A D | amimouse.c | 38 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/linux/drivers/gpu/drm/vboxvideo/ |
H A D | vbox_irq.c | 79 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()
|
/openbmc/u-boot/board/google/common/ |
H A D | early_init.S | 17 mov $0xcf8, %dx 18 out %eax, (%dx) 20 mov $0xcfc, %dx 21 out %eax, (%dx)
|
/openbmc/linux/drivers/video/fbdev/sis/ |
H A D | sis_accel.c | 322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 326 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; in fbcon_sis_fillrect() 341 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 348 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 375 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea() 380 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea() 388 if(area->sx < area->dx) xdir = 0; in fbcon_sis_copyarea() 396 area->dx, area->dy, width, height); in fbcon_sis_copyarea() 404 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
|