Lines Matching refs:winid
31 int winid;
36 winid = window->winid;
38 *addr = base + (winid << shift);
42 pr_debug("Txwin #%d: Paste addr 0x%llx\n", winid, *addr);
51 *start = pbaddr + window->winid * VAS_HVWC_SIZE;
61 *start = pbaddr + window->winid * VAS_UWC_SIZE;
78 txwin->winid);
505 static void vas_release_window_id(struct ida *ida, int winid)
507 ida_free(ida, winid);
512 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL);
514 if (winid == -ENOSPC) {
519 return winid;
524 int winid = window->winid;
533 vas_release_window_id(&vinst->ida, winid);
538 int winid;
541 winid = vas_assign_window_id(&vinst->ida);
542 if (winid < 0)
543 return ERR_PTR(winid);
550 window->winid = winid;
561 vas_release_window_id(&vinst->ida, winid);
583 int vasid, winid;
586 decode_pswid(pswid, &vasid, &winid);
591 rxwin = vinst->windows[winid];
643 int id = window->winid;
668 int id = window->winid;
949 winctx->rx_win_id = txwin->rxwin->winid;
955 winctx->fault_win_id = txwin->vinst->fault_win->winid;
965 encode_pswid(txwin->vinst->vas_id, txwin->winid);
1170 pr_debug("Txwin #%d: Msg count %llu\n", txwin->winid,
1231 vas_window_pid(window), window->winid,
1263 vas_window_pid(window), window->winid, count);
1399 int winid;
1406 decode_pswid(pswid, NULL, &winid);
1408 if (winid >= VAS_WINDOWS_PER_CHIP)
1420 window = vinst->windows[winid];
1423 pr_err("PSWID decode: Could not find window for winid %d pswid %d vinst 0x%p\n",
1424 winid, pswid, vinst);
1438 winid, window->tx_win, window->user_win,