Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/powernv/
Dvas-window.c578 static void put_rx_win(struct vas_window *rxwin) in put_rx_win() argument
581 WARN_ON_ONCE(rxwin->tx_win); in put_rx_win()
583 atomic_dec(&rxwin->num_txwins); in put_rx_win()
597 struct vas_window *rxwin; in get_user_rxwin() local
604 rxwin = vinst->windows[winid]; in get_user_rxwin()
606 if (!rxwin || rxwin->tx_win || rxwin->cop != VAS_COP_TYPE_FTW) in get_user_rxwin()
609 return rxwin; in get_user_rxwin()
621 struct vas_window *rxwin; in get_vinst_rxwin() local
626 rxwin = get_user_rxwin(vinst, pswid); in get_vinst_rxwin()
628 rxwin = vinst->rxwin[cop] ?: ERR_PTR(-EINVAL); in get_vinst_rxwin()
[all …]
Dvas.h321 struct vas_window *rxwin[VAS_COP_TYPE_MAX]; member
349 struct vas_window *rxwin; member
/Linux-v4.19/drivers/crypto/nx/
Dnx-842-powernv.c59 struct vas_window *rxwin; member
760 struct vas_window *rxwin = NULL; in vas_cfg_coproc_info() local
830 rxwin = vas_rx_win_open(vasid, coproc->ct, &rxattr); in vas_cfg_coproc_info()
831 if (IS_ERR(rxwin)) { in vas_cfg_coproc_info()
832 ret = PTR_ERR(rxwin); in vas_cfg_coproc_info()
838 coproc->vas.rxwin = rxwin; in vas_cfg_coproc_info()
969 if (coproc->vas.rxwin) in nx842_delete_coprocs()
970 vas_win_close(coproc->vas.rxwin); in nx842_delete_coprocs()