Home
last modified time | relevance | path

Searched refs:dx (Results 1 - 25 of 415) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c52 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()
56 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea()
62 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea()
71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument
98 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1()
120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument
131 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8()
159 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument
174 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16()
195 u16 dx = image->dx, dy = image->dy; mb86290fb_imageblit() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/mb862xx/
H A 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()
193 u16 dx = image->dx, dy = image->dy; mb86290fb_imageblit() local
[all...]
/kernel/linux/linux-5.10/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 in dnfb_copyarea()
[all...]
H A Datafb_iplan2p4.c24 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea()
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()
261 dest = (u32 *)(info->screen_base + dy * next_line + (dx in atafb_iplan2p4_linefill()
23 atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) atafb_iplan2p4_copyarea() argument
252 atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) atafb_iplan2p4_linefill() argument
[all...]
H A Datafb_iplan2p2.c24 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea()
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()
247 dest = (u32 *)(info->screen_base + dy * next_line + (dx in atafb_iplan2p2_linefill()
23 atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) atafb_iplan2p2_copyarea() argument
238 atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) atafb_iplan2p2_linefill() argument
[all...]
/kernel/linux/linux-6.6/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 Datafb_iplan2p4.c24 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea()
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()
261 dest = (u32 *)(info->screen_base + dy * next_line + (dx in atafb_iplan2p4_linefill()
23 atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) atafb_iplan2p4_copyarea() argument
252 atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) atafb_iplan2p4_linefill() argument
[all...]
H A Datafb_iplan2p2.c24 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea()
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()
247 dest = (u32 *)(info->screen_base + dy * next_line + (dx in atafb_iplan2p2_linefill()
23 atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) atafb_iplan2p2_copyarea() argument
238 atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) atafb_iplan2p2_linefill() argument
[all...]
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 in dnfb_copyarea()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
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()
[all...]
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()
235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea()
244 draw_rect(dx, d in atyfb_copyarea()
250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; atyfb_fillrect() local
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; atyfb_imageblit() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/
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()
[all...]
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()
235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea()
244 draw_rect(dx, d in atyfb_copyarea()
250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; atyfb_fillrect() local
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; atyfb_imageblit() local
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
H A Dvbox_irq.c78 if (hintsi->dx >= 0xffff || in validate_or_set_position_hints()
80 hintsj->dx >= 0xffff || in validate_or_set_position_hints()
82 (hintsi->dx < in validate_or_set_position_hints()
83 hintsj->dx + (hintsj->cx & 0x8fff) && in validate_or_set_position_hints()
84 hintsi->dx + (hintsi->cx & 0x8fff) > in validate_or_set_position_hints()
85 hintsj->dx) || in validate_or_set_position_hints()
97 vbox->last_mode_hints[i].dx = currentx; in validate_or_set_position_hints()
140 vbox_conn->vbox_crtc->x_hint = hints->dx; in vbox_update_mode_hints()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
H A Dsis_accel.c322 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, are in fbcon_sis_copyarea()
[all...]

Completed in 9 milliseconds

12345678910>>...17