Home
last modified time | relevance | path

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

1234

/linux/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()
[all …]
/linux/drivers/video/fbdev/
H 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,
H 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()
H A Dtgafb.c635 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local
645 dy = image->dy;
657 if (dx > vxres || dy > vyres)
661 if (dy + height > vyres)
662 height = vyres - dy;
688 pos = dy * line_length;
848 u32 color, dx, dy, width, height, vxres, vyres; local
855 dy = image->dy;
863 if (dx > vxres || dy > vyres)
867 if (dy + height > vyres)
[all …]
H 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()
H 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()
H 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()
H A Dvga16fb.c854 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()
912 y2 = rect->dy + rect->height; in vga16fb_fillrect()
921 height = y2 - rect->dy; in vga16fb_fillrect()
925 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
989 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea()
991 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea()
1006 (area->dy + height - 1) * info->fix.line_length; in vga_8planes_copyarea()
1029 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local
1038 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea()
[all …]
H A Dhitfb.c75 static inline void hitfb_accel_set_dest(int truecolor, u16 dx, u16 dy, in hitfb_accel_set_dest() argument
78 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest()
91 u16 dy, u16 width, u16 height, u16 rop, in hitfb_accel_bitblt() argument
100 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { in hitfb_accel_bitblt()
102 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt()
115 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt()
152 hitfb_accel_set_dest(1, rect->dx, rect->dy, rect->width, in hitfb_fillrect()
157 hitfb_accel_set_dest(0, rect->dx, rect->dy, rect->width, in hitfb_fillrect()
168 area->dx, area->dy, area->width, area->height, in hitfb_copyarea()
/linux/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()
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 …]
H A Dmach64_accel.c202 u32 dy = area->dy, sy = area->sy, direction = DST_LAST_PEL; in atyfb_copyarea() local
222 if (area->sy < area->dy) { in atyfb_copyarea()
223 dy += area->height - 1; in atyfb_copyarea()
244 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea()
284 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect()
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
383 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()
/linux/drivers/input/mouse/
H 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()
H A Dlogibm.c60 char dx, dy; in logibm_interrupt() local
68 dy = (inb(LOGIBM_DATA_PORT) & 0xf); in logibm_interrupt()
71 dy |= (buttons & 0xf) << 4; in logibm_interrupt()
75 input_report_rel(logibm_dev, REL_Y, dy); in logibm_interrupt()
/linux/drivers/video/fbdev/sis/
H 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/drivers/video/fbdev/savage/
H 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/drivers/gpu/drm/omapdrm/dss/
H 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/drivers/video/fbdev/core/
H A Dfb_logo.c219 image->dy = info->var.yres - image->height - image->dy; in fb_rotate_logo()
224 tmp = image->dy; in fb_rotate_logo()
225 image->dy = image->dx; in fb_rotate_logo()
232 image->dx = image->dy; in fb_rotate_logo()
233 image->dy = info->var.yres - image->height - tmp; in fb_rotate_logo()
263 x < num && image->dy + image->height <= info->var.yres; in fb_do_show_logo()
266 image->dy += image->height + 8; in fb_do_show_logo()
269 u32 dy = image->dy; in fb_do_show_logo() local
271 for (x = 0; x < num && image->dy <= dy; x++) { in fb_do_show_logo()
273 image->dy -= image->height + 8; in fb_do_show_logo()
[all …]
H A Dsvgalib.c219 int dx, dy; in svga_tilecopy() local
226 if ((area->sy > area->dy) || in svga_tilecopy()
227 ((area->sy == area->dy) && (area->sx > area->dx))) { in svga_tilecopy()
229 dst = fb + area->dx * colstride + area->dy * rowstride; in svga_tilecopy()
234 + (area->dy + area->height - 1) * rowstride; in svga_tilecopy()
240 for (dy = 0; dy < area->height; dy++) { in svga_tilecopy()
257 int dx, dy; in svga_tilefill() local
264 for (dy = 0; dy < rect->height; dy++) { in svga_tilefill()
278 int dx, dy, i; in svga_tileblit() local
286 for (dy = 0; dy < blit->height; dy++) { in svga_tileblit()
H A Dbitblit.c47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument
54 area.dy = dy * vc->vc_font.height; in bit_bmove()
68 region.dy = sy * vc->vc_font.height; in bit_clear()
167 image.dy = yy * vc->vc_font.height; in bit_putcs()
171 if (image.dy >= info->var.yres) in bit_putcs()
174 image.height = min(image.height, info->var.yres - image.dy); in bit_putcs()
245 region.dy = 0; in bit_clear_margins()
253 region.dy = info->var.yoffset + bs; in bit_clear_margins()
308 (par->cursor_state.image.dy != (vc->vc_font.height * y)) || in bit_cursor()
311 par->cursor_state.image.dy = vc->vc_font.height * y; in bit_cursor()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H 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/drivers/platform/chrome/
H 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/drivers/video/fbdev/i810/
H 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/drivers/staging/sm750fb/
H A Dsm750_accel.c152 unsigned int Bpp, unsigned int dx, unsigned int dy, in sm750_hw_copyarea() argument
165 if (sy < dy) { in sm750_hw_copyarea()
177 } else if (sy > dy) { in sm750_hw_copyarea()
222 dy += height - 1; in sm750_hw_copyarea()
274 (dy & DE_DESTINATION_Y_MASK)); /* dpr04 */ in sm750_hw_copyarea()
320 u32 bytePerPixel, u32 dx, u32 dy, u32 width, in sm750_hw_imageblit() argument
381 (dy & DE_DESTINATION_Y_MASK)); /* dpr04 */ in sm750_hw_imageblit()
/linux/drivers/input/
H A Dmousedev.c52 int dx, dy, dz; member
89 int dx, dy, dz; member
159 mousedev->packet.dy = tmp / FRACTION_DENOM; in mousedev_touchpad_event()
161 mousedev->packet.dy * FRACTION_DENOM; in mousedev_touchpad_event()
213 mousedev->packet.dy -= value; in mousedev_rel_event()
286 p->dy += packet->y - client->pos_y; in mousedev_notify_readers()
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()
396 mousedev->packet.dx = mousedev->packet.dy = in mousedev_event()
[all …]
/linux/include/linux/
H A Dfixp-arith.h116 s32 v1, v2, dx, dy; in fixp_sin32_rad() local
133 dy = v2 - v1; in fixp_sin32_rad()
135 tmp *= dy; in fixp_sin32_rad()

1234