Home
last modified time | relevance | path

Searched refs:dst_y (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/hw/display/
H A Dati_2d.c59 unsigned dst_y = (s->regs.dp_cntl & DST_Y_TOP_TO_BOTTOM ? in ati_2d_blt() local
60 s->regs.dst_y : s->regs.dst_y + 1 - s->regs.dst_height); in ati_2d_blt()
79 if (dst_x > 0x3fff || dst_y > 0x3fff || dst_bits >= end in ati_2d_blt()
81 + (dst_y + s->regs.dst_height) * dst_stride >= end) { in ati_2d_blt()
88 s->regs.src_x, s->regs.src_y, dst_x, dst_y, in ati_2d_blt()
124 src_x, src_y, dst_x, dst_y, in ati_2d_blt()
132 src_x, src_y, dst_x, dst_y, in ati_2d_blt()
147 0, 0, dst_x, dst_y, in ati_2d_blt()
165 i += (dst_y + y) * dst_pitch; in ati_2d_blt()
168 i += (dst_y + s->regs.dst_height - 1 - y) * dst_pitch; in ati_2d_blt()
[all …]
H A Dsm501.c695 unsigned int dst_y = s->twoD_destination & 0xFFFF; in sm501_2d_operation() local
726 dst_y -= height - 1; in sm501_2d_operation()
730 dst_base + (dst_x + width + (dst_y + height) * dst_pitch) * bypp >= in sm501_2d_operation()
768 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation()
780 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation()
794 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation()
813 src_x == dst_x && src_y == dst_y) { in sm501_2d_operation()
819 unsigned int di = (dst_x + dst_y * dst_pitch) * bypp; in sm501_2d_operation()
827 src_y < dst_y + height && src_y + height > dst_y); in sm501_2d_operation()
832 db = dst_base + (dst_x + dst_y * dst_pitch) * bypp; in sm501_2d_operation()
[all …]
H A Dati_int.h71 uint32_t dst_y; member
H A Dati.c459 val = s->regs.dst_y; in ati_mm_read()
822 s->regs.dst_y = data & 0x3fff; in ati_mm_write()
852 s->regs.dst_y = (data >> 16) & 0x3fff; in ati_mm_write()
875 s->regs.dst_y = data & 0x3fff; in ati_mm_write()
884 s->regs.dst_y = data & 0x3fff; in ati_mm_write()
/openbmc/linux/drivers/video/fbdev/sis/
H A Dsis_accel.c105 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument
113 if(dst_y >= 2048) { in SiS300SubsequentScreenToScreenCopy()
114 dstbase = ivideo->video_linelength * dst_y; in SiS300SubsequentScreenToScreenCopy()
115 dst_y = 0; in SiS300SubsequentScreenToScreenCopy()
127 dst_y += height-1; in SiS300SubsequentScreenToScreenCopy()
131 SiS300SetupDSTXY(dst_x, dst_y) in SiS300SubsequentScreenToScreenCopy()
192 int dst_x, int dst_y, int width, int height) 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 …]
/openbmc/linux/drivers/video/fbdev/via/
H A Daccel.c40 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_1() argument
58 if (src_y < dst_y) { in hw_bitblt_1()
61 dst_y += height - 1; in hw_bitblt_1()
94 if (dst_x & 0xFFFFF000 || dst_y & 0xFFFFF000) { in hw_bitblt_1()
96 "%d %d\n", dst_x, dst_y); in hw_bitblt_1()
99 tmp = dst_x | (dst_y << 16); in hw_bitblt_1()
173 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_2() argument
191 if (src_y < dst_y) { in hw_bitblt_2()
194 dst_y += height - 1; in hw_bitblt_2()
236 if (dst_x & 0xFFFFF000 || dst_y & 0xFFFFF000) { in hw_bitblt_2()
[all …]
H A Dviafbdev.h53 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y,
/openbmc/u-boot/drivers/video/
H A Dmb862xx.c447 unsigned int dst_y, unsigned int dim_x, in video_hw_rectfill() argument
455 DE_WR_FIFO ((dst_y << 16) | dst_x); in video_hw_rectfill()
462 unsigned int dst_y, unsigned int width, in video_hw_bitblt() argument
468 if (src_x >= dst_x && src_y >= dst_y) in video_hw_bitblt()
470 else if (src_x >= dst_x && src_y <= dst_y) in video_hw_bitblt()
472 else if (src_x <= dst_x && src_y >= dst_y) in video_hw_bitblt()
480 DE_WR_FIFO ((dst_y << 16) | dst_x); in video_hw_bitblt()
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_cursor.c195 int dst_x, dst_y, dst_w, dst_h; in sti_cursor_atomic_check() local
208 dst_y = new_plane_state->crtc_y; in sti_cursor_atomic_check()
212 mode->crtc_vdisplay - dst_y); in sti_cursor_atomic_check()
257 DRM_DEBUG_KMS("(%dx%d)@(%d,%d)\n", dst_w, dst_h, dst_x, dst_y); in sti_cursor_atomic_check()
272 int dst_x, dst_y; in sti_cursor_atomic_update() local
282 dst_y = newstate->crtc_y; in sti_cursor_atomic_update()
304 y = sti_vtg_get_line_number(*mode, dst_y); in sti_cursor_atomic_update()
H A Dsti_vid.c145 int dst_y = state->crtc_y; in sti_vid_commit() local
147 int dst_h = clamp_val(state->crtc_h, 0, mode->vdisplay - dst_y); in sti_vid_commit()
161 ydo = sti_vtg_get_line_number(*mode, dst_y); in sti_vid_commit()
162 yds = sti_vtg_get_line_number(*mode, dst_y + dst_h - 1); in sti_vid_commit()
H A Dsti_gdp.c631 int dst_x, dst_y, dst_w, dst_h; in sti_gdp_atomic_check() local
646 dst_y = new_plane_state->crtc_y; in sti_gdp_atomic_check()
648 dst_h = clamp_val(new_plane_state->crtc_h, 0, mode->vdisplay - dst_y); in sti_gdp_atomic_check()
700 dst_w, dst_h, dst_x, dst_y, in sti_gdp_atomic_check()
718 int dst_x, dst_y, dst_w, dst_h; in sti_gdp_atomic_update() local
760 dst_y = newstate->crtc_y; in sti_gdp_atomic_update()
762 dst_h = clamp_val(newstate->crtc_h, 0, mode->vdisplay - dst_y); in sti_gdp_atomic_update()
799 ydo = sti_vtg_get_line_number(*mode, dst_y); in sti_gdp_atomic_update()
800 yds = sti_vtg_get_line_number(*mode, dst_y + dst_h - 1); in sti_gdp_atomic_update()
H A Dsti_hqvdp.c1032 int dst_x, dst_y, dst_w, dst_h; in sti_hqvdp_atomic_check() local
1045 dst_y = new_plane_state->crtc_y; in sti_hqvdp_atomic_check()
1047 dst_h = clamp_val(new_plane_state->crtc_h, 0, mode->vdisplay - dst_y); in sti_hqvdp_atomic_check()
1110 dst_w, dst_h, dst_x, dst_y, in sti_hqvdp_atomic_check()
1128 int dst_x, dst_y, dst_w, dst_h; in sti_hqvdp_atomic_update() local
1155 dst_y = newstate->crtc_y; in sti_hqvdp_atomic_update()
1157 dst_h = clamp_val(newstate->crtc_h, 0, mode->vdisplay - dst_y); in sti_hqvdp_atomic_update()
/openbmc/u-boot/include/
H A Dvideo_fb.h67 unsigned int dst_y, /* dest pos y */
77 unsigned int dst_y, /* dest pos y */
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-yuv.c396 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical()
525 if (f->dst_y < 0) in ivtv_yuv_handle_vertical()
526 reg_289c = (reg_289c - ((f->dst_y & ~1)<<15))-(f->dst_y >>1); in ivtv_yuv_handle_vertical()
528 reg_289c = (reg_289c + ((f->dst_y & ~1)<<15))+(f->dst_y >>1); in ivtv_yuv_handle_vertical()
703 if ((osd_crop = f->pan_y - f->dst_y) > 0) { in ivtv_yuv_window_setup()
708 f->dst_y = 0; in ivtv_yuv_window_setup()
710 f->dst_y -= f->pan_y; in ivtv_yuv_window_setup()
713 if ((osd_crop = f->dst_h + f->dst_y - f->vis_h) > 0) { in ivtv_yuv_window_setup()
740 f->dst_y += itv->yuv_info.osd_y_offset; in ivtv_yuv_window_setup()
755 f->dst_y &= ~1; in ivtv_yuv_window_setup()
[all …]
H A Divtv-driver.h399 s32 dst_y; member
/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga-hw.c166 unsigned int src_h, src_w, src_x, src_y, dst_h, dst_w, dst_x, dst_y; in rga_cmd_set_trans_info() local
187 dst_y = ctx->out.crop.top; in rga_cmd_set_trans_info()
324 offsets = rga_get_addr_offset(&ctx->out, dst_x, dst_y, dst_w, dst_h); in rga_cmd_set_trans_info()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_overlay.c836 iowrite32(params->dst_y << 16 | params->dst_x, &regs->DWINPOS); in intel_overlay_do_put_image()
969 drm_rect_init(&req, rec->dst_x, rec->dst_y, in check_overlay_dst()
1182 params->dst_y = (((u32)params->dst_y << 12) / in intel_overlay_put_image_ioctl()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_trace.h396 __field(int, dst_y)
428 __entry->dst_y = plane_state->dst_rect.y;
462 __entry->dst_y,
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dsprd_dpu.c331 u32 dst_y = state->crtc_y; in sprd_dpu_layer() local
336 offset = (dst_x & 0xffff) | (dst_y << 16); in sprd_dpu_layer()
/openbmc/linux/include/video/
H A Dsticore.h403 int dst_y, int dst_x, int height, int width,
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c58 s32 dst_x, dst_y; member
997 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit()
1134 sdirty.dst_y = dest_y; in vmw_kms_sou_do_surface_dirty()
/openbmc/linux/drivers/video/
H A Dsticore.c268 int dst_y, int dst_x, int height, int width, in sti_bmove() argument
276 .dest_y = dst_y * font->height, in sti_bmove()
/openbmc/linux/include/uapi/drm/
H A Di915_drm.h1870 __u16 dst_y; member
/openbmc/linux/tools/include/uapi/drm/
H A Di915_drm.h1870 __u16 dst_y; member