Home
last modified time | relevance | path

Searched refs:sy (Results 1 – 25 of 117) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/video/fbdev/
Datafb.h5 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
8 int sy, int sx, int height, int width);
13 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
16 int sy, int sx, int height, int width);
21 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
24 int sy, int sx, int height, int width);
29 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
32 int sy, int sx, int height, int width);
Datafb_mfb.c24 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument
31 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea()
34 } else if (dy <= sy) { in atafb_mfb_copyarea()
35 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea()
43 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea()
54 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument
59 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect()
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()
50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
151 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
193 int sy, int sx, int height, int width) in atafb_iplan2p2_fillrect() argument
199 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p2_fillrect()
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()
50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
158 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
207 int sy, int sx, int height, int width) in atafb_iplan2p4_fillrect() argument
213 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p4_fillrect()
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()
57 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
82 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
116 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
179 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
242 int sy, int sx, int height, int width) in atafb_iplan2p8_fillrect() argument
248 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
Dtgafb.c1055 copyarea_line_8bpp(struct fb_info *info, u32 dy, u32 sy, argument
1069 if (sy < dy) {
1070 spos = (sy + height) * width;
1082 spos = sy * width;
1100 copyarea_line_32bpp(struct fb_info *info, u32 dy, u32 sy, argument
1117 if (sy < dy) {
1118 src = tga_fb + (sy + height) * width * 4;
1130 src = tga_fb + sy * width * 4;
1149 copyarea_8bpp(struct fb_info *info, u32 dx, u32 dy, u32 sx, u32 sy, argument
1168 if (dy > sy) {
[all …]
Dhitfb.c74 static inline void hitfb_accel_bitblt(int truecolor, u16 sx, u16 sy, u16 dx, in hitfb_accel_bitblt() argument
84 if ((sy < dy) || ((sy == dy) && (sx <= dx))) { in hitfb_accel_bitblt()
85 saddr = WIDTH * (sy + height) + sx + width; in hitfb_accel_bitblt()
98 saddr = WIDTH * sy + sx; in hitfb_accel_bitblt()
151 hitfb_accel_bitblt(p->var.bits_per_pixel == 16, area->sx, area->sy, in hitfb_copyarea()
Dvga16fb.c992 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea()
995 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea()
1011 (area->sy + height - 1) * info->fix.line_length; in vga_8planes_copyarea()
1032 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local
1042 area->sy > vyres) in vga16fb_copyarea()
1062 if (sx + dx < old_dx || sy + dy < old_dy) in vga16fb_copyarea()
1067 sy += (dy - old_dy); in vga16fb_copyarea()
1070 if (sx + width > vxres || sy + height > vyres) in vga16fb_copyarea()
1083 if (dy < sy || (dy == sy && dx < sx)) { in vga16fb_copyarea()
1085 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c208 static void matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, in matrox_accel_bmove() argument
218 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove()
225 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove()
234 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); 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()
267 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin()
276 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin()
298 …matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->d… in matroxfb_cfb4_copyarea()
304 …matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, a… in matroxfb_copyarea()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dtileblit.c20 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, in tile_bmove() argument
26 area.sy = sy; in tile_bmove()
35 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, in tile_clear() argument
47 rect.sy = sy; in tile_clear()
64 blit.sy = yy; in tile_putcs()
90 cursor.sy = vc->state.y; in tile_cursor()
Dsyscopyarea.c317 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in sys_copyarea() local
329 if ((dy == sy && dx > sx) || (dy > sy)) { in sys_copyarea()
331 sy += height; in sys_copyarea()
341 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in sys_copyarea()
Dcfbcopyarea.c383 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in cfb_copyarea() local
396 if ((dy == sy && dx > sx) || (dy > sy)) { in cfb_copyarea()
398 sy += height; in cfb_copyarea()
408 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in cfb_copyarea()
Dsvgalib.c227 if ((area->sy > area->dy) || in svga_tilecopy()
228 ((area->sy == area->dy) && (area->sx > area->dx))) { in svga_tilecopy()
229 src = fb + area->sx * colstride + area->sy * rowstride; in svga_tilecopy()
233 + (area->sy + area->height - 1) * rowstride; in svga_tilecopy()
263 fb += rect->sx * colstride + rect->sy * rowstride; in svga_tilefill()
284 fb += blit->sx * colstride + blit->sy * rowstride; in svga_tileblit()
307 + (cursor->sy + (info->var.yoffset / 16)) in svga_tilecursor()
Dfbcon.c177 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height,
184 static void fbcon_bmove(struct vc_data *vc, int sy, int sx, int dy, int dx,
197 static void fbcon_bmove_rec(struct vc_data *vc, struct fbcon_display *p, int sy, int sx,
1264 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height, in fbcon_clear() argument
1279 if (sy < vc->vc_top && vc->vc_top == logo_lines) { in fbcon_clear()
1293 if (sy < y_break && sy + height - 1 >= y_break) { in fbcon_clear()
1294 u_int b = y_break - sy; in fbcon_clear()
1295 ops->clear(vc, info, real_y(p, sy), sx, b, width); in fbcon_clear()
1296 ops->clear(vc, info, real_y(p, sy + b), sx, height - b, in fbcon_clear()
1299 ops->clear(vc, info, real_y(p, sy), sx, height, width); in fbcon_clear()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Dradeon_accel.c102 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local
106 sx = area->sx; sy = area->sy; 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()
129 OUTREG(SRC_Y_X, (sy << 16) | sx); in radeonfb_prim_copyarea()
141 modded.sy = area->sy; in radeonfb_copyarea()
160 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea()
166 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy; in radeonfb_copyarea()
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()
224 sy += area->height - 1; in atyfb_copyarea()
241 aty_st_le32(SRC_Y_X, (sx << 16) | sy, par); in atyfb_copyarea()
/kernel/linux/linux-5.10/drivers/video/fbdev/savage/
Dsavagefb_accel.c35 int sy = region->sy, dy = region->dy; in savagefb_copyarea() local
51 if (dy <= sy) { in savagefb_copyarea()
54 sy += region->height - 1; in savagefb_copyarea()
60 BCI_SEND(BCI_X_Y(sx, sy)); in savagefb_copyarea()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dcache.S109 dcache_by_line_op civac, sy, x0, x1, x2, x3
166 dsb sy
189 dcache_by_line_op cvac, sy, x0, x1, x2, x3
207 dcache_by_line_op cvap, sy, x0, x1, x2, x3
220 dcache_by_line_op civac, sy, x0, x1, x2, x3
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2.c63 int sx, int sy, int ex, int ey, int scale) in solo_win_setup() argument
76 SOLO_VI_WIN_SY(sy) | in solo_win_setup()
115 int sy, ysize, hsize, i; in solo_v4l2_ch_ext_16up() local
129 for (sy = 0, i = 0; i < 4; i++, sy += ysize) { in solo_v4l2_ch_ext_16up()
130 solo_win_setup(solo_dev, i * 4, 0, sy, hsize, in solo_v4l2_ch_ext_16up()
131 sy + ysize, 5); in solo_v4l2_ch_ext_16up()
132 solo_win_setup(solo_dev, (i * 4) + 1, hsize, sy, in solo_v4l2_ch_ext_16up()
133 hsize * 2, sy + ysize, 5); in solo_v4l2_ch_ext_16up()
134 solo_win_setup(solo_dev, (i * 4) + 2, hsize * 2, sy, in solo_v4l2_ch_ext_16up()
135 hsize * 3, sy + ysize, 5); in solo_v4l2_ch_ext_16up()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dsis_accel.c374 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea()
381 if((area->sy + height) > vyres) height = vyres - area->sy; in fbcon_sis_copyarea()
390 if(area->sy < area->dy) ydir = 0; in fbcon_sis_copyarea()
395 SiS300SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea()
403 SiS310SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea()
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dsm750_accel.c150 unsigned int sx, unsigned int sy, in sm750_hw_copyarea() argument
165 if (sy < dy) { in sm750_hw_copyarea()
177 } else if (sy > dy) { in sm750_hw_copyarea()
220 sy += height - 1; in sm750_hw_copyarea()
271 (sy & DE_SOURCE_Y_K2_MASK)); /* dpr0 */ in sm750_hw_copyarea()
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/
Di810_accel.c329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local
340 sy = region->sy; in i810fb_copyarea()
352 if (dy <= sy) { in i810fb_copyarea()
357 sy += height - 1; in i810fb_copyarea()
360 src = info->fix.smem_start + (sy * info->fix.line_length) + sx; in i810fb_copyarea()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dbarrier.h38 dsb(sy); \
44 #define mb() dsb(sy)
/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/
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()
61 cmd[3] = (area->sy << 16) | area->sx; in mb86290fb_copyarea()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-core.c232 int tx, ty, sx, sy; in fimc_set_scaler_info() local
248 sy = s_frame->height; in fimc_set_scaler_info()
249 if (sx <= 0 || sy <= 0) { in fimc_set_scaler_info()
250 dev_err(dev, "Invalid source size: %dx%d\n", sx, sy); in fimc_set_scaler_info()
254 sc->real_height = sy; in fimc_set_scaler_info()
260 ret = fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor); in fimc_set_scaler_info()
265 sc->pre_dst_height = sy / sc->pre_vratio; in fimc_set_scaler_info()
269 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()
272 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
277 sc->scaleup_v = (ty >= sy) ? 1 : 0; in fimc_set_scaler_info()

12345