| /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 …]
|
| /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()
|
| H A D | dnfb.c | 163 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea() 167 x_end = area->dx + area->width - 1; in dnfb_copyarea() 168 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea() 169 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea() 172 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); in dnfb_copyarea() 173 if ((area->dx & 0xf) < (area->sx & 0xf)) in dnfb_copyarea() 177 x_end = area->dx - area->width + 1; in dnfb_copyarea() 178 x_word_count = (area->dx >> 4) - (x_end >> 4) + 1; in dnfb_copyarea() 179 start_mask = 0x7ffff >> (area->dx & 0xf); in dnfb_copyarea() 182 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) | in dnfb_copyarea() [all …]
|
| H A D | atafb_iplan2p4.c | 24 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 …]
|
| 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_iplan2p8.c | 31 int sy, int sx, int dy, int dx, in atafb_iplan2p8_copyarea() argument 50 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p8_copyarea() 53 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea() 58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 83 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 117 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 180 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 185 if ((dx + width) & 15) in atafb_iplan2p8_copyarea() 288 int dy, int dx, u32 width, in atafb_iplan2p8_linefill() argument 296 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill() [all …]
|
| H A D | tgafb.c | 635 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local 644 dx = image->dx; 657 if (dx > vxres || dy > vyres) 659 if (dx + width > vxres) 660 width = vxres - dx; 690 pos += dx; 694 pos += dx * 4; 848 u32 color, dx, dy, width, height, vxres, vyres; local 854 dx = image->dx; 863 if (dx > vxres || dy > vyres) [all …]
|
| /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 …]
|
| /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 …]
|
| /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()
|
| /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,
|
| /linux/arch/x86/include/asm/ |
| 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()
|
| H A D | syscall.h | 94 args[2] = regs->dx; in syscall_get_arguments() 106 regs->dx = args[2]; in syscall_set_arguments() 127 *args++ = regs->dx; in syscall_get_arguments() 136 *args++ = regs->dx; in syscall_get_arguments() 151 regs->dx = *args++; in syscall_set_arguments() 160 regs->dx = *args++; in syscall_set_arguments()
|
| /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()
|
| /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()
|
| /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()
|
| /linux/drivers/video/fbdev/core/ |
| H A D | bitblit.c | 47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument 53 area.dx = dx * vc->vc_font.width; in bit_bmove() 67 region.dx = sx * vc->vc_font.width; in bit_clear() 166 image.dx = xx * vc->vc_font.width; in bit_putcs() 190 if (image.dx >= info->var.xres) in bit_putcs() 193 if (image.dx + image.width > info->var.xres) { in bit_putcs() 194 image.width = info->var.xres - image.dx; in bit_putcs() 216 image.dx += cnt * vc->vc_font.width; in bit_putcs() 244 region.dx = info->var.xoffset + rs; in bit_clear_margins() 252 region.dx = info->var.xoffset; in bit_clear_margins() [all …]
|
| H A D | fb_logo.c | 218 image->dx = info->var.xres - image->width - image->dx; in fb_rotate_logo() 225 image->dy = image->dx; in fb_rotate_logo() 226 image->dx = info->var.xres - image->width - tmp; in fb_rotate_logo() 231 tmp = image->dx; in fb_rotate_logo() 232 image->dx = image->dy; in fb_rotate_logo() 249 x < num && image->dx + image->width <= info->var.xres; in fb_do_show_logo() 252 image->dx += image->width + 8; in fb_do_show_logo() 255 u32 dx = image->dx; in fb_do_show_logo() local 257 for (x = 0; x < num && image->dx <= dx; x++) { in fb_do_show_logo() 259 image->dx -= image->width + 8; in fb_do_show_logo() [all …]
|
| /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()
|
| /linux/Documentation/fb/ |
| H A D | s3fb.rst | 10 S3 Trio64 (and variants V+, UV+, V2/DX, V2/GX) 11 S3 Virge (and variants VX, DX, GX and GX2+) 19 I tested s3fb on Trio64 (plain, V+ and V2/DX) and Virge (plain, VX, DX), 43 support is broken on S3 Trio64 V2/DX. 78 * text mode broken on S3 Trio64 V2/DX
|
| /linux/net/sched/ |
| H A D | sch_hfsc.c | 87 u64 dx; /* the x-projection of the 1st segment */ member 99 u64 dx; /* the x-projection of the 1st segment */ member 367 * dx: psched_us 447 /* convert d (us) into dx (psched us) */ 451 u64 dx; in d2dx() local 453 dx = ((u64)d * PSCHED_TICKS_PER_SEC); in d2dx() 454 dx += USEC_PER_SEC - 1; in d2dx() 455 do_div(dx, USEC_PER_SEC); in d2dx() 456 return dx; in d2dx() 469 /* convert dx (psched us) into d (us) */ [all …]
|
| /linux/drivers/watchdog/ |
| H A D | sbc8360.c | 71 * MOV DX,0120H 72 * OUT DX,AX 74 * MOV DX,0120H 75 * OUT DX,AX 77 * MOV DX,0120H 78 * OUT DX,AX 80 * MOV DX,0121H 81 * OUT DX,AX 85 * MOV DX,0121H 86 * OUT DX,AX [all …]
|
| /linux/tools/testing/selftests/x86/ |
| H A D | check_initial_reg_state.c | 11 unsigned long ax, bx, cx, dx, si, di, bp, sp, flags; variable 23 "mov %rdx, dx\n\t" 42 "mov %edx, dx\n\t" 63 if (ax || bx || cx || dx || si || di || bp in main() 73 SHOW(dx); in main()
|