Home
last modified time | relevance | path

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

/drivers/staging/vboxvideo/
Dvbox_mode.c54 struct vbox_crtc *vbox_crtc = to_vbox_crtc(crtc); in vbox_do_modeset() local
65 x_offset = vbox->single_framebuffer ? crtc->x : vbox_crtc->x_hint; in vbox_do_modeset()
66 y_offset = vbox->single_framebuffer ? crtc->y : vbox_crtc->y_hint; in vbox_do_modeset()
74 if (vbox_crtc->crtc_id == 0 && crtc->enabled && in vbox_do_modeset()
75 vbox_crtc->fb_offset / pitch < 0xffff - crtc->y && in vbox_do_modeset()
76 vbox_crtc->fb_offset % (bpp / 8) == 0) { in vbox_do_modeset()
85 vbox_crtc->fb_offset % pitch / bpp * 8 + crtc->x); in vbox_do_modeset()
87 vbox_crtc->fb_offset / pitch + crtc->y); in vbox_do_modeset()
91 flags |= (crtc->enabled && !vbox_crtc->blanked) ? in vbox_do_modeset()
93 flags |= vbox_crtc->disconnected ? VBVA_SCREEN_F_DISABLED : 0; in vbox_do_modeset()
[all …]
Dvbox_irq.c147 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints()
152 crtc_id = vbox_conn->vbox_crtc->crtc_id; in vbox_update_mode_hints()
155 vbox_conn->vbox_crtc->x_hint = hints->dx; in vbox_update_mode_hints()
156 vbox_conn->vbox_crtc->y_hint = hints->dy; in vbox_update_mode_hints()
159 if (vbox_conn->vbox_crtc->disconnected == disconnected) in vbox_update_mode_hints()
171 vbox_conn->vbox_crtc->disconnected = disconnected; in vbox_update_mode_hints()
Dvbox_drv.h138 struct vbox_crtc *vbox_crtc; member
146 struct vbox_crtc { struct
175 #define to_vbox_crtc(x) container_of(x, struct vbox_crtc, base) argument