Home
last modified time | relevance | path

Searched refs:vbox (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/staging/vboxvideo/
Dvbox_main.c49 void vbox_enable_accel(struct vbox_private *vbox) in vbox_enable_accel() argument
54 if (!vbox->vbva_info || !vbox->vbva_buffers) { in vbox_enable_accel()
60 for (i = 0; i < vbox->num_crtcs; ++i) { in vbox_enable_accel()
61 if (vbox->vbva_info[i].vbva) in vbox_enable_accel()
64 vbva = (void __force *)vbox->vbva_buffers + in vbox_enable_accel()
66 if (!vbva_enable(&vbox->vbva_info[i], in vbox_enable_accel()
67 vbox->guest_pool, vbva, i)) { in vbox_enable_accel()
75 void vbox_disable_accel(struct vbox_private *vbox) in vbox_disable_accel() argument
79 for (i = 0; i < vbox->num_crtcs; ++i) in vbox_disable_accel()
80 vbva_disable(&vbox->vbva_info[i], vbox->guest_pool, i); in vbox_disable_accel()
[all …]
Dvbox_irq.c40 static u32 vbox_get_flags(struct vbox_private *vbox) in vbox_get_flags() argument
42 return readl(vbox->guest_heap + HOST_FLAGS_OFFSET); in vbox_get_flags()
45 void vbox_report_hotplug(struct vbox_private *vbox) in vbox_report_hotplug() argument
47 schedule_work(&vbox->hotplug_work); in vbox_report_hotplug()
53 struct vbox_private *vbox = (struct vbox_private *)dev->dev_private; in vbox_irq_handler() local
54 u32 host_flags = vbox_get_flags(vbox); in vbox_irq_handler()
68 vbox_report_hotplug(vbox); in vbox_irq_handler()
81 static void validate_or_set_position_hints(struct vbox_private *vbox) in validate_or_set_position_hints() argument
88 for (i = 0; i < vbox->num_crtcs; ++i) { in validate_or_set_position_hints()
90 hintsi = &vbox->last_mode_hints[i]; in validate_or_set_position_hints()
[all …]
Dvbox_mode.c55 struct vbox_private *vbox; in vbox_do_modeset() local
60 vbox = crtc->dev->dev_private; in vbox_do_modeset()
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()
94 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset()
104 struct vbox_private *vbox = crtc->dev->dev_private; in vbox_set_view() local
118 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view()
125 p->view_size = vbox->available_vram_size - vbox_crtc->fb_offset + in vbox_set_view()
127 p->max_screen_size = vbox->available_vram_size - vbox_crtc->fb_offset; in vbox_set_view()
129 hgsmi_buffer_submit(vbox->guest_pool, p); in vbox_set_view()
[all …]
Dvbox_ttm.c51 static int vbox_ttm_global_init(struct vbox_private *vbox) in vbox_ttm_global_init() argument
56 global_ref = &vbox->ttm.mem_global_ref; in vbox_ttm_global_init()
67 vbox->ttm.bo_global_ref.mem_glob = vbox->ttm.mem_global_ref.object; in vbox_ttm_global_init()
68 global_ref = &vbox->ttm.bo_global_ref.ref; in vbox_ttm_global_init()
77 drm_global_item_unref(&vbox->ttm.mem_global_ref); in vbox_ttm_global_init()
87 static void vbox_ttm_global_release(struct vbox_private *vbox) in vbox_ttm_global_release() argument
89 drm_global_item_unref(&vbox->ttm.bo_global_ref.ref); in vbox_ttm_global_release()
90 drm_global_item_unref(&vbox->ttm.mem_global_ref); in vbox_ttm_global_release()
157 struct vbox_private *vbox = vbox_bdev(bdev); in vbox_ttm_io_mem_reserve() local
172 mem->bus.base = pci_resource_start(vbox->dev->pdev, 0); in vbox_ttm_io_mem_reserve()
[all …]
Dvbox_drv.c101 struct vbox_private *vbox = dev->dev_private; in vbox_drm_freeze() local
107 drm_fb_helper_set_suspend_unlocked(&vbox->fbdev->helper, true); in vbox_drm_freeze()
114 struct vbox_private *vbox = dev->dev_private; in vbox_drm_thaw() local
118 drm_fb_helper_set_suspend_unlocked(&vbox->fbdev->helper, false); in vbox_drm_thaw()
220 struct vbox_private *vbox = dev->dev_private; in vbox_master_set() local
227 vbox->initial_mode_queried = false; in vbox_master_set()
229 mutex_lock(&vbox->hw_mutex); in vbox_master_set()
241 vbox_disable_accel(vbox); in vbox_master_set()
242 mutex_unlock(&vbox->hw_mutex); in vbox_master_set()
249 struct vbox_private *vbox = dev->dev_private; in vbox_master_drop() local
[all …]
Dvbox_drv.h68 #define GUEST_HEAP_OFFSET(vbox) ((vbox)->full_vram_size - \ argument
186 void vbox_enable_accel(struct vbox_private *vbox);
187 void vbox_disable_accel(struct vbox_private *vbox);
188 void vbox_report_caps(struct vbox_private *vbox);
201 void vbox_fbdev_set_base(struct vbox_private *vbox, unsigned long gpu_addr);
232 int vbox_mm_init(struct vbox_private *vbox);
233 void vbox_mm_fini(struct vbox_private *vbox);
279 int vbox_irq_init(struct vbox_private *vbox);
280 void vbox_irq_fini(struct vbox_private *vbox);
281 void vbox_report_hotplug(struct vbox_private *vbox);
Dvbox_fb.c194 struct vbox_private *vbox = dev->dev_private; in vbox_fbdev_fini() local
195 struct vbox_fbdev *fbdev = vbox->fbdev; in vbox_fbdev_fini()
230 struct vbox_private *vbox = dev->dev_private; in vbox_fbdev_init() local
238 vbox->fbdev = fbdev; in vbox_fbdev_init()
242 ret = drm_fb_helper_init(dev, &fbdev->helper, vbox->num_crtcs); in vbox_fbdev_init()
264 void vbox_fbdev_set_base(struct vbox_private *vbox, unsigned long gpu_addr) in vbox_fbdev_set_base() argument
266 struct fb_info *fbdev = vbox->fbdev->helper.fbdev; in vbox_fbdev_set_base()
269 fbdev->fix.smem_len = vbox->available_vram_size - gpu_addr; in vbox_fbdev_set_base()
/Linux-v4.19/tools/perf/ui/gtk/
Dprogress.c17 GtkWidget *vbox = gtk_vbox_new(TRUE, 5); in gtk_ui_progress__update() local
23 gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, FALSE, 3); in gtk_ui_progress__update()
24 gtk_box_pack_start(GTK_BOX(vbox), progress, TRUE, TRUE, 3); in gtk_ui_progress__update()
26 gtk_container_add(GTK_CONTAINER(dialog), vbox); in gtk_ui_progress__update()
Dannotate.c186 GtkWidget *vbox; in symbol__gtk_annotate() local
205 vbox = gtk_vbox_new(FALSE, 0); in symbol__gtk_annotate()
209 gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); in symbol__gtk_annotate()
213 gtk_box_pack_start(GTK_BOX(vbox), infobar, in symbol__gtk_annotate()
218 gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0); in symbol__gtk_annotate()
220 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate()
Dhists.c597 GtkWidget *vbox; in perf_evlist__gtk_browse_hists() local
619 vbox = gtk_vbox_new(FALSE, 0); in perf_evlist__gtk_browse_hists()
623 gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); in perf_evlist__gtk_browse_hists()
627 gtk_box_pack_start(GTK_BOX(vbox), info_bar, FALSE, FALSE, 0); in perf_evlist__gtk_browse_hists()
630 gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0); in perf_evlist__gtk_browse_hists()
632 gtk_container_add(GTK_CONTAINER(window), vbox); in perf_evlist__gtk_browse_hists()
/Linux-v4.19/Documentation/isdn/
DCREDITS25 For contribution of the vbox answering machine.
/Linux-v4.19/scripts/kconfig/
Dgconf.c440 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label); in on_window1_delete_event()
/Linux-v4.19/Documentation/cdrom/
Dcdrom-standard.tex774 \vbox{\halign{&$#$\hfil\cr
/Linux-v4.19/
DMAINTAINERS15622 F: include/uapi/linux/vbox*.h