Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/vboxvideo/
Dvbox_main.c22 void vbox_report_caps(struct vbox_private *vbox) in vbox_report_caps() argument
28 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps()
30 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps()
33 static int vbox_accel_init(struct vbox_private *vbox) in vbox_accel_init() argument
35 struct pci_dev *pdev = to_pci_dev(vbox->ddev.dev); in vbox_accel_init()
39 vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_accel_init()
40 sizeof(*vbox->vbva_info), GFP_KERNEL); in vbox_accel_init()
41 if (!vbox->vbva_info) in vbox_accel_init()
45 vbox->available_vram_size -= vbox->num_crtcs * VBVA_MIN_BUFFER_SIZE; in vbox_accel_init()
47 vbox->vbva_buffers = pci_iomap_range(pdev, 0, in vbox_accel_init()
[all …]
Dvbox_drv.c40 struct vbox_private *vbox; in vbox_pci_probe() local
50 vbox = devm_drm_dev_alloc(&pdev->dev, &driver, in vbox_pci_probe()
52 if (IS_ERR(vbox)) in vbox_pci_probe()
53 return PTR_ERR(vbox); 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()
74 ret = vbox_irq_init(vbox); in vbox_pci_probe()
[all …]
Dvbox_irq.c25 static u32 vbox_get_flags(struct vbox_private *vbox) in vbox_get_flags() argument
27 return readl(vbox->guest_heap + HOST_FLAGS_OFFSET); in vbox_get_flags()
30 void vbox_report_hotplug(struct vbox_private *vbox) in vbox_report_hotplug() argument
32 schedule_work(&vbox->hotplug_work); in vbox_report_hotplug()
38 struct vbox_private *vbox = to_vbox_dev(dev); in vbox_irq_handler() local
39 u32 host_flags = vbox_get_flags(vbox); in vbox_irq_handler()
53 vbox_report_hotplug(vbox); in vbox_irq_handler()
66 static void validate_or_set_position_hints(struct vbox_private *vbox) in validate_or_set_position_hints() argument
73 for (i = 0; i < vbox->num_crtcs; ++i) { in validate_or_set_position_hints()
75 hintsi = &vbox->last_mode_hints[i]; in validate_or_set_position_hints()
[all …]
Dvbox_mode.c39 struct vbox_private *vbox; in vbox_do_modeset() local
44 vbox = to_vbox_dev(crtc->dev); in vbox_do_modeset()
49 x_offset = vbox->single_framebuffer ? vbox_crtc->x : vbox_crtc->x_hint; in vbox_do_modeset()
50 y_offset = vbox->single_framebuffer ? vbox_crtc->y : vbox_crtc->y_hint; in vbox_do_modeset()
75 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset()
85 struct vbox_private *vbox = to_vbox_dev(crtc->dev); in vbox_set_view() local
99 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view()
106 p->view_size = vbox->available_vram_size - vbox_crtc->fb_offset + in vbox_set_view()
108 p->max_screen_size = vbox->available_vram_size - vbox_crtc->fb_offset; in vbox_set_view()
110 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);
144 int vbox_irq_init(struct vbox_private *vbox);
145 void vbox_irq_fini(struct vbox_private *vbox);
146 void vbox_report_hotplug(struct vbox_private *vbox);
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()
26 ret = drmm_vram_helper_init(dev, base, vbox->available_vram_size); in vbox_mm_init()
/linux-6.1.9/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.c192 GtkWidget *vbox; in symbol__gtk_annotate() local
211 vbox = gtk_vbox_new(FALSE, 0); in symbol__gtk_annotate()
215 gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); in symbol__gtk_annotate()
219 gtk_box_pack_start(GTK_BOX(vbox), infobar, in symbol__gtk_annotate()
224 gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0); in symbol__gtk_annotate()
226 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate()
Dhists.c597 GtkWidget *vbox; in evlist__gtk_browse_hists() local
619 vbox = gtk_vbox_new(FALSE, 0); in evlist__gtk_browse_hists()
623 gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); in evlist__gtk_browse_hists()
627 gtk_box_pack_start(GTK_BOX(vbox), info_bar, FALSE, FALSE, 0); in evlist__gtk_browse_hists()
630 gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0); in evlist__gtk_browse_hists()
632 gtk_container_add(GTK_CONTAINER(window), vbox); in evlist__gtk_browse_hists()
/linux-6.1.9/tools/perf/scripts/python/
Dexported-sql-viewer.py1029 self.vbox = QWidget()
1030 self.vbox.setLayout(VBoxLayout(*children))
1033 return self.vbox
1100 self.vbox = VBox(self.view, self.find_bar.Widget())
1102 self.setWidget(self.vbox.Widget())
1122 self.vbox = VBox(self.view, self.find_bar.Widget())
1124 self.setWidget(self.vbox.Widget())
2013 self.vbox = VBoxLayout(self.view)
2014 self.setLayout(self.vbox)
2257 self.vbox = VBoxLayout(self.splitter, self.hbox)
[all …]
/linux-6.1.9/Documentation/isdn/
Dcredits.rst29 For contribution of the vbox answering machine.
/linux-6.1.9/scripts/kconfig/
Dgconf.c435 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label); in on_window1_delete_event()
/linux-6.1.9/
DMAINTAINERS21888 F: include/uapi/linux/vbox*.h