Home
last modified time | relevance | path

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

/openbmc/qemu/hw/display/
H A Dati_2d.c57 unsigned dst_x = (s->regs.dp_cntl & DST_X_LEFT_TO_RIGHT ? in ati_2d_blt() local
58 s->regs.dst_x : s->regs.dst_x + 1 - s->regs.dst_width); in ati_2d_blt()
79 if (dst_x > 0x3fff || dst_y > 0x3fff || dst_bits >= end in ati_2d_blt()
80 || dst_bits + dst_x 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()
147 0, 0, dst_x, dst_y, in ati_2d_blt()
162 i = dst_x * bypp; in ati_2d_blt()
183 dst_x + s->regs.dst_width : dst_x); in ati_2d_blt()
210 dst_bits, dst_stride, bpp, dst_x, dst_y, in ati_2d_blt()
[all …]
H A Dsm501.c694 unsigned int dst_x = (s->twoD_destination >> 16) & 0x01FFF; in sm501_2d_operation() local
725 dst_x -= width - 1; 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()
826 overlap = (src_x < dst_x + width && src_x + width > dst_x && in sm501_2d_operation()
882 i = (dst_x + i) * bypp; in sm501_2d_operation()
910 dst_x, dst_y, width, height, color)) in sm501_2d_operation()
917 i = (dst_x + (dst_y + y) * dst_pitch) * bypp; in sm501_2d_operation()
[all …]
H A Dati_int.h70 uint32_t dst_x; member
H A Dati.c456 val = s->regs.dst_x; in ati_mm_read()
819 s->regs.dst_x = data & 0x3fff; in ati_mm_write()
851 s->regs.dst_x = data & 0x3fff; in ati_mm_write()
866 s->regs.dst_x = data & 0x3fff; in ati_mm_write()
876 s->regs.dst_x = (data >> 16) & 0x3fff; in ati_mm_write()
/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
53 if (src_x < dst_x) { in hw_bitblt_1()
56 dst_x += width - 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()
186 if (src_x < dst_x) { in hw_bitblt_2()
189 dst_x += width - 1; in hw_bitblt_2()
236 if (dst_x & 0xFFFFF000 || dst_y & 0xFFFFF000) { in hw_bitblt_2()
238 "%d %d\n", dst_x, dst_y); 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.c446 void video_hw_rectfill (unsigned int bpp, unsigned int dst_x, in video_hw_rectfill() argument
455 DE_WR_FIFO ((dst_y << 16) | dst_x); in video_hw_rectfill()
461 unsigned int src_y, unsigned int dst_x, 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/u-boot/include/
H A Dvideo_fb.h66 unsigned int dst_x, /* dest pos x */
76 unsigned int dst_x, /* dest pos x */
/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
204 dst_x = new_plane_state->crtc_x; in sti_cursor_atomic_check()
207 mode->crtc_hdisplay - dst_x); in sti_cursor_atomic_check()
254 DRM_DEBUG_KMS("(%dx%d)@(%d,%d)\n", dst_w, dst_h, dst_x, dst_y); in sti_cursor_atomic_check()
269 int dst_x, dst_y; in sti_cursor_atomic_update() local
278 dst_x = newstate->crtc_x; in sti_cursor_atomic_update()
302 x = sti_vtg_get_pixel_number(*mode, dst_x); in sti_cursor_atomic_update()
H A Dsti_vid.c144 int dst_x = state->crtc_x; in sti_vid_commit() local
146 int dst_w = clamp_val(state->crtc_w, 0, mode->hdisplay - dst_x); in sti_vid_commit()
163 xdo = sti_vtg_get_pixel_number(*mode, dst_x); in sti_vid_commit()
164 xds = sti_vtg_get_pixel_number(*mode, dst_x + dst_w - 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
642 dst_x = new_plane_state->crtc_x; in sti_gdp_atomic_check()
644 dst_w = clamp_val(new_plane_state->crtc_w, 0, mode->hdisplay - dst_x); in sti_gdp_atomic_check()
697 dst_w, dst_h, dst_x, dst_y, in sti_gdp_atomic_check()
715 int dst_x, dst_y, dst_w, dst_h; in sti_gdp_atomic_update() local
756 dst_x = newstate->crtc_x; in sti_gdp_atomic_update()
758 dst_w = clamp_val(newstate->crtc_w, 0, mode->hdisplay - dst_x); in sti_gdp_atomic_update()
798 xdo = sti_vtg_get_pixel_number(*mode, dst_x); in sti_gdp_atomic_update()
799 xds = sti_vtg_get_pixel_number(*mode, dst_x + dst_w - 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
1041 dst_x = new_plane_state->crtc_x; in sti_hqvdp_atomic_check()
1043 dst_w = clamp_val(new_plane_state->crtc_w, 0, mode->hdisplay - dst_x); in sti_hqvdp_atomic_check()
1107 dst_w, dst_h, dst_x, dst_y, in sti_hqvdp_atomic_check()
1125 int dst_x, dst_y, dst_w, dst_h; in sti_hqvdp_atomic_update() local
1151 dst_x = newstate->crtc_x; in sti_hqvdp_atomic_update()
1153 dst_w = clamp_val(newstate->crtc_w, 0, mode->hdisplay - dst_x); in sti_hqvdp_atomic_update()
/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
123 dst_x += width-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
233 SiS310SetupDSTXY(dst_x, dst_y) in SiS310SubsequentScreenToScreenCopy()
/openbmc/linux/drivers/video/fbdev/
H A Defifb.c152 u32 bmp_width, bmp_height, bmp_pitch, dst_x, y, src_y; in efifb_show_boot_graphics() local
234 dst_x = bgrt_tab.image_offset_x; in efifb_show_boot_graphics()
237 (u32 *)dst + dst_x, bmp_width, si); in efifb_show_boot_graphics()
238 dst_x += bmp_width; in efifb_show_boot_graphics()
239 memset((u32 *)dst + dst_x, 0, (si->lfb_width - dst_x) * 4); in efifb_show_boot_graphics()
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-yuv.c224 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal()
234 reg_2890 = f->dst_x; in ivtv_yuv_handle_horizontal()
715 if ((osd_crop = f->pan_x - f->dst_x) > 0) { in ivtv_yuv_window_setup()
720 f->dst_x = 0; in ivtv_yuv_window_setup()
722 f->dst_x -= f->pan_x; in ivtv_yuv_window_setup()
725 if ((osd_crop = f->dst_w + f->dst_x - f->vis_w) > 0) { in ivtv_yuv_window_setup()
733 f->dst_x += itv->yuv_info.osd_x_offset; in ivtv_yuv_window_setup()
740 f->dst_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()
979 nf->dst_x = args->dst.left; in ivtv_yuv_setup_frame()
H A Divtv-driver.h398 s32 dst_x; 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
186 dst_x = ctx->out.crop.left; 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/amd/display/amdgpu_dm/
H A Damdgpu_dm_trace.h395 __field(int, dst_x)
427 __entry->dst_x = plane_state->dst_rect.x;
461 __entry->dst_x,
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dsprd_dpu.c330 u32 dst_x = state->crtc_x; 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
996 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit()
1133 sdirty.dst_x = dest_x; 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
275 .dest_x = dst_x * font->width, in sti_bmove()
/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()
/openbmc/linux/tools/include/uapi/drm/
H A Di915_drm.h1869 __u16 dst_x; member
/openbmc/linux/include/uapi/drm/
H A Di915_drm.h1869 __u16 dst_x; member