| /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 …]
|
| H A D | viafbdev.h | 54 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y,
|
| /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/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()
|
| H A D | komeda_framebuffer.h | 43 u32 src_x, u32 src_y, u32 src_w, u32 src_h);
|
| /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/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/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()
|
| H A D | drm_framebuffer_test.c | 450 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/ |
| 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()
|
| /linux/drivers/gpu/drm/tidss/ |
| H A D | tidss_plane.c | 80 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check() 83 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
|
| /linux/drivers/gpu/drm/imx/ipuv3/ |
| H A D | ipuv3-plane.h | 41 uint32_t src_x, uint32_t src_y, uint32_t src_w,
|
| /linux/drivers/gpu/drm/atmel-hlcdc/ |
| H A D | atmel_hlcdc_plane.c | 53 uint32_t src_x; member 746 hstate->src_x = s->src.x1 >> 16; in atmel_hlcdc_plane_atomic_check() 772 offset += ((hstate->src_x + hstate->src_w - 1) / in atmel_hlcdc_plane_atomic_check() 782 offset += ((hstate->src_x + hstate->src_w - 1) / in atmel_hlcdc_plane_atomic_check() 791 offset += (hstate->src_x / xdiv) * hstate->bpp[i]; in atmel_hlcdc_plane_atomic_check() 799 offset += (hstate->src_x / xdiv) * hstate->bpp[i]; in atmel_hlcdc_plane_atomic_check()
|