/Linux-v5.4/drivers/gpu/drm/vboxvideo/ |
D | vbox_main.c | 30 void vbox_report_caps(struct vbox_private *vbox) in vbox_report_caps() argument 36 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps() 38 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps() 46 struct vbox_private *vbox = fb->dev->dev_private; in vbox_framebuffer_dirty_rectangles() local 52 mutex_lock(&vbox->hw_mutex); in vbox_framebuffer_dirty_rectangles() 76 if (!vbva_buffer_begin_update(&vbox->vbva_info[crtc_id], in vbox_framebuffer_dirty_rectangles() 77 vbox->guest_pool)) in vbox_framebuffer_dirty_rectangles() 80 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_framebuffer_dirty_rectangles() 82 vbva_buffer_end_update(&vbox->vbva_info[crtc_id]); in vbox_framebuffer_dirty_rectangles() 85 mutex_unlock(&vbox->hw_mutex); in vbox_framebuffer_dirty_rectangles() [all …]
|
D | vbox_drv.c | 41 struct vbox_private *vbox; in vbox_pci_probe() local 47 vbox = kzalloc(sizeof(*vbox), GFP_KERNEL); in vbox_pci_probe() 48 if (!vbox) in vbox_pci_probe() 51 ret = drm_dev_init(&vbox->ddev, &driver, &pdev->dev); in vbox_pci_probe() 53 kfree(vbox); in vbox_pci_probe() 57 vbox->ddev.pdev = pdev; in vbox_pci_probe() 58 vbox->ddev.dev_private = vbox; in vbox_pci_probe() 59 pci_set_drvdata(pdev, vbox); in vbox_pci_probe() 60 mutex_init(&vbox->hw_mutex); in vbox_pci_probe() 66 ret = vbox_hw_init(vbox); in vbox_pci_probe() [all …]
|
D | vbox_irq.c | 24 static u32 vbox_get_flags(struct vbox_private *vbox) in vbox_get_flags() argument 26 return readl(vbox->guest_heap + HOST_FLAGS_OFFSET); in vbox_get_flags() 29 void vbox_report_hotplug(struct vbox_private *vbox) in vbox_report_hotplug() argument 31 schedule_work(&vbox->hotplug_work); in vbox_report_hotplug() 37 struct vbox_private *vbox = (struct vbox_private *)dev->dev_private; in vbox_irq_handler() local 38 u32 host_flags = vbox_get_flags(vbox); in vbox_irq_handler() 52 vbox_report_hotplug(vbox); in vbox_irq_handler() 65 static void validate_or_set_position_hints(struct vbox_private *vbox) in validate_or_set_position_hints() argument 72 for (i = 0; i < vbox->num_crtcs; ++i) { in validate_or_set_position_hints() 74 hintsi = &vbox->last_mode_hints[i]; in validate_or_set_position_hints() [all …]
|
D | vbox_mode.c | 33 struct vbox_private *vbox; in vbox_do_modeset() local 38 vbox = crtc->dev->dev_private; in vbox_do_modeset() 43 x_offset = vbox->single_framebuffer ? vbox_crtc->x : vbox_crtc->x_hint; in vbox_do_modeset() 44 y_offset = vbox->single_framebuffer ? vbox_crtc->y : vbox_crtc->y_hint; in vbox_do_modeset() 69 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset() 79 struct vbox_private *vbox = crtc->dev->dev_private; in vbox_set_view() local 93 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view() 100 p->view_size = vbox->available_vram_size - vbox_crtc->fb_offset + in vbox_set_view() 102 p->max_screen_size = vbox->available_vram_size - vbox_crtc->fb_offset; in vbox_set_view() 104 hgsmi_buffer_submit(vbox->guest_pool, p); in vbox_set_view() [all …]
|
D | vbox_ttm.c | 13 int vbox_mm_init(struct vbox_private *vbox) in vbox_mm_init() argument 17 struct drm_device *dev = &vbox->ddev; in vbox_mm_init() 20 vbox->available_vram_size, in vbox_mm_init() 29 vbox->fb_mtrr = drm_mtrr_add(pci_resource_start(dev->pdev, 0), in vbox_mm_init() 33 vbox->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0), in vbox_mm_init() 39 void vbox_mm_fini(struct vbox_private *vbox) in vbox_mm_fini() argument 42 drm_mtrr_del(vbox->fb_mtrr, in vbox_mm_fini() 43 pci_resource_start(vbox->ddev.pdev, 0), in vbox_mm_fini() 44 pci_resource_len(vbox->ddev.pdev, 0), DRM_MTRR_WC); in vbox_mm_fini() 46 arch_phys_wc_del(vbox->fb_mtrr); in vbox_mm_fini() [all …]
|
D | vbox_drv.h | 44 #define GUEST_HEAP_OFFSET(vbox) ((vbox)->full_vram_size - \ argument 143 int vbox_hw_init(struct vbox_private *vbox); 144 void vbox_hw_fini(struct vbox_private *vbox); 146 int vbox_mode_init(struct vbox_private *vbox); 147 void vbox_mode_fini(struct vbox_private *vbox); 149 void vbox_report_caps(struct vbox_private *vbox); 155 int vbox_framebuffer_init(struct vbox_private *vbox, 162 void vbox_fbdev_fini(struct vbox_private *vbox); 164 int vbox_mm_init(struct vbox_private *vbox); 165 void vbox_mm_fini(struct vbox_private *vbox); [all …]
|
D | vbox_fb.c | 47 struct vbox_private *vbox = in vboxfb_create() local 49 struct pci_dev *pdev = vbox->ddev.pdev; in vboxfb_create() 68 ret = vbox_gem_create(vbox, size, true, &gobj); in vboxfb_create() 74 ret = vbox_framebuffer_init(vbox, &vbox->afb, &mode_cmd, gobj); in vboxfb_create() 93 fb = &vbox->afb.base; in vboxfb_create() 111 info->fix.smem_len = vbox->available_vram_size - gpu_addr; in vboxfb_create() 125 void vbox_fbdev_fini(struct vbox_private *vbox) in vbox_fbdev_fini() argument 127 struct vbox_framebuffer *afb = &vbox->afb; in vbox_fbdev_fini() 130 if (vbox->fb_helper.fbdev && vbox->fb_helper.fbdev->fbdefio) in vbox_fbdev_fini() 131 fb_deferred_io_cleanup(vbox->fb_helper.fbdev); in vbox_fbdev_fini() [all …]
|
/Linux-v5.4/tools/perf/ui/gtk/ |
D | progress.c | 16 GtkWidget *vbox = gtk_vbox_new(TRUE, 5); in gtk_ui_progress__update() local 22 gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, FALSE, 3); in gtk_ui_progress__update() 23 gtk_box_pack_start(GTK_BOX(vbox), progress, TRUE, TRUE, 3); in gtk_ui_progress__update() 25 gtk_container_add(GTK_CONTAINER(dialog), vbox); in gtk_ui_progress__update()
|
D | annotate.c | 190 GtkWidget *vbox; in symbol__gtk_annotate() local 209 vbox = gtk_vbox_new(FALSE, 0); in symbol__gtk_annotate() 213 gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); in symbol__gtk_annotate() 217 gtk_box_pack_start(GTK_BOX(vbox), infobar, in symbol__gtk_annotate() 222 gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0); in symbol__gtk_annotate() 224 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate()
|
D | hists.c | 599 GtkWidget *vbox; in perf_evlist__gtk_browse_hists() local 621 vbox = gtk_vbox_new(FALSE, 0); in perf_evlist__gtk_browse_hists() 625 gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); in perf_evlist__gtk_browse_hists() 629 gtk_box_pack_start(GTK_BOX(vbox), info_bar, FALSE, FALSE, 0); in perf_evlist__gtk_browse_hists() 632 gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0); in perf_evlist__gtk_browse_hists() 634 gtk_container_add(GTK_CONTAINER(window), vbox); in perf_evlist__gtk_browse_hists()
|
/Linux-v5.4/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 979 self.vbox = QWidget() 980 self.vbox.setLayout(QVBoxLayout()) 982 self.vbox.layout().setContentsMargins(0, 0, 0, 0) 984 self.vbox.layout().addWidget(w1) 985 self.vbox.layout().addWidget(w2) 987 self.vbox.layout().addWidget(w3) 990 return self.vbox 1056 self.vbox = VBox(self.view, self.find_bar.Widget()) 1058 self.setWidget(self.vbox.Widget()) 1078 self.vbox = VBox(self.view, self.find_bar.Widget()) [all …]
|
/Linux-v5.4/Documentation/isdn/ |
D | credits.rst | 29 For contribution of the vbox answering machine.
|
/Linux-v5.4/scripts/kconfig/ |
D | gconf.c | 438 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label); in on_window1_delete_event()
|
/Linux-v5.4/ |
D | MAINTAINERS | 17341 F: include/uapi/linux/vbox*.h
|