Searched refs:guest_pool (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/staging/vboxvideo/ |
D | vbox_hgsmi.c | 67 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, in hgsmi_buffer_alloc() argument 76 h = gen_pool_dma_alloc(guest_pool, total_size, &offset); in hgsmi_buffer_alloc() 94 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_free() argument 101 gen_pool_free(guest_pool, (unsigned long)h, total_size); in hgsmi_buffer_free() 104 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_submit() argument 108 offset = gen_pool_virt_to_phys(guest_pool, (unsigned long)buf - in hgsmi_buffer_submit()
|
D | vbox_main.c | 67 vbox->guest_pool, vbva, i)) { in vbox_enable_accel() 80 vbva_disable(&vbox->vbva_info[i], vbox->guest_pool, i); in vbox_disable_accel() 91 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps() 131 vbox->guest_pool)) in vbox_framebuffer_dirty_rectangles() 134 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_framebuffer_dirty_rectangles() 250 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints() 256 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints() 296 vbox->guest_pool = gen_pool_create(4, -1); in vbox_hw_init() 297 if (!vbox->guest_pool) in vbox_hw_init() 300 ret = gen_pool_add_virt(vbox->guest_pool, in vbox_hw_init() [all …]
|
D | vbox_mode.c | 94 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset() 118 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view() 129 hgsmi_buffer_submit(vbox->guest_pool, p); in vbox_set_view() 130 hgsmi_buffer_free(vbox->guest_pool, p); in vbox_set_view() 303 hgsmi_update_input_mapping(vbox->guest_pool, 0, 0, in vbox_crtc_mode_set() 565 hgsmi_report_flags_location(vbox->guest_pool, GUEST_HEAP_OFFSET(vbox) + in vbox_get_modes() 763 hgsmi_update_input_mapping(vbox->guest_pool, 0, 0, in vbox_cursor_set2() 779 hgsmi_update_pointer_shape(vbox->guest_pool, 0, 0, 0, in vbox_cursor_set2() 790 ret = hgsmi_query_conf(vbox->guest_pool, in vbox_cursor_set2() 845 ret = hgsmi_update_pointer_shape(vbox->guest_pool, flags, in vbox_cursor_set2() [all …]
|
D | vbox_drv.h | 82 struct gen_pool *guest_pool; member 285 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, 287 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf); 288 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf);
|
D | vbox_irq.c | 135 ret = hgsmi_get_mode_hints(vbox->guest_pool, vbox->num_crtcs, in vbox_update_mode_hints() 167 hgsmi_process_display_info(vbox->guest_pool, crtc_id, 0, 0, 0, in vbox_update_mode_hints()
|