Home
last modified time | relevance | path

Searched full:dx (Results 1 – 25 of 597) sorted by relevance

12345678910>>...24

/linux-6.14.4/Documentation/hwmon/
Dsmsc47b397.rst58 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-6.14.4/drivers/video/fbdev/
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,
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()
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 …]
Ddnfb.c163 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 …]
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 …]
Dvga16fb.c845 u32 dx = rect->dx, width = rect->width; in vga_8planes_fillrect() local
853 dx /= 4; in vga_8planes_fillrect()
854 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
905 if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) in vga16fb_fillrect()
911 x2 = rect->dx + rect->width; in vga16fb_fillrect()
915 width = x2 - rect->dx; in vga16fb_fillrect()
925 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
979 u32 sx, dx, width; in vga_8planes_copyarea() local
986 dx = area->dx / 4; in vga_8planes_copyarea()
989 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea()
[all …]
/linux-6.14.4/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c50 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-6.14.4/drivers/video/fbdev/aty/
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()
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 …]
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 …]
/linux-6.14.4/drivers/video/fbdev/savage/
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()
/linux-6.14.4/drivers/platform/chrome/
Dcros_ec_sensorhub_trace.h81 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-6.14.4/arch/x86/include/asm/
Dapm.h15 "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()
/linux-6.14.4/drivers/gpu/drm/omapdrm/dss/
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()
/linux-6.14.4/drivers/input/mouse/
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()
/linux-6.14.4/drivers/video/fbdev/omap2/omapfb/dss/
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()
/linux-6.14.4/drivers/video/fbdev/core/
Dfbcon_ccw.c64 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 …]
Dfbcon_cw.c49 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 …]
Dfbcon_ud.c49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument
59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove()
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
174 image.dx = vxres - ((xx + count) * vc->vc_font.width); in ud_putcs()
208 image.dx += image.width; in ud_putcs()
236 region.dx = info->var.xoffset; in ud_clear_margins()
244 region.dx = info->var.xoffset; in ud_clear_margins()
260 int err = 1, dx, dy; in ud_cursor() local
309 dx = vxres - ((vc->state.x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
311 if (ops->cursor_state.image.dx != dx || in ud_cursor()
[all …]
Dfb_logo.c218 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-6.14.4/drivers/gpu/drm/vboxvideo/
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()
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
Dia_css_ctc1_5.host.c21 int dx = x1 - x0; in ctc_gradient() local
28 if (dx == 0) { in ctc_gradient()
33 dydx_int = dy / dx; in ctc_gradient()
34 dydx_frc = ((dy - dydx_int * dx) << frc_bits) / dx; in ctc_gradient()
47 <= (((float)dy / (float)dx) * (1 << sft)) in ctc_gradient()
/linux-6.14.4/Documentation/fb/
Ds3fb.rst10 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-6.14.4/net/sched/
Dsch_hfsc.c87 u64 dx; /* the x-projection of the 1st segment */ member
99 u64 dx; /* the x-projection of the 1st segment */ member
359 * dx: psched_us
439 /* convert d (us) into dx (psched us) */
443 u64 dx; in d2dx() local
445 dx = ((u64)d * PSCHED_TICKS_PER_SEC); in d2dx()
446 dx += USEC_PER_SEC - 1; in d2dx()
447 do_div(dx, USEC_PER_SEC); in d2dx()
448 return dx; in d2dx()
461 /* convert dx (psched us) into d (us) */
[all …]
/linux-6.14.4/drivers/media/platform/st/sti/delta/
Ddelta-debug.c19 "%4.4s %dx%d %s %s dpb=%d %s %s %s%dx%d@(%d,%d) %s%d/%d", in delta_streaminfo_str()
41 "%4.4s %dx%d aligned %dx%d %s %s%dx%d@(%d,%d) %s%d/%d", in delta_frameinfo_str()

12345678910>>...24