Home
last modified time | relevance | path

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

1234

/linux-5.19.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 …]
/linux-5.19.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,
/linux-5.19.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 …]
/linux-5.19.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.c771 uint32_t src_x, uint32_t src_y, in __setplane_check() argument
801 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, fb); in __setplane_check()
845 uint32_t src_x, uint32_t src_y, in __setplane_internal() argument
868 src_x, src_y, src_w, src_h); in __setplane_internal()
875 src_x, src_y, src_w, src_h, ctx); in __setplane_internal()
897 uint32_t src_x, uint32_t src_y, in __setplane_atomic() argument
918 src_x, src_y, src_w, src_h); in __setplane_atomic()
924 src_x, src_y, src_w, src_h, ctx); in __setplane_atomic()
933 uint32_t src_x, uint32_t src_y, in setplane_internal() argument
945 src_x, src_y, src_w, src_h, &ctx); in setplane_internal()
[all …]
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c52 uint32_t src_x, uint32_t src_y,
141 new_state->src_x, new_state->src_y, in mdp4_plane_atomic_update()
213 uint32_t src_x, uint32_t src_y, in mdp4_plane_mode_set() argument
235 src_y = src_y >> 16; in mdp4_plane_mode_set()
240 fb->base.id, src_x, src_y, src_w, src_h, in mdp4_plane_mode_set()
304 MDP4_PIPE_SRC_XY_Y(src_y)); in mdp4_plane_mode_set()
/linux-5.19.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()
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_cursor.c84 int src_x, src_y; in intel_cursor_check_surface() local
96 src_y = plane_state->uapi.src.y1 >> 16; in intel_cursor_check_surface()
98 intel_add_fb_offsets(&src_x, &src_y, plane_state, 0); in intel_cursor_check_surface()
99 offset = intel_plane_compute_aligned_offset(&src_x, &src_y, in intel_cursor_check_surface()
102 if (src_x != 0 || src_y != 0) { in intel_cursor_check_surface()
113 src_x << 16, src_y << 16); in intel_cursor_check_surface()
126 plane_state->view.color_plane[0].y = src_y; in intel_cursor_check_surface()
611 u32 src_x, u32 src_y, in intel_legacy_cursor_update() argument
673 new_plane_state->uapi.src_y = src_y; in intel_legacy_cursor_update()
744 src_x, src_y, src_w, src_h, ctx); in intel_legacy_cursor_update()
Di9xx_plane.c227 int src_x, src_y, src_w; in i9xx_check_plane_surface() local
240 src_y = plane_state->uapi.src.y1 >> 16; in i9xx_check_plane_surface()
246 intel_add_fb_offsets(&src_x, &src_y, plane_state, 0); in i9xx_check_plane_surface()
249 offset = intel_plane_compute_aligned_offset(&src_x, &src_y, in i9xx_check_plane_surface()
276 offset = intel_plane_adjust_aligned_offset(&src_x, &src_y, plane_state, 0, in i9xx_check_plane_surface()
286 src_x << 16, src_y << 16); in i9xx_check_plane_surface()
296 src_y += src_h - 1; in i9xx_check_plane_surface()
303 drm_WARN_ON(&dev_priv->drm, src_x > 8191 || src_y > 4095); in i9xx_check_plane_surface()
306 drm_WARN_ON(&dev_priv->drm, src_x > 4095 || src_y > 4095); in i9xx_check_plane_surface()
311 plane_state->view.color_plane[0].y = src_y; in i9xx_check_plane_surface()
/linux-5.19.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()
/linux-5.19.10/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c337 struct v4l2_rect *src_y, in rkisp1_rsz_config_regs() argument
357 if (sink_y->width != src_y->width) { in rkisp1_rsz_config_regs()
359 if (sink_y->width < src_y->width) in rkisp1_rsz_config_regs()
361 ratio = rkisp1_rsz_calc_ratio(sink_y->width, src_y->width); in rkisp1_rsz_config_regs()
374 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs()
376 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs()
378 ratio = rkisp1_rsz_calc_ratio(sink_y->height, src_y->height); in rkisp1_rsz_config_regs()
399 struct v4l2_rect sink_y, sink_c, src_y, src_c; in rkisp1_rsz_config() local
423 src_y.width = src_fmt->width; in rkisp1_rsz_config()
424 src_y.height = src_fmt->height; in rkisp1_rsz_config()
[all …]
/linux-5.19.10/drivers/gpu/drm/vc4/
Dvc4_plane.c369 vc4_state->src_y = DIV_ROUND_CLOSEST(state->src.y1, 1 << 16); in vc4_plane_setup_clipping_and_scaling()
371 vc4_state->src_h[0] = DIV_ROUND_CLOSEST(state->src.y2, 1 << 16) - vc4_state->src_y; in vc4_plane_setup_clipping_and_scaling()
685 u32 tiling, src_y; in vc4_plane_mode_set() local
717 src_y = vc4_state->src_y; in vc4_plane_mode_set()
719 src_y += vc4_state->src_h[0] - 1; in vc4_plane_mode_set()
730 vc4_state->offsets[i] += src_y / in vc4_plane_mode_set()
759 u32 tiles_t = src_y >> tile_h_shift; in vc4_plane_mode_set()
764 u32 tile_y = (src_y >> 4) & 1; in vc4_plane_mode_set()
765 u32 subtile_y = (src_y >> 2) & 3; in vc4_plane_mode_set()
766 u32 utile_y = src_y & 3; in vc4_plane_mode_set()
[all …]
/linux-5.19.10/include/drm/
Ddrm_plane.h114 uint32_t src_y; member
247 .y1 = state->src_y, in drm_plane_state_src()
249 .y2 = state->src_y + state->src_h, in drm_plane_state_src()
300 uint32_t src_x, uint32_t src_y,
/linux-5.19.10/drivers/media/test-drivers/vimc/
Dvimc-scaler.c357 unsigned int src_x, src_y; in vimc_sca_fill_src_frame() local
361 for (src_y = 0; src_y < src_fmt->height; src_y++) { in vimc_sca_fill_src_frame()
364 snk_y = (src_y * r->height) / src_fmt->height + r->top; in vimc_sca_fill_src_frame()
/linux-5.19.10/drivers/gpu/drm/sti/
Dsti_gdp.c630 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_check() local
646 src_y = new_plane_state->src_y >> 16; in sti_gdp_atomic_check()
696 src_w, src_h, src_x, src_y); in sti_gdp_atomic_check()
714 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_update() local
734 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update()
760 src_y = newstate->src_y >> 16; in sti_gdp_atomic_update()
789 top_field->gam_gdp_pml += src_y * fb->pitches[0]; in sti_gdp_atomic_update()
Dsti_hqvdp.c1031 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_check() local
1045 src_y = new_plane_state->src_y >> 16; in sti_hqvdp_atomic_check()
1106 src_w, src_h, src_x, src_y); in sti_hqvdp_atomic_check()
1124 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_update() local
1139 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update()
1155 src_y = newstate->src_y >> 16; in sti_hqvdp_atomic_update()
1203 cmd->top.input_viewport_ori = src_y << 16 | src_x; in sti_hqvdp_atomic_update()
/linux-5.19.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,
/linux-5.19.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()
391 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical()
406 if (f->src_y < 8) { in ivtv_yuv_handle_vertical()
407 src_minor_uv = f->src_y; in ivtv_yuv_handle_vertical()
411 src_major_uv = f->src_y - 8; in ivtv_yuv_handle_vertical()
663 if (f->src_y < 0) in ivtv_yuv_window_setup()
664 f->src_y = 0; in ivtv_yuv_window_setup()
682 f->src_y += osd_crop / 2; in ivtv_yuv_window_setup()
700 f->src_y += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
752 f->src_h += f->src_y & 1; in ivtv_yuv_window_setup()
[all …]
/linux-5.19.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()
/linux-5.19.10/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c205 plane->state->src_y != old_state->src_y || in virtio_gpu_primary_plane_update()
215 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
224 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
231 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c444 plane->state->src_y = new_state->src_y; in mdp5_plane_atomic_async_update()
770 u32 src_x, u32 src_y, in mdp5_hwpipe_mode_set() argument
788 MDP5_PIPE_SRC_XY_Y(src_y)); in mdp5_hwpipe_mode_set()
876 uint32_t src_x, src_y; in mdp5_plane_mode_set() local
891 src_y = src->y1; in mdp5_plane_mode_set()
902 src_y = src_y >> 16; in mdp5_plane_mode_set()
910 fb->base.id, src_x, src_y, src_w, src_h, in mdp5_plane_mode_set()
958 src_x, src_y, src_w, src_h); in mdp5_plane_mode_set()
964 src_x + src_w, src_y, src_w, src_h); in mdp5_plane_mode_set()
/linux-5.19.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c52 uint32_t src_y; member
622 hstate->src_y = s->src.y1; in atmel_hlcdc_plane_atomic_check()
630 if ((hstate->src_x | hstate->src_y | hstate->src_w | hstate->src_h) & in atmel_hlcdc_plane_atomic_check()
635 hstate->src_y >>= 16; in atmel_hlcdc_plane_atomic_check()
654 offset = (hstate->src_y / ydiv) * in atmel_hlcdc_plane_atomic_check()
664 offset = ((hstate->src_y + hstate->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
673 offset = ((hstate->src_y + hstate->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
682 offset = (hstate->src_y / ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()

1234