Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c33 struct vbox_crtc *vbox_crtc = to_vbox_crtc(crtc); in vbox_do_modeset() local
40 width = vbox_crtc->width ? vbox_crtc->width : 640; in vbox_do_modeset()
41 height = vbox_crtc->height ? vbox_crtc->height : 480; in vbox_do_modeset()
44 x_offset = vbox->single_framebuffer ? vbox_crtc->x : vbox_crtc->x_hint; in vbox_do_modeset()
45 y_offset = vbox->single_framebuffer ? vbox_crtc->y : vbox_crtc->y_hint; in vbox_do_modeset()
53 if (vbox_crtc->crtc_id == 0 && fb && in vbox_do_modeset()
54 vbox_crtc->fb_offset / pitch < 0xffff - crtc->y && in vbox_do_modeset()
55 vbox_crtc->fb_offset % (bpp / 8) == 0) { in vbox_do_modeset()
62 vbox_crtc->fb_offset % pitch / bpp * 8 + vbox_crtc->x); in vbox_do_modeset()
64 vbox_crtc->fb_offset / pitch + vbox_crtc->y); in vbox_do_modeset()
[all …]
Dvbox_irq.c132 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints()
137 crtc_id = vbox_conn->vbox_crtc->crtc_id; in vbox_update_mode_hints()
140 vbox_conn->vbox_crtc->x_hint = hints->dx; in vbox_update_mode_hints()
141 vbox_conn->vbox_crtc->y_hint = hints->dy; in vbox_update_mode_hints()
144 if (vbox_conn->vbox_crtc->disconnected == disconnected) in vbox_update_mode_hints()
156 vbox_conn->vbox_crtc->disconnected = disconnected; in vbox_update_mode_hints()
Dvbox_drv.h85 struct vbox_crtc *vbox_crtc; member
93 struct vbox_crtc { struct
127 #define to_vbox_crtc(x) container_of(x, struct vbox_crtc, base) argument