Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/vboxvideo/
Dvbox_main.c20 void vbox_report_caps(struct vbox_private *vbox) in vbox_report_caps() argument
26 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps()
28 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps()
31 static int vbox_accel_init(struct vbox_private *vbox) in vbox_accel_init() argument
36 vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_accel_init()
37 sizeof(*vbox->vbva_info), GFP_KERNEL); in vbox_accel_init()
38 if (!vbox->vbva_info) in vbox_accel_init()
42 vbox->available_vram_size -= vbox->num_crtcs * VBVA_MIN_BUFFER_SIZE; in vbox_accel_init()
44 vbox->vbva_buffers = pci_iomap_range(vbox->ddev.pdev, 0, in vbox_accel_init()
45 vbox->available_vram_size, in vbox_accel_init()
[all …]
Dvbox_drv.c39 struct vbox_private *vbox; in vbox_pci_probe() local
49 vbox = devm_drm_dev_alloc(&pdev->dev, &driver, in vbox_pci_probe()
51 if (IS_ERR(vbox)) in vbox_pci_probe()
52 return PTR_ERR(vbox); in vbox_pci_probe()
54 vbox->ddev.pdev = pdev; in vbox_pci_probe()
55 pci_set_drvdata(pdev, vbox); in vbox_pci_probe()
56 mutex_init(&vbox->hw_mutex); in vbox_pci_probe()
62 ret = vbox_hw_init(vbox); in vbox_pci_probe()
66 ret = vbox_mm_init(vbox); in vbox_pci_probe()
70 ret = vbox_mode_init(vbox); in vbox_pci_probe()
[all …]
Dvbox_irq.c24 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 = to_vbox_dev(dev); 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 …]
Dvbox_mode.c34 struct vbox_private *vbox; in vbox_do_modeset() local
39 vbox = to_vbox_dev(crtc->dev); 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()
70 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset()
80 struct vbox_private *vbox = to_vbox_dev(crtc->dev); in vbox_set_view() local
94 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view()
101 p->view_size = vbox->available_vram_size - vbox_crtc->fb_offset + in vbox_set_view()
103 p->max_screen_size = vbox->available_vram_size - vbox_crtc->fb_offset; in vbox_set_view()
105 hgsmi_buffer_submit(vbox->guest_pool, p); in vbox_set_view()
[all …]
Dvbox_drv.h41 #define GUEST_HEAP_OFFSET(vbox) ((vbox)->full_vram_size - \ argument
133 int vbox_hw_init(struct vbox_private *vbox);
134 void vbox_hw_fini(struct vbox_private *vbox);
136 int vbox_mode_init(struct vbox_private *vbox);
137 void vbox_mode_fini(struct vbox_private *vbox);
139 void vbox_report_caps(struct vbox_private *vbox);
141 int vbox_mm_init(struct vbox_private *vbox);
142 void vbox_mm_fini(struct vbox_private *vbox);
145 int vbox_irq_init(struct vbox_private *vbox);
146 void vbox_irq_fini(struct vbox_private *vbox);
[all …]
Dvbox_ttm.c13 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()
27 vbox->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0), in vbox_mm_init()
32 void vbox_mm_fini(struct vbox_private *vbox) in vbox_mm_fini() argument
34 arch_phys_wc_del(vbox->fb_mtrr); in vbox_mm_fini()
35 drm_vram_helper_release_mm(&vbox->ddev); in vbox_mm_fini()
/Linux-v5.10/tools/perf/ui/gtk/
Dprogress.c16 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()
Dannotate.c191 GtkWidget *vbox; in symbol__gtk_annotate() local
210 vbox = gtk_vbox_new(FALSE, 0); in symbol__gtk_annotate()
214 gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); in symbol__gtk_annotate()
218 gtk_box_pack_start(GTK_BOX(vbox), infobar, in symbol__gtk_annotate()
223 gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0); in symbol__gtk_annotate()
225 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate()
Dhists.c599 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.10/tools/perf/scripts/python/
Dexported-sql-viewer.py1022 self.vbox = QWidget()
1023 self.vbox.setLayout(VBoxLayout(*children))
1026 return self.vbox
1093 self.vbox = VBox(self.view, self.find_bar.Widget())
1095 self.setWidget(self.vbox.Widget())
1115 self.vbox = VBox(self.view, self.find_bar.Widget())
1117 self.setWidget(self.vbox.Widget())
2006 self.vbox = VBoxLayout(self.view)
2007 self.setLayout(self.vbox)
2250 self.vbox = VBoxLayout(self.splitter, self.hbox)
[all …]
/Linux-v5.10/Documentation/isdn/
Dcredits.rst29 For contribution of the vbox answering machine.
/Linux-v5.10/scripts/kconfig/
Dgconf.c439 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label); in on_window1_delete_event()
/Linux-v5.10/
DMAINTAINERS18667 F: include/uapi/linux/vbox*.h