Searched refs:vinst (Results 1 – 5 of 5) sorted by relevance
/arch/powerpc/platforms/powernv/ |
D | vas.c | 30 struct vas_instance *vinst; in init_vas_instance() local 45 vinst = kzalloc(sizeof(*vinst), GFP_KERNEL); in init_vas_instance() 46 if (!vinst) in init_vas_instance() 49 INIT_LIST_HEAD(&vinst->node); in init_vas_instance() 50 ida_init(&vinst->ida); in init_vas_instance() 51 mutex_init(&vinst->mutex); in init_vas_instance() 52 vinst->vas_id = vasid; in init_vas_instance() 53 vinst->pdev = pdev; in init_vas_instance() 56 vinst->hvwc_bar_start = res->start; in init_vas_instance() 59 vinst->uwc_bar_start = res->start; in init_vas_instance() [all …]
|
D | vas-debug.c | 120 if (!window->vinst->dbgdir) in vas_window_init_dbgdir() 129 d = debugfs_create_dir(window->dbgname, window->vinst->dbgdir); in vas_window_init_dbgdir() 154 void vas_instance_init_dbgdir(struct vas_instance *vinst) in vas_instance_init_dbgdir() argument 162 vinst->dbgname = kzalloc(16, GFP_KERNEL); in vas_instance_init_dbgdir() 163 if (!vinst->dbgname) in vas_instance_init_dbgdir() 166 snprintf(vinst->dbgname, 16, "v%d", vinst->vas_id); in vas_instance_init_dbgdir() 168 d = debugfs_create_dir(vinst->dbgname, vas_debugfs); in vas_instance_init_dbgdir() 172 vinst->dbgdir = d; in vas_instance_init_dbgdir() 176 kfree(vinst->dbgname); in vas_instance_init_dbgdir() 177 vinst->dbgname = NULL; in vas_instance_init_dbgdir() [all …]
|
D | vas-window.c | 32 base = window->vinst->paste_base_addr; in compute_paste_address() 33 shift = window->vinst->paste_win_id_shift; in compute_paste_address() 48 pbaddr = window->vinst->hvwc_bar_start; in get_hvwc_mmio_bar() 58 pbaddr = window->vinst->uwc_bar_start; in get_uwc_mmio_bar() 75 name = kasprintf(GFP_KERNEL, "window-v%d-w%d", txwin->vinst->vas_id, in map_paste_region() 524 struct vas_instance *vinst = window->vinst; in vas_window_free() local 532 vas_release_window_id(&vinst->ida, winid); in vas_window_free() 535 static struct vas_window *vas_window_alloc(struct vas_instance *vinst) in vas_window_alloc() argument 540 winid = vas_assign_window_id(&vinst->ida); in vas_window_alloc() 548 window->vinst = vinst; in vas_window_alloc() [all …]
|
D | vas.h | 329 struct vas_instance *vinst; member 406 extern void vas_instance_init_dbgdir(struct vas_instance *vinst);
|
D | vas-trace.h | 98 __entry->vasid = win->vinst->vas_id;
|