Home
last modified time | relevance | path

Searched refs:rxwin (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/arch/powerpc/platforms/powernv/
Dvas-window.c566 static void put_rx_win(struct pnv_vas_window *rxwin) in put_rx_win() argument
569 WARN_ON_ONCE(rxwin->tx_win); in put_rx_win()
571 atomic_dec(&rxwin->num_txwins); in put_rx_win()
586 struct pnv_vas_window *rxwin; in get_user_rxwin() local
593 rxwin = vinst->windows[winid]; in get_user_rxwin()
595 if (!rxwin || rxwin->tx_win || rxwin->vas_win.cop != VAS_COP_TYPE_FTW) in get_user_rxwin()
598 return rxwin; in get_user_rxwin()
610 struct pnv_vas_window *rxwin; in get_vinst_rxwin() local
615 rxwin = get_user_rxwin(vinst, pswid); in get_vinst_rxwin()
617 rxwin = vinst->rxwin[cop] ?: ERR_PTR(-EINVAL); in get_vinst_rxwin()
[all …]
Dvas.h340 struct pnv_vas_window *rxwin[VAS_COP_TYPE_MAX]; member
364 struct pnv_vas_window *rxwin; member
/linux-5.19.10/drivers/crypto/nx/
Dnx-common-powernv.c48 struct vas_window *rxwin; member
771 struct vas_window *rxwin = NULL; in vas_cfg_coproc_info() local
845 rxwin = vas_rx_win_open(vasid, coproc->ct, &rxattr); in vas_cfg_coproc_info()
846 if (IS_ERR(rxwin)) { in vas_cfg_coproc_info()
847 ret = PTR_ERR(rxwin); in vas_cfg_coproc_info()
853 coproc->vas.rxwin = rxwin; in vas_cfg_coproc_info()
1013 if (coproc->vas.rxwin) in nx_delete_coprocs()
1014 vas_win_close(coproc->vas.rxwin); in nx_delete_coprocs()