Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c36 struct vbox_crtc *vbox_crtc = to_vbox_crtc(crtc); in vbox_do_modeset() local
43 width = vbox_crtc->width ? vbox_crtc->width : 640; in vbox_do_modeset()
44 height = vbox_crtc->height ? vbox_crtc->height : 480; in vbox_do_modeset()
47 x_offset = vbox->single_framebuffer ? vbox_crtc->x : vbox_crtc->x_hint; in vbox_do_modeset()
48 y_offset = vbox->single_framebuffer ? vbox_crtc->y : vbox_crtc->y_hint; in vbox_do_modeset()
56 if (vbox_crtc->crtc_id == 0 && fb && in vbox_do_modeset()
57 vbox_crtc->fb_offset / pitch < 0xffff - crtc->y && in vbox_do_modeset()
58 vbox_crtc->fb_offset % (bpp / 8) == 0) { in vbox_do_modeset()
65 vbox_crtc->fb_offset % pitch / bpp * 8 + vbox_crtc->x); in vbox_do_modeset()
67 vbox_crtc->fb_offset / pitch + vbox_crtc->y); in vbox_do_modeset()
[all …]
Dvbox_irq.c133 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints()
138 crtc_id = vbox_conn->vbox_crtc->crtc_id; in vbox_update_mode_hints()
141 vbox_conn->vbox_crtc->x_hint = hints->dx; in vbox_update_mode_hints()
142 vbox_conn->vbox_crtc->y_hint = hints->dy; in vbox_update_mode_hints()
145 if (vbox_conn->vbox_crtc->disconnected == disconnected) in vbox_update_mode_hints()
157 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