Lines Matching refs:vas_win
37 winid = window->vas_win.winid; 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()
526 int winid = window->vas_win.winid; in vas_window_free()
551 window->vas_win.winid = winid; in vas_window_alloc()
595 if (!rxwin || rxwin->tx_win || rxwin->vas_win.cop != VAS_COP_TYPE_FTW) in get_user_rxwin()
645 int id = window->vas_win.winid; in set_vinst_win()
654 WARN_ON_ONCE(vinst->rxwin[window->vas_win.cop]); in set_vinst_win()
655 vinst->rxwin[window->vas_win.cop] = window; in set_vinst_win()
670 int id = window->vas_win.winid; in clear_vinst_win()
676 WARN_ON_ONCE(!vinst->rxwin[window->vas_win.cop]); in clear_vinst_win()
677 vinst->rxwin[window->vas_win.cop] = NULL; in clear_vinst_win()
707 winctx->wcreds_max = rxwin->vas_win.wcreds_max; in init_winctx_for_rxwin()
881 rxwin->vas_win.cop = cop; in vas_rx_win_open()
882 rxwin->vas_win.wcreds_max = rxattr->wcreds_max; in vas_rx_win_open()
889 return &rxwin->vas_win; in vas_rx_win_open()
931 winctx->wcreds_max = txwin->vas_win.wcreds_max; in init_winctx_for_txwin()
951 winctx->rx_win_id = txwin->rxwin->vas_win.winid; in init_winctx_for_txwin()
957 winctx->fault_win_id = txwin->vinst->fault_win->vas_win.winid; in init_winctx_for_txwin()
968 txwin->vas_win.winid); in init_winctx_for_txwin()
1035 txwin->vas_win.cop = cop; in vas_tx_win_open()
1040 txwin->vas_win.wcreds_max = attr->wcreds_max ?: VAS_WCREDS_DEFAULT; in vas_tx_win_open()
1070 rc = get_vas_user_win_ref(&txwin->vas_win.task_ref); in vas_tx_win_open()
1074 vas_user_win_add_mm_context(&txwin->vas_win.task_ref); in vas_tx_win_open()
1079 return &txwin->vas_win; in vas_tx_win_open()
1105 txwin = container_of(vwin, struct pnv_vas_window, vas_win); in vas_paste_crb()
1135 pr_debug("Txwin #%d: Msg count %llu\n", txwin->vas_win.winid, in vas_paste_crb()
1185 if (creds < window->vas_win.wcreds_max) { in poll_window_credits()
1196 vas_window_pid(&window->vas_win), in poll_window_credits()
1197 window->vas_win.winid, in poll_window_credits()
1229 vas_window_pid(&window->vas_win), in poll_window_busy_state()
1230 window->vas_win.winid, count); in poll_window_busy_state()
1290 window = container_of(vwin, struct pnv_vas_window, vas_win); in vas_win_close()
1401 window->vas_win.cop == VAS_COP_TYPE_FAULT || in vas_pswid_to_window()
1402 window->vas_win.cop == VAS_COP_TYPE_FTW) { in vas_pswid_to_window()
1405 window->nx_win, window->vas_win.cop); in vas_pswid_to_window()
1436 win = container_of(txwin, struct pnv_vas_window, vas_win); in vas_user_win_paste_addr()