Home
last modified time | relevance | path

Searched refs:src_x (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/gpu/drm/armada/
H A 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),
44 __field(u32, src_x)
57 __entry->src_x = src_x;
66 __entry->src_x >> 16, __entry->src_y >> 16,
/linux/drivers/video/fbdev/via/
H A Daccel.c41 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_1() argument
53 if (src_x < dst_x) { in hw_bitblt_1()
55 src_x += width - 1; in hw_bitblt_1()
84 if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 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
186 if (src_x < dst_x) { in hw_bitblt_2()
188 src_x += width - 1; in hw_bitblt_2()
253 if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) in hw_bitblt_2()
[all …]
H A Dviafbdev.h54 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y,
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A 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
135 src_x >>= 16; in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
367 uint32_t src_x, uint32_t src_y, in nv04_update_plane() argument
381 src_x >>= 16; in nv04_update_plane()
386 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h); in nv04_update_plane()
/linux/drivers/video/fbdev/sis/
H A Dsis_accel.c104 SiS300SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, in SiS300SubsequentScreenToScreenCopy() argument
122 src_x += width-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
232 SiS310SetupSRCXY(src_x, src_y) in SiS310SubsequentScreenToScreenCopy()
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c340 unsigned int src_x, src_y; in vimc_scaler_fill_src_frame() local
350 for (src_x = 0; src_x < src_fmt->width; src_x++) { in vimc_scaler_fill_src_frame()
353 snk_x = (src_x * r->width) / src_fmt->width + r->left; in vimc_scaler_fill_src_frame()
/linux/include/drm/
H A Ddrm_plane.h111 uint32_t src_x; member
277 .x1 = state->src_x, in drm_plane_state_src()
279 .x2 = state->src_x + state->src_w, in drm_plane_state_src()
331 uint32_t src_x, uint32_t src_y,
H A Ddrm_plane_helper.h38 uint32_t src_x, uint32_t src_y,
/linux/drivers/video/
H A Dsticore.c197 sti_set(struct sti_struct *sti, int src_y, int src_x, in sti_set() argument
204 .src_x = src_x, in sti_set()
206 .dest_x = src_x, in sti_set()
230 sti_clear(struct sti_struct *sti, int src_y, int src_x, in sti_clear() argument
237 .src_x = src_x * font->width, in sti_clear()
239 .dest_x = src_x * font->width, in sti_clear()
267 sti_bmove(struct sti_struct *sti, int src_y, int src_x, in sti_bmove() argument
273 .src_x = src_x * font->width, in sti_bmove()
/linux/include/video/
H A Dsticore.h295 s16 src_x; /* source upper left pixel x location */ member
398 void sti_set(struct sti_struct *sti, int src_y, int src_x,
400 void sti_clear(struct sti_struct *sti, int src_y, int src_x,
402 void sti_bmove(struct sti_struct *sti, int src_y, int src_x,
/linux/drivers/gpu/drm/
H A Ddrm_plane.c952 uint32_t src_x, uint32_t src_y, in __setplane_check() argument
980 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, fb); in __setplane_check()
1024 uint32_t src_x, uint32_t src_y, in __setplane_internal() argument
1047 src_x, src_y, src_w, src_h); in __setplane_internal()
1054 src_x, src_y, src_w, src_h, ctx); in __setplane_internal()
1076 uint32_t src_x, uint32_t src_y, in __setplane_atomic() argument
1097 src_x, src_y, src_w, src_h); in __setplane_atomic()
1103 src_x, src_y, src_w, src_h, ctx); in __setplane_atomic()
1112 uint32_t src_x, uint32_t src_y, in setplane_internal() argument
1124 src_x, src_y, src_w, src_h, &ctx); in setplane_internal()
[all …]
H A Ddrm_atomic.c733 new_plane_state->src_x > fb_width - new_plane_state->src_w || in drm_atomic_plane_check()
744 new_plane_state->src_x >> 16, in drm_atomic_plane_check()
745 ((new_plane_state->src_x & 0xffff) * 15625) >> 10, in drm_atomic_plane_check()
1791 plane_state->src_x = 0; in __drm_atomic_helper_disable_plane()
1925 primary_state->src_x = set->x << 16; in __drm_atomic_helper_set_config()
H A Ddrm_crtc_internal.h213 int drm_framebuffer_check_src_coords(uint32_t src_x, uint32_t src_y,
/linux/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c68 mock->src_x = params->src.x; in drm_plane_helper_init()
83 unsigned int src_x, unsigned int src_y, in check_src_eq() argument
86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq()
H A Ddrm_framebuffer_test.c450 const uint32_t src_x; member
464 .expect = -ENOSPC, .src_x = 1, .fb_size = UINT_MAX,
480 const uint32_t src_x = params->src_x; in drm_test_framebuffer_check_src_coords() local
490 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, &fb); in drm_test_framebuffer_check_src_coords()
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_framebuffer.h43 u32 src_x, u32 src_y, u32 src_w, u32 src_h);
H A Dkomeda_plane.c45 dflow->in_x = st->src_x >> 16; in komeda_plane_init_data_flow()
/linux/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.h41 uint32_t src_x, uint32_t src_y, uint32_t src_w,
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.h91 struct drm_rect *clip, uint32_t src_x, uint32_t src_y);
511 int translate_crtc_x = -((state->src_x >> 16) - state->crtc_x); in vmw_du_translate_to_crtc()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_plane.c206 plane->state->src_x = new_state->src_x; in mtk_plane_atomic_async_update()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndwc67e.c64 NVVAL(NVC57E, SET_POINT_IN, X, asyw->state.src_x >> 16) | in wndwc67e_image_set()
H A Dcurs507a.c124 if (asyw->state.src_x || asyw->state.src_y) { in curs507a_acquire()
H A Dwndwc57e.c68 NVVAL(NVC57E, SET_POINT_IN, X, asyw->state.src_x >> 16) | in wndwc57e_image_set()
H A Dwndwca7e.c82 NVVAL(NVCA7E, SET_POINT_IN, X, asyw->state.src_x >> 16) | in wndwca7e_image_set()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_plane.c1064 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local
1083 src_x = src->x1 >> 16; in intel_plane_check_src_coordinates()
1088 drm_rect_init(src, src_x << 16, src_y << 16, in intel_plane_check_src_coordinates()
1107 src_x % 2 != 0) in intel_plane_check_src_coordinates()
1120 if (src_x % hsub || src_w % hsub) { in intel_plane_check_src_coordinates()
1124 src_x, src_w, hsub, str_yes_no(rotated)); in intel_plane_check_src_coordinates()

12