Home
last modified time | relevance | path

Searched refs:src_y (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dsis_accel.c105 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument
109 if(src_y >= 2048) { in SiS300SubsequentScreenToScreenCopy()
110 srcbase = ivideo->video_linelength * src_y; in SiS300SubsequentScreenToScreenCopy()
111 src_y = 0; in SiS300SubsequentScreenToScreenCopy()
126 src_y += height-1; in SiS300SubsequentScreenToScreenCopy()
130 SiS300SetupSRCXY(src_x, src_y) in SiS300SubsequentScreenToScreenCopy()
191 SiS310SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, int src_y, in SiS310SubsequentScreenToScreenCopy() argument
195 int mymin = min(src_y, dst_y); in SiS310SubsequentScreenToScreenCopy()
196 int mymax = max(src_y, dst_y); in SiS310SubsequentScreenToScreenCopy()
209 if((src_y >= 2048) || (dst_y >= 2048)) { in SiS310SubsequentScreenToScreenCopy()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_trace.h34 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h),
35 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h),
45 __field(u32, src_y)
58 __entry->src_y = src_y;
66 __entry->src_x >> 16, __entry->src_y >> 16,
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Daccel.c41 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_1() argument
58 if (src_y < dst_y) { in hw_bitblt_1()
60 src_y += height - 1; in hw_bitblt_1()
85 || src_y & 0xFFFFF000) { in hw_bitblt_1()
87 "x/y %d %d\n", src_x, src_y); in hw_bitblt_1()
90 tmp = src_x | (src_y << 16); in hw_bitblt_1()
174 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_2() argument
191 if (src_y < dst_y) { in hw_bitblt_2()
193 src_y += height - 1; in hw_bitblt_2()
254 || src_y & 0xFFFFF000) { in hw_bitblt_2()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_plane_helper.c118 .src_y = src->y1, in drm_plane_helper_check_update()
152 uint32_t src_x, uint32_t src_y, in drm_primary_helper_update() argument
161 .y = src_y >> 16, in drm_primary_helper_update()
165 .y1 = src_y, in drm_primary_helper_update()
167 .y2 = src_y + src_h, in drm_primary_helper_update()
Ddrm_plane.c611 uint32_t src_x, uint32_t src_y, in __setplane_check() argument
645 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, fb); in __setplane_check()
689 uint32_t src_x, uint32_t src_y, in __setplane_internal() argument
712 src_x, src_y, src_w, src_h); in __setplane_internal()
719 src_x, src_y, src_w, src_h, ctx); in __setplane_internal()
741 uint32_t src_x, uint32_t src_y, in __setplane_atomic() argument
762 src_x, src_y, src_w, src_h); in __setplane_atomic()
768 src_x, src_y, src_w, src_h, ctx); in __setplane_atomic()
777 uint32_t src_x, uint32_t src_y, in setplane_internal() argument
789 src_x, src_y, src_w, src_h, &ctx); in setplane_internal()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_plane_helper.c15 unsigned src_x, unsigned src_y, in set_src() argument
19 plane_state->src_y = src_y; in set_src()
25 unsigned src_x, unsigned src_y, in check_src_eq() argument
40 plane_state->src.y1 != src_y || in check_src_eq()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c209 u32 src_x, u32 src_y, u32 src_w, u32 src_h) in komeda_fb_check_src_coords() argument
216 if ((src_x + src_w > fb->width) || (src_y + src_h > fb->height)) { in komeda_fb_check_src_coords()
222 (src_y % info->vsub) || (src_h % info->vsub)) { in komeda_fb_check_src_coords()
224 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
229 (src_y % block_h) || (src_h % block_h)) { in komeda_fb_check_src_coords()
231 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c50 uint32_t src_x, uint32_t src_y,
124 state->src_x, state->src_y, in mdp4_plane_atomic_update()
196 uint32_t src_x, uint32_t src_y, in mdp4_plane_mode_set() argument
218 src_y = src_y >> 16; in mdp4_plane_mode_set()
223 fb->base.id, src_x, src_y, src_w, src_h, in mdp4_plane_mode_set()
287 MDP4_PIPE_SRC_XY_Y(src_y)); in mdp4_plane_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c94 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, in verify_scaling() argument
103 if (src_x != 0 || src_y != 0) { in verify_scaling()
105 src_x, src_y); in verify_scaling()
116 uint32_t src_x, uint32_t src_y, in nv10_update_plane() argument
136 src_y >>= 16; in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
366 uint32_t src_x, uint32_t src_y, in nv04_update_plane() argument
381 src_y >>= 16; in nv04_update_plane()
385 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h); in nv04_update_plane()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_plane.c362 vc4_state->src_y = DIV_ROUND_CLOSEST(state->src.y1, 1 << 16); in vc4_plane_setup_clipping_and_scaling()
364 vc4_state->src_h[0] = DIV_ROUND_CLOSEST(state->src.y2, 1 << 16) - vc4_state->src_y; in vc4_plane_setup_clipping_and_scaling()
638 u32 tiling, src_y; in vc4_plane_mode_set() local
670 src_y = vc4_state->src_y; in vc4_plane_mode_set()
672 src_y += vc4_state->src_h[0] - 1; in vc4_plane_mode_set()
683 vc4_state->offsets[i] += src_y / in vc4_plane_mode_set()
712 u32 tiles_t = src_y >> tile_h_shift; in vc4_plane_mode_set()
717 u32 tile_y = (src_y >> 4) & 1; in vc4_plane_mode_set()
718 u32 subtile_y = (src_y >> 2) & 3; in vc4_plane_mode_set()
719 u32 utile_y = src_y & 3; in vc4_plane_mode_set()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c64 unsigned int src_x, src_y; in exynos_plane_mode_set() local
81 src_y = state->src_y >> 16; in exynos_plane_mode_set()
101 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
107 exynos_state->src.y = src_y; in exynos_plane_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/
Dshmob_drm_plane.c30 unsigned int src_y; member
140 shmob_drm_plane_compute_base(splane, fb, splane->src_x, splane->src_y); in __shmob_drm_plane_setup()
173 uint32_t src_x, uint32_t src_y, in shmob_drm_plane_update() argument
196 splane->src_y = src_y >> 16; in shmob_drm_plane_update()
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-resizer.c331 struct v4l2_rect *src_y, in rkisp1_rsz_config_regs() argument
351 if (sink_y->width != src_y->width) { in rkisp1_rsz_config_regs()
353 if (sink_y->width < src_y->width) in rkisp1_rsz_config_regs()
355 ratio = rkisp1_rsz_calc_ratio(sink_y->width, src_y->width); in rkisp1_rsz_config_regs()
368 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs()
370 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs()
372 ratio = rkisp1_rsz_calc_ratio(sink_y->height, src_y->height); in rkisp1_rsz_config_regs()
393 struct v4l2_rect sink_y, sink_c, src_y, src_c; in rkisp1_rsz_config() local
417 src_y.width = src_fmt->width; in rkisp1_rsz_config()
418 src_y.height = src_fmt->height; in rkisp1_rsz_config()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Daccel_2d.c163 uint16_t src_x, uint16_t src_y, in psb_accel_2d_copy() argument
175 psb_accel_2d_copy_direction(src_x - dst_x, src_y - dst_y); in psb_accel_2d_copy()
184 src_y += size_y - 1; in psb_accel_2d_copy()
206 (src_y << PSB_2D_SRCOFF_YSTART_SHIFT); in psb_accel_2d_copy()
/kernel/linux/linux-5.10/include/drm/
Ddrm_plane.h111 uint32_t src_y; member
234 .y1 = state->src_y, in drm_plane_state_src()
236 .y2 = state->src_y + state->src_h, in drm_plane_state_src()
287 uint32_t src_x, uint32_t src_y,
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/
Dzx_plane.c194 u32 src_x, src_y, src_w, src_h; in zx_vl_plane_atomic_update() local
206 src_y = src->y1 >> 16; in zx_vl_plane_atomic_update()
220 paddr += src_y * fb->pitches[i]; in zx_vl_plane_atomic_update()
358 u32 src_x, src_y, src_w, src_h; in zx_gl_plane_atomic_update() local
373 src_y = plane->state->src_y >> 16; in zx_gl_plane_atomic_update()
386 paddr += src_y * stride + src_x * bpp / 8; in zx_gl_plane_atomic_update()
/kernel/linux/linux-5.10/drivers/video/console/
Dsticore.c171 sti_set(struct sti_struct *sti, int src_y, int src_x, in sti_set() argument
179 .src_y = src_y, in sti_set()
181 .dest_y = src_y, in sti_set()
199 sti_clear(struct sti_struct *sti, int src_y, int src_x, in sti_clear() argument
207 .src_y = src_y * font->height, in sti_clear()
209 .dest_y = src_y * font->height, in sti_clear()
231 sti_bmove(struct sti_struct *sti, int src_y, int src_x, in sti_bmove() argument
238 .src_y = src_y * font->height, in sti_bmove()
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
Dsti_gdp.c628 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_check() local
644 src_y = state->src_y >> 16; in sti_gdp_atomic_check()
692 src_w, src_h, src_x, src_y); in sti_gdp_atomic_check()
707 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_update() local
727 (oldstate->src_y == state->src_y) && in sti_gdp_atomic_update()
753 src_y = state->src_y >> 16; in sti_gdp_atomic_update()
782 top_field->gam_gdp_pml += src_y * fb->pitches[0]; in sti_gdp_atomic_update()
Dsti_hqvdp.c1029 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_check() local
1043 src_y = state->src_y >> 16; in sti_hqvdp_atomic_check()
1104 src_w, src_h, src_x, src_y); in sti_hqvdp_atomic_check()
1119 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_update() local
1134 (oldstate->src_y == state->src_y) && in sti_hqvdp_atomic_update()
1150 src_y = state->src_y >> 16; in sti_hqvdp_atomic_update()
1198 cmd->top.input_viewport_ori = src_y << 16 | src_x; in sti_hqvdp_atomic_update()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsticore.h295 s16 src_y; /* source upper left pixel y location */ member
396 void sti_set(struct sti_struct *sti, int src_y, int src_x,
398 void sti_clear(struct sti_struct *sti, int src_y, int src_x,
400 void sti_bmove(struct sti_struct *sti, int src_y, int src_x,
Defifb.c142 u32 bmp_width, bmp_height, bmp_pitch, screen_pitch, dst_x, y, src_y; in efifb_show_boot_graphics() local
219 src_y = y - bgrt_tab.image_offset_y; in efifb_show_boot_graphics()
222 src_y = (bmp_height - 1) - src_y; in efifb_show_boot_graphics()
227 src_y * bmp_pitch, in efifb_show_boot_graphics()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-yuv.c40 y_decode_height = uv_decode_height = f->src_h + f->src_y; in ivtv_yuv_prep_user_dma()
390 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical()
405 if (f->src_y < 8) { in ivtv_yuv_handle_vertical()
406 src_minor_uv = f->src_y; in ivtv_yuv_handle_vertical()
410 src_major_uv = f->src_y - 8; in ivtv_yuv_handle_vertical()
662 if (f->src_y < 0) in ivtv_yuv_window_setup()
663 f->src_y = 0; in ivtv_yuv_window_setup()
681 f->src_y += osd_crop / 2; in ivtv_yuv_window_setup()
699 f->src_y += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
751 f->src_h += f->src_y & 1; in ivtv_yuv_window_setup()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c166 plane->state->src_y != old_state->src_y || in virtio_gpu_primary_plane_update()
176 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
182 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c515 plane->state->src_y = new_state->src_y; in mdp5_plane_atomic_async_update()
841 u32 src_x, u32 src_y, in mdp5_hwpipe_mode_set() argument
859 MDP5_PIPE_SRC_XY_Y(src_y)); in mdp5_hwpipe_mode_set()
947 uint32_t src_x, src_y; in mdp5_plane_mode_set() local
962 src_y = src->y1; in mdp5_plane_mode_set()
973 src_y = src_y >> 16; in mdp5_plane_mode_set()
981 fb->base.id, src_x, src_y, src_w, src_h, in mdp5_plane_mode_set()
1029 src_x, src_y, src_w, src_h); in mdp5_plane_mode_set()
1035 src_x + src_w, src_y, src_w, src_h); in mdp5_plane_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c51 uint32_t src_y; member
620 state->src_y = s->src.y1; in atmel_hlcdc_plane_atomic_check()
628 if ((state->src_x | state->src_y | state->src_w | state->src_h) & in atmel_hlcdc_plane_atomic_check()
633 state->src_y >>= 16; in atmel_hlcdc_plane_atomic_check()
652 offset = (state->src_y / ydiv) * in atmel_hlcdc_plane_atomic_check()
662 offset = ((state->src_y + state->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
671 offset = ((state->src_y + state->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
680 offset = (state->src_y / ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()

1234