Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 135) sorted by relevance

123456

/linux-6.3-rc2/drivers/video/fbdev/mb862xx/
A Dmb862xxfb_accel.c62 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea()
98 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1()
131 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8()
174 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16()
195 u16 dx = image->dx, dy = image->dy; in mb86290fb_imageblit() local
199 y2 = image->dy + image->height; in mb86290fb_imageblit()
205 height = y2 - dy; in mb86290fb_imageblit()
261 || rect->dy > vyres) in mb86290fb_fillrect()
267 y2 = rect->dy + rect->height; in mb86290fb_fillrect()
271 height = y2 - rect->dy; in mb86290fb_fillrect()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/
A Datafb.h5 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
10 int dy, int dx, u32 width,
13 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
18 int dy, int dx, u32 width,
21 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
26 int dy, int dx, u32 width,
29 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
34 int dy, int dx, u32 width,
A Datafb_mfb.c24 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument
32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
34 } else if (dy <= sy) { 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()
A Dtgafb.c640 dy = image->dy;
657 height = vyres - dy;
850 dy = image->dy;
863 height = vyres - dy;
936 dy = rect->dy;
1072 if (sy < dy) {
1086 dpos = dy * width;
1120 if (sy < dy) {
1171 if (dy > sy) {
1172 dy += height - 1;
[all …]
A 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()
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()
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()
A 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()
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()
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()
A Datafb_iplan2p8.c31 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()
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()
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()
A Dvga16fb.c913 y2 = rect->dy + rect->height; in vga16fb_fillrect()
922 height = y2 - rect->dy; in vga16fb_fillrect()
990 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea()
1030 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local
1045 old_dy = area->dy; in vga16fb_copyarea()
1052 y2 = area->dy + area->height; in vga16fb_copyarea()
1054 dy = area->dy > 0 ? area->dy : 0; in vga16fb_copyarea()
1058 height = y2 - dy; in vga16fb_copyarea()
1065 sy += (dy - old_dy); in vga16fb_copyarea()
1081 if (dy < sy || (dy == sy && dx < sx)) { in vga16fb_copyarea()
[all …]
A Dhitfb.c59 static inline void hitfb_accel_set_dest(int truecolor, u16 dx, u16 dy, in hitfb_accel_set_dest() argument
62 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest()
75 u16 dy, u16 width, u16 height, u16 rop, in hitfb_accel_bitblt() argument
84 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { in hitfb_accel_bitblt()
86 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt()
99 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt()
136 hitfb_accel_set_dest(1, rect->dx, rect->dy, rect->width, in hitfb_fillrect()
141 hitfb_accel_set_dest(0, rect->dx, rect->dy, rect->width, in hitfb_fillrect()
152 area->dx, area->dy, area->width, area->height, in hitfb_copyarea()
/linux-6.3-rc2/drivers/video/fbdev/aty/
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()
93 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; 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()
108 ydir = sy - dy; in radeonfb_prim_copyarea()
111 if ( ydir < 0 ) { sy += h-1; dy += h-1; } in radeonfb_prim_copyarea()
130 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea()
143 modded.dy = area->dy; in radeonfb_copyarea()
161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea()
[all …]
/linux-6.3-rc2/drivers/input/mouse/
A Damimouse.c38 int nx, ny, dx, dy; in amimouse_interrupt() local
46 dy = ny - amimouse_lasty; in amimouse_interrupt()
50 if (dy < -127) dy = (256 + ny) - amimouse_lasty; in amimouse_interrupt()
51 if (dy > 127) dy = (ny - 256) - amimouse_lasty; in amimouse_interrupt()
59 input_report_rel(dev, REL_Y, dy); in amimouse_interrupt()
/linux-6.3-rc2/drivers/gpu/drm/vboxvideo/
A Dvbox_irq.c80 hintsi->dy >= 0xffff || in validate_or_set_position_hints()
82 hintsj->dy >= 0xffff || in validate_or_set_position_hints()
87 (hintsi->dy < in validate_or_set_position_hints()
88 hintsj->dy + (hintsj->cy & 0x8fff) && in validate_or_set_position_hints()
89 hintsi->dy + (hintsi->cy & 0x8fff) > in validate_or_set_position_hints()
90 hintsj->dy)) in validate_or_set_position_hints()
99 vbox->last_mode_hints[i].dy = 0; in validate_or_set_position_hints()
142 vbox_conn->vbox_crtc->y_hint = hints->dy; in vbox_update_mode_hints()
/linux-6.3-rc2/drivers/video/fbdev/savage/
A Dsavagefb_accel.c35 int sy = region->sy, dy = region->dy; in savagefb_copyarea() local
51 if (dy <= sy) { in savagefb_copyarea()
55 dy += region->height - 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()
131 BCI_SEND(BCI_X_Y(image->dx, image->dy)); in savagefb_imageblit()
/linux-6.3-rc2/drivers/video/fbdev/sis/
A Dsis_accel.c322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect()
327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; 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()
382 if((area->dy + height) > vyres) height = vyres - area->dy; in fbcon_sis_copyarea()
390 if(area->sy < area->dy) ydir = 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()
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/dss/
A Dhdmi_phy.c38 int dx, dy; in hdmi_phy_parse_lanes() local
41 dy = lanes[i + 1]; in hdmi_phy_parse_lanes()
46 if (dy < 0 || dy >= 8) 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()
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi_phy.c47 int dx, dy; in hdmi_phy_parse_lanes() local
50 dy = lanes[i + 1]; in hdmi_phy_parse_lanes()
55 if (dy < 0 || dy >= 8) 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()
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dfbcon_cw.c58 area.dy = dx * vc->vc_font.width; in cw_bmove()
75 region.dy = sx * vc->vc_font.width; in cw_clear()
136 image.dy = xx * vc->vc_font.width; in cw_putcs()
161 image.dy += image.height; in cw_putcs()
189 region.dy = info->var.yoffset + rs; in cw_clear_margins()
197 region.dy = info->var.yoffset; in cw_clear_margins()
213 int err = 1, dx, dy; in cw_cursor() local
261 dy = vc->state.x * vc->vc_font.width; in cw_cursor()
264 ops->cursor_state.image.dy != dy || in cw_cursor()
267 ops->cursor_state.image.dy = dy; in cw_cursor()
[all …]
A 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()
90 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear()
178 image.dy += image.height; in ccw_putcs()
206 region.dy = info->var.yoffset; in ccw_clear_margins()
214 region.dy = 0; in ccw_clear_margins()
230 int err = 1, dx, dy; in ccw_cursor() local
281 ops->cursor_state.image.dy != dy || in ccw_cursor()
284 ops->cursor_state.image.dy = dy; in ccw_cursor()
[all …]
A Dfbcon_ud.c49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument
58 area.dy = vyres - ((dy + height) * vc->vc_font.height); in ud_bmove()
76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear()
173 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
235 region.dy = 0; in ud_clear_margins()
243 region.dy = info->var.yoffset; in ud_clear_margins()
260 int err = 1, dx, dy; in ud_cursor() local
308 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
312 ops->cursor_state.image.dy != dy || in ud_cursor()
315 ops->cursor_state.image.dy = dy; in ud_cursor()
[all …]
A Dsvgalib.c220 int dx, dy; in svga_tilecopy() local
227 if ((area->sy > area->dy) || in svga_tilecopy()
228 ((area->sy == area->dy) && (area->sx > area->dx))) { in svga_tilecopy()
230 dst = fb + area->dx * colstride + area->dy * rowstride; in svga_tilecopy()
235 + (area->dy + area->height - 1) * rowstride; in svga_tilecopy()
241 for (dy = 0; dy < area->height; dy++) { in svga_tilecopy()
258 int dx, dy; in svga_tilefill() local
265 for (dy = 0; dy < rect->height; dy++) { in svga_tilefill()
279 int dx, dy, i; in svga_tileblit() local
287 for (dy=0; dy < blit->height; dy ++) { in svga_tileblit()
/linux-6.3-rc2/drivers/platform/chrome/
A 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),
85 __field(s64, dy)
94 __entry->dy = dy;
103 __entry->dy,
/linux-6.3-rc2/drivers/video/fbdev/matrox/
A Dmatroxfb_accel.c209 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument
218 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove()
236 dy += height-1; in matrox_accel_bmove()
243 mga_ydstlen(dy, height); in matrox_accel_bmove()
250 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument
260 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin()
278 dy += height-1; in matrox_accel_bmove_lin()
285 mga_outl(M_YDST, dy*vxres >> 5); in matrox_accel_bmove_lin()
304 …matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, a… in matroxfb_copyarea()
400 …matroxfb_cfb4_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, r… in matroxfb_cfb4_fillrect()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/i810/
A Di810_accel.c301 u32 dx, dy, width, height, dest, rop = 0, color = 0; in i810fb_fillrect() local
318 dy = rect->dy; in i810fb_fillrect()
321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_fillrect()
329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local
341 dy = region->dy; in i810fb_copyarea()
352 if (dy <= sy) { in i810fb_copyarea()
358 dy += height - 1; in i810fb_copyarea()
361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_copyarea()
390 dst = info->fix.smem_start + (image->dy * info->fix.line_length) + in i810fb_imageblit()
/linux-6.3-rc2/drivers/staging/sm750fb/
A Dsm750_accel.c153 unsigned int Bpp, unsigned int dx, unsigned int dy, in sm750_hw_copyarea() argument
166 if (sy < dy) { in sm750_hw_copyarea()
178 } else if (sy > dy) { in sm750_hw_copyarea()
223 dy += height - 1; in sm750_hw_copyarea()
275 (dy & DE_DESTINATION_Y_MASK)); /* dpr04 */ in sm750_hw_copyarea()
321 u32 bytePerPixel, u32 dx, u32 dy, u32 width, in sm750_hw_imageblit() argument
382 (dy & DE_DESTINATION_Y_MASK)); /* dpr04 */ in sm750_hw_imageblit()
/linux-6.3-rc2/drivers/input/
A Dmousedev.c52 int dx, dy, dz; member
89 int dx, dy, dz; member
213 mousedev->packet.dy -= value; in mousedev_rel_event()
294 client->pos_y += packet->dy; in mousedev_notify_readers()
298 p->dy += packet->dy; in mousedev_notify_readers()
302 if (p->dx || p->dy || p->dz || in mousedev_notify_readers()
574 s8 dx, dy, dz; in mousedev_packet() local
579 dy = clamp_val(p->dy, -127, 127); in mousedev_packet()
580 p->dy -= dy; in mousedev_packet()
586 ps2_data[2] = dy; in mousedev_packet()
[all …]

Completed in 47 milliseconds

123456