Home
last modified time | relevance | path

Searched refs:vbox_crtc (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_mode.c39 struct vbox_crtc *vbox_crtc = to_vbox_crtc(crtc); in vbox_do_modeset() local
46 width = vbox_crtc->width ? vbox_crtc->width : 640; in vbox_do_modeset()
47 height = vbox_crtc->height ? vbox_crtc->height : 480; in vbox_do_modeset()
50 x_offset = vbox->single_framebuffer ? vbox_crtc->x : vbox_crtc->x_hint; in vbox_do_modeset()
51 y_offset = vbox->single_framebuffer ? vbox_crtc->y : vbox_crtc->y_hint; in vbox_do_modeset()
59 if (vbox_crtc->crtc_id == 0 && fb && in vbox_do_modeset()
60 vbox_crtc->fb_offset / pitch < 0xffff - crtc->y && in vbox_do_modeset()
61 vbox_crtc->fb_offset % (bpp / 8) == 0) { in vbox_do_modeset()
68 vbox_crtc->fb_offset % pitch / bpp * 8 + vbox_crtc->x); in vbox_do_modeset()
70 vbox_crtc->fb_offset / pitch + vbox_crtc->y); in vbox_do_modeset()
[all …]
H A Dvbox_drv.h84 struct vbox_crtc *vbox_crtc; member
92 struct vbox_crtc { struct
126 #define to_vbox_crtc(x) container_of(x, struct vbox_crtc, base) argument