/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/linux/Documentation/hwmon/ |
H A D | smsc47b397.rst | 58 MOV DX,480H 60 OUT DX,AL 61 MOV DX,481H 62 IN AL,DX 149 MOV DX,02EH 151 OUT DX,AL 153 MOV DX,02EH 155 OUT DX,AL 157 MOV DX,02FH 158 IN AL,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 109 /* Output could be in AX/BX or CX/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
|
/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/ |
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 | 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/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) + \ 237 printf("%3d: DX%d%-7s: %p : %08x\n", \ 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() [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) + \ 212 printf("%3d: DX%d%-7s: %08x : %08x\n", \ 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() [all …]
|
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/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/qemu/ui/ |
H A D | trace-events | 9 console_txt_new(int w, int h) "%dx%d" 12 displaysurface_create(int w, int h) "%dx%d" 13 displaysurface_create_from(void *display_surface, int w, int h, uint32_t format) "surface=%p, %dx%d… 46 …id *state, void *ioc, int width, int height) "VNC server msg ext resize state=%p ioc=%p size=%dx%d" 47 …int width, int height, int reason) "VNC server msg ext resize state=%p ioc=%p size=%dx%d reason=%d" 51 …, int height, int screens) "VNC client msg set desktop size state=%p ioc=%p size=%dx%d screens=%d" 65 vnc_server_dpy_pageflip(void *dpy, int w, int h, int fmt) "VNC server dpy pageflip dpy=%p size=%dx%… 66 vnc_server_dpy_recreate(void *dpy, int w, int h, int fmt) "VNC server dpy recreate dpy=%p size=%dx%… 67 …tate, void *job, int x, int y, int w, int h) "VNC add rect state=%p job=%p offset=%d,%d size=%dx%d" 68 …id *job, int x, int y, int w, int h) "VNC job discard rect state=%p job=%p offset=%d,%d size=%dx%d" [all …]
|
/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/arch/x86/include/asm/ |
H A D | vmware.h | 16 * into %dx by any user and are automatically replaced by the port 20 * %dx content. 33 ALTERNATIVE_2("movw $" __stringify(VMWARE_HYPERVISOR_PORT) ", %%dx; " \ 34 "inl (%%dx), %%eax", \ 43 ALTERNATIVE_2("movw $" __stringify(VMWARE_HYPERVISOR_PORT_HB) ", %%dx; " \ 53 ALTERNATIVE_2("movw $" __stringify(VMWARE_HYPERVISOR_PORT_HB) ", %%dx; " \
|
H A D | apm.h | 15 "mov %%dx, %%ds\n\t" \ 16 "mov %%dx, %%es\n\t" \ 17 "mov %%dx, %%fs\n\t" \ 18 "mov %%dx, %%gs\n\t" 52 int cx, dx, si; in apm_bios_call_simple_asm() local 67 : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx), in apm_bios_call_simple_asm()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_sensorhub_trace.h | 81 TP_PROTO(struct cros_ec_sensors_ts_filter_state *state, s64 dx, s64 dy), 82 TP_ARGS(state, dx, dy), 84 __field(s64, dx) 93 __entry->dx = dx; 101 …TP_printk("dx: %12lld. dy: %12lld median_m: %12lld median_error: %12lld len: %lld x: %12lld y: %12… 102 __entry->dx,
|
/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/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/linux/drivers/video/fbdev/core/ |
H A D | fbcon_ccw.c | 64 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() 205 region.dx = 0; in ccw_clear_margins() 213 region.dx = info->var.xoffset + bs; in ccw_clear_margins() 230 int err = 1, dx, dy; in ccw_cursor() local 277 dx = y * vc->vc_font.height; in ccw_cursor() 280 if (ops->cursor_state.image.dx != dx || in ccw_cursor() [all …]
|
H A D | fbcon_cw.c | 49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove() 58 area.dy = dx * vc->vc_font.width; in cw_bmove() 74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear() 135 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs() 188 region.dx = 0; in cw_clear_margins() 196 region.dx = info->var.xoffset; in cw_clear_margins() 213 int err = 1, dx, dy; in cw_cursor() local 260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor() 263 if (ops->cursor_state.image.dx != dx || in cw_cursor() [all …]
|