/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
D | armada_trace.h | 34 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,
|
D | armada_overlay.c | 113 u16 src_x; in armada_drm_overlay_plane_atomic_update() local 145 src_x = state->src.x1 >> 16; in armada_drm_overlay_plane_atomic_update() 146 if (format->num_planes == 1 && src_x & (format->hsub - 1)) in armada_drm_overlay_plane_atomic_update() 256 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, in armada_overlay_plane_update() argument 265 src_x, src_y, src_w, src_h); in armada_overlay_plane_update() 287 plane_state->src_x = src_x; in armada_overlay_plane_update()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/via/ |
D | accel.c | 41 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_plane_helper.c | 117 .src_x = src->x1, in drm_plane_helper_check_update() 152 uint32_t src_x, uint32_t src_y, in drm_primary_helper_update() argument 160 .x = src_x >> 16, in drm_primary_helper_update() 164 .x1 = src_x, in drm_primary_helper_update() 166 .x2 = src_x + src_w, in drm_primary_helper_update()
|
D | drm_plane.c | 611 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/ |
D | test-drm_plane_helper.c | 15 unsigned src_x, unsigned src_y, in set_src() argument 18 plane_state->src_x = src_x; in set_src() 25 unsigned src_x, unsigned src_y, in check_src_eq() argument 39 if (plane_state->src.x1 != src_x || in check_src_eq()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_framebuffer.c | 209 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() 221 if ((src_x % info->hsub) || (src_w % info->hsub) || in komeda_fb_check_src_coords() 224 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords() 228 if ((src_x % block_w) || (src_w % block_w) || in komeda_fb_check_src_coords() 231 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
|
D | komeda_framebuffer.h | 42 u32 src_x, u32 src_y, u32 src_w, u32 src_h);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_plane.c | 50 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 217 src_x = src_x >> 16; in mdp4_plane_mode_set() 223 fb->base.id, src_x, src_y, src_w, src_h, in mdp4_plane_mode_set() 286 MDP4_PIPE_SRC_XY_X(src_x) | in mdp4_plane_mode_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 94 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() 366 uint32_t src_x, uint32_t src_y, in nv04_update_plane() argument 380 src_x >>= 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/exynos/ |
D | exynos_drm_plane.c | 64 unsigned int src_x, src_y; in exynos_plane_mode_set() local 80 src_x = state->src_x >> 16; in exynos_plane_mode_set() 95 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set() 106 exynos_state->src.x = src_x; in exynos_plane_mode_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/ |
D | shmob_drm_plane.c | 29 unsigned int src_x; 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 195 splane->src_x = src_x >> 16; in shmob_drm_plane_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | accel_2d.c | 163 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() 179 src_x += size_x - 1; in psb_accel_2d_copy() 205 PSB_2D_SRC_OFF_BH | (src_x << PSB_2D_SRCOFF_XSTART_SHIFT) | in psb_accel_2d_copy()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_plane.h | 106 uint32_t src_x; member 233 .x1 = state->src_x, in drm_plane_state_src() 235 .x2 = state->src_x + state->src_w, in drm_plane_state_src() 287 uint32_t src_x, uint32_t src_y,
|
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/ |
D | sis_accel.c | 104 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/ |
D | zx_plane.c | 194 u32 src_x, src_y, src_w, src_h; in zx_vl_plane_atomic_update() local 205 src_x = src->x1 >> 16; in zx_vl_plane_atomic_update() 221 paddr += src_x * fb->format->cpp[i]; in zx_vl_plane_atomic_update() 358 u32 src_x, src_y, src_w, src_h; in zx_gl_plane_atomic_update() local 372 src_x = plane->state->src_x >> 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/ |
D | sticore.c | 171 sti_set(struct sti_struct *sti, int src_y, int src_x, in sti_set() argument 178 .src_x = src_x, in sti_set() 180 .dest_x = src_x, in sti_set() 199 sti_clear(struct sti_struct *sti, int src_y, int src_x, in sti_clear() argument 206 .src_x = src_x * font->width, in sti_clear() 208 .dest_x = src_x * font->width, in sti_clear() 231 sti_bmove(struct sti_struct *sti, int src_y, int src_x, in sti_bmove() argument 237 .src_x = src_x * font->width, in sti_bmove()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 628 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_check() local 643 src_x = state->src_x >> 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 726 (oldstate->src_x == state->src_x) && in sti_gdp_atomic_update() 752 src_x = state->src_x >> 16; in sti_gdp_atomic_update() 781 top_field->gam_gdp_pml += src_x * bpp; in sti_gdp_atomic_update()
|
D | sti_hqvdp.c | 1029 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_check() local 1042 src_x = state->src_x >> 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 1133 (oldstate->src_x == state->src_x) && in sti_hqvdp_atomic_update() 1149 src_x = state->src_x >> 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/ |
D | sticore.h | 294 s16 src_x; /* source upper left pixel x 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,
|
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
D | ivtv-yuv.c | 224 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal() 227 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal() 263 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; in ivtv_yuv_handle_horizontal() 660 if (f->src_x < 0) in ivtv_yuv_window_setup() 661 f->src_x = 0; in ivtv_yuv_window_setup() 667 f->src_x += osd_crop / 2; in ivtv_yuv_window_setup() 717 f->src_x += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup() 742 f->src_w += f->src_x & 1; in ivtv_yuv_window_setup() 743 f->src_x &= ~1; in ivtv_yuv_window_setup() 779 (of->dst_x != f->dst_x) || (of->src_x != f->src_x) || in ivtv_yuv_window_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/ |
D | virtgpu_plane.c | 165 plane->state->src_x != old_state->src_x || in virtio_gpu_primary_plane_update() 175 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update() 181 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_plane.c | 363 vc4_state->src_x = DIV_ROUND_CLOSEST(state->src.x1, 1 << 16); in vc4_plane_setup_clipping_and_scaling() 365 vc4_state->src_w[0] = DIV_ROUND_CLOSEST(state->src.x2, 1 << 16) - vc4_state->src_x; in vc4_plane_setup_clipping_and_scaling() 689 vc4_state->offsets[i] += vc4_state->src_x / in vc4_plane_mode_set() 712 u32 tiles_l = vc4_state->src_x >> tile_w_shift; in vc4_plane_mode_set() 722 u32 x_off = vc4_state->src_x & tile_w_mask; in vc4_plane_mode_set() 795 tile = vc4_state->src_x / pix_per_tile; in vc4_plane_mode_set() 796 x_off = vc4_state->src_x % pix_per_tile; in vc4_plane_mode_set() 1143 plane->state->src_x = state->src_x; in vc4_plane_atomic_async_update() 1166 vc4_state->src_x = new_vc4_state->src_x; in vc4_plane_atomic_async_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 513 plane->state->src_x = new_state->src_x; in mdp5_plane_atomic_async_update() 840 u32 src_x, u32 src_y, in mdp5_hwpipe_mode_set() argument 857 MDP5_PIPE_SRC_XY_X(src_x) | in mdp5_hwpipe_mode_set() 946 uint32_t src_x, src_y; in mdp5_plane_mode_set() local 960 src_x = src->x1; in mdp5_plane_mode_set() 971 src_x = src_x >> 16; in mdp5_plane_mode_set() 980 fb->base.id, src_x, src_y, src_w, src_h, in mdp5_plane_mode_set() 1028 src_x, src_y, src_w, src_h); in mdp5_plane_mode_set() 1034 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/ |
D | atmel_hlcdc_plane.c | 50 uint32_t src_x; member 619 state->src_x = s->src.x1; 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() 632 state->src_x >>= 16; in atmel_hlcdc_plane_atomic_check() 654 offset += ((state->src_x + state->src_w - 1) / in atmel_hlcdc_plane_atomic_check() 664 offset += ((state->src_x + state->src_w - 1) / in atmel_hlcdc_plane_atomic_check() 673 offset += (state->src_x / xdiv) * state->bpp[i]; in atmel_hlcdc_plane_atomic_check() 681 offset += (state->src_x / xdiv) * state->bpp[i]; in atmel_hlcdc_plane_atomic_check()
|