| /linux/drivers/gpu/drm/armada/ |
| H A 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,
|
| H A D | armada_overlay.c | 117 u16 src_x; in armada_drm_overlay_plane_atomic_update() local 151 src_x = new_state->src.x1 >> 16; in armada_drm_overlay_plane_atomic_update() 152 if (format->num_planes == 1 && src_x & (format->hsub - 1)) in armada_drm_overlay_plane_atomic_update() 262 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, in armada_overlay_plane_update() argument 271 src_x, src_y, src_w, src_h); in armada_overlay_plane_update() 293 plane_state->src_x = src_x; in armada_overlay_plane_update()
|
| /linux/drivers/video/fbdev/via/ |
| H A 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 …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_plane_helper.c | 111 .src_x = src->x1, in drm_plane_helper_check_update() 169 uint32_t src_x, uint32_t src_y, in drm_plane_helper_update_primary() argument 177 .x = src_x >> 16, in drm_plane_helper_update_primary() 181 .x1 = src_x, in drm_plane_helper_update_primary() 183 .x2 = src_x + src_w, in drm_plane_helper_update_primary()
|
| H A D | drm_plane.c | 952 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 …]
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_plane.c | 512 vc4_state->src_x = state->src.x1; in vc4_plane_setup_clipping_and_scaling() 514 vc4_state->src_w[0] = state->src.x2 - vc4_state->src_x; in vc4_plane_setup_clipping_and_scaling() 845 vc4_state->crtc_w, vc4_state->src_x, channel); in vc4_write_scaling_parameters() 1221 u32 tiling, src_x, src_y; in vc4_plane_mode_set() local 1269 src_x = vc4_state->src_x >> 16; in vc4_plane_mode_set() 1281 offsets[i] += src_x / (i ? h_subsample : 1) * fb->format->cpp[i]; in vc4_plane_mode_set() 1302 u32 tiles_l = src_x >> tile_w_shift; in vc4_plane_mode_set() 1312 u32 x_off = src_x & tile_w_mask; in vc4_plane_mode_set() 1407 u32 remaining_pixels = src_x % 96; in vc4_plane_mode_set() 1429 x_off = (src_x % pix_per_tile) / in vc4_plane_mode_set() [all …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A 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() 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/gpu/drm/msm/disp/mdp4/ |
| H A D | mdp4_plane.c | 47 uint32_t src_x, uint32_t src_y, 121 new_state->src_x, new_state->src_y, in mdp4_plane_atomic_update() 192 uint32_t src_x, uint32_t src_y, in mdp4_plane_mode_set() argument 213 src_x = src_x >> 16; in mdp4_plane_mode_set() 219 fb->base.id, src_x, src_y, src_w, src_h, in mdp4_plane_mode_set() 282 MDP4_PIPE_SRC_XY_X(src_x) | in mdp4_plane_mode_set()
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_framebuffer.c | 211 u32 src_x, u32 src_y, u32 src_w, u32 src_h) in komeda_fb_check_src_coords() argument 218 if ((src_x + src_w > fb->width) || (src_y + src_h > fb->height)) { in komeda_fb_check_src_coords() 223 if ((src_x % info->hsub) || (src_w % info->hsub) || in komeda_fb_check_src_coords() 226 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords() 230 if ((src_x % block_w) || (src_w % block_w) || in komeda_fb_check_src_coords() 233 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_plane.c | 66 unsigned int src_x, src_y; in exynos_plane_mode_set() local 82 src_x = state->src_x >> 16; in exynos_plane_mode_set() 97 src_x += ((-crtc_x) * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set() 108 exynos_state->src.x = src_x; in exynos_plane_mode_set()
|
| /linux/drivers/video/fbdev/sis/ |
| H A 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()
|
| /linux/drivers/media/test-drivers/vimc/ |
| H A D | vimc-scaler.c | 340 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/drivers/gpu/drm/sti/ |
| H A D | sti_gdp.c | 633 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_check() local 651 src_x = new_plane_state->src_x >> 16; in sti_gdp_atomic_check() 702 src_w, src_h, src_x, src_y); in sti_gdp_atomic_check() 720 int src_x, src_y, src_w, src_h; in sti_gdp_atomic_update() local 739 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update() 765 src_x = newstate->src_x >> 16; in sti_gdp_atomic_update() 794 top_field->gam_gdp_pml += src_x * bpp; in sti_gdp_atomic_update()
|
| H A D | sti_hqvdp.c | 1034 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_check() local 1050 src_x = new_plane_state->src_x >> 16; in sti_hqvdp_atomic_check() 1112 src_w, src_h, src_x, src_y); in sti_hqvdp_atomic_check() 1130 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_update() local 1144 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update() 1160 src_x = newstate->src_x >> 16; in sti_hqvdp_atomic_update() 1209 cmd->top.input_viewport_ori = src_y << 16 | src_x; in sti_hqvdp_atomic_update()
|
| /linux/include/drm/ |
| H A D | drm_plane.h | 111 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 D | drm_plane_helper.h | 38 uint32_t src_x, uint32_t src_y,
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_plane.c | 426 plane->state->src_x = new_state->src_x; in mdp5_plane_atomic_async_update() 751 u32 src_x, u32 src_y, in mdp5_hwpipe_mode_set() argument 768 MDP5_PIPE_SRC_XY_X(src_x) | in mdp5_hwpipe_mode_set() 858 uint32_t src_x, src_y; in mdp5_plane_mode_set() local 872 src_x = src->x1; in mdp5_plane_mode_set() 883 src_x = src_x >> 16; in mdp5_plane_mode_set() 892 fb->base.id, src_x, src_y, src_w, src_h, in mdp5_plane_mode_set() 940 src_x, src_y, src_w, src_h); in mdp5_plane_mode_set() 946 src_x + src_w, src_y, src_w, src_h); in mdp5_plane_mode_set()
|
| /linux/drivers/video/ |
| H A D | sticore.c | 197 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 D | sticore.h | 295 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/media/pci/ivtv/ |
| H A D | ivtv-yuv.c | 230 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal() 233 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal() 269 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; in ivtv_yuv_handle_horizontal() 666 if (f->src_x < 0) in ivtv_yuv_window_setup() 667 f->src_x = 0; in ivtv_yuv_window_setup() 673 f->src_x += osd_crop / 2; in ivtv_yuv_window_setup() 723 f->src_x += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup() 748 f->src_w += f->src_x & 1; in ivtv_yuv_window_setup() 749 f->src_x &= ~1; in ivtv_yuv_window_setup() 785 (of->dst_x != f->dst_x) || (of->src_x != f->src_x) || in ivtv_yuv_window_setup() [all …]
|
| /linux/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_plane.c | 270 plane->state->src_x != old_state->src_x || in virtio_gpu_primary_plane_update() 280 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update() 289 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update() 296 plane->state->src_x >> 16, in virtio_gpu_primary_plane_update() 554 plane->state->src_x >> 16, in virtio_panic_flush()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_plane_helper_test.c | 68 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()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_trace.h | 243 __field(uint32_t, src_x) 272 __entry->src_x = state->src_x >> 16; 302 __entry->src_x, __entry->src_y, __entry->src_w, __entry->src_h, 400 __field(int, src_x) 432 __entry->src_x = plane_state->src_rect.x; 466 __entry->src_x,
|
| /linux/drivers/gpu/drm/hisilicon/kirin/ |
| H A D | kirin_drm_ade.c | 713 unsigned int crtc_h, u32 src_x, in ade_update_channel() argument 724 ch + 1, src_x, src_y, src_w, src_h, in ade_update_channel() 733 ade_clip_set(base, ch, fb->width, src_x, in_w, in_h); in ade_update_channel() 769 u32 src_x = new_plane_state->src_x >> 16; in ade_plane_atomic_check() local 794 if (src_x + src_w > fb->width || in ade_plane_atomic_check() 818 new_state->src_x >> 16, new_state->src_y >> 16, in ade_plane_atomic_update()
|
| /linux/drivers/gpu/drm/arm/ |
| H A D | malidp_planes.c | 534 if ((new_plane_state->src_x >> 16) % block_w || (new_plane_state->src_y >> 16) % block_h) { in malidp_de_plane_check() 742 u32 src_w, src_h, val = 0, src_x, src_y; in malidp_de_set_plane_afbc() local 759 src_x = plane->state->src_x >> 16; in malidp_de_set_plane_afbc() 762 val = ((fb->width - (src_x + src_w)) << MALIDP_AD_CROP_RIGHT_OFFSET) | in malidp_de_set_plane_afbc() 763 src_x; in malidp_de_set_plane_afbc()
|