Lines Matching full:window
24 /* The hypervisor allows one credit per window right now */
47 * Allocate VAS window hcall
82 * Deallocate VAS window hcall.
103 * Modify VAS window.
104 * After the window is opened with allocate window hcall, configure it
180 * When the fault interrupt is received for each window, query the
205 * Allocate window and setup IRQ mapping.
217 * interrupt per window. So the IRQ setup and fault handling in allocate_setup_window()
218 * will be done for each open window separately. in allocate_setup_window()
238 pr_err("VAS-Window[%d]: Request IRQ(%u) failed with %d\n", in allocate_setup_window()
276 * A VAS window can have many credits which means that many in vas_allocate_window()
278 * restricts one credit per window. in vas_allocate_window()
296 * Allocate window with QoS credits if user requested. Otherwise in vas_allocate_window()
308 pr_err("Credits are not available to allocate window\n"); in vas_allocate_window()
315 * The user space is requesting to allocate a window on in vas_allocate_window()
335 * Allocate / Deallocate window hcalls and setup / free IRQs in vas_allocate_window()
337 * Open VAS window: Allocate window hcall and setup IRQ in vas_allocate_window()
338 * Close VAS window: Deallocate window hcall and free IRQ in vas_allocate_window()
340 * completed before closing the window. So expects OS in vas_allocate_window()
342 * after the deallocate window hcall is returned. in vas_allocate_window()
343 * So once the window is closed with deallocate hcall before in vas_allocate_window()
346 * result in setup IRQ fail for the new window since the in vas_allocate_window()
357 * Modify window and it is ready to use. in vas_allocate_window()
375 * Window is not operational. Free IRQ before closing in vas_allocate_window()
376 * window so that do not have to hold mutex. in vas_allocate_window()
400 * are processed before closing the window - Means all in deallocate_free_window()
427 pr_err("Window (%u): Invalid window type %u\n", in vas_deallocate_window()
452 .open_win = vas_allocate_window, /* Open and configure window */
454 .close_win = vas_deallocate_window, /* Close window */
512 pr_err("Unsupported window type %u\n", caps->win_type); in get_vas_capabilities()
523 pr_err("Window creds(%u) > max allowed window creds(%u)\n", in get_vas_capabilities()