Searched refs:winid (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/arch/powerpc/platforms/powernv/ |
D | vas-window.c | 32 int winid; in vas_win_paste_addr() local 37 winid = window->vas_win.winid; in vas_win_paste_addr() 39 *addr = base + (winid << shift); in vas_win_paste_addr() 43 pr_debug("Txwin #%d: Paste addr 0x%llx\n", winid, *addr); in vas_win_paste_addr() 52 *start = pbaddr + window->vas_win.winid * VAS_HVWC_SIZE; in get_hvwc_mmio_bar() 62 *start = pbaddr + window->vas_win.winid * VAS_UWC_SIZE; in get_uwc_mmio_bar() 79 txwin->vas_win.winid); in map_paste_region() 506 static void vas_release_window_id(struct ida *ida, int winid) in vas_release_window_id() argument 508 ida_free(ida, winid); in vas_release_window_id() 513 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id() local [all …]
|
D | vas.h | 446 win->tx_win ? "Tx" : "Rx", win->vas_win.winid, in vas_log_write() 488 static inline u32 encode_pswid(int vasid, int winid) in encode_pswid() argument 490 return ((u32)winid | (vasid << (31 - 7))); in encode_pswid() 493 static inline void decode_pswid(u32 pswid, int *vasid, int *winid) in decode_pswid() argument 498 if (winid) in decode_pswid() 499 *winid = pswid & 0xFFFF; in decode_pswid()
|
D | vas-trace.h | 92 __field(int, winid) 99 __entry->winid = win->vas_win.winid; 104 __entry->pid, __entry->vasid, __entry->winid,
|
D | vas-fault.c | 241 vinst->fault_win->vas_win.winid, attr.lnotify_lpid, in vas_setup_fault_window()
|
D | vas-debug.c | 130 snprintf(window->vas_win.dbgname, 16, "w%d", window->vas_win.winid); in vas_window_init_dbgdir()
|
/Linux-v6.1/arch/powerpc/platforms/pseries/ |
D | vas.c | 71 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window() 87 static int h_deallocate_vas_window(u64 winid) in h_deallocate_vas_window() argument 92 rc = plpar_hcall_norets(H_DEALLOCATE_VAS_WINDOW, winid); in h_deallocate_vas_window() 101 rc, winid); in h_deallocate_vas_window() 120 win->vas_win.winid, win->pid, 0, in h_modify_vas_window() 130 rc, win->vas_win.winid, win->pid); in h_modify_vas_window() 172 static int h_get_nx_fault(u32 winid, u64 buffer) in h_get_nx_fault() argument 176 rc = plpar_hcall_norets(H_GET_NX_FAULT, winid, buffer); in h_get_nx_fault() 182 rc, winid, buffer); in h_get_nx_fault() 204 rc = h_get_nx_fault(txwin->vas_win.winid, (u64)virt_to_phys(&crb)); in pseries_vas_fault_thread_fn() [all …]
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | vas.h | 81 u32 winid; member
|