Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/platforms/powernv/
Dvas-window.c565 static void put_rx_win(struct vas_window *rxwin) in put_rx_win() argument
568 WARN_ON_ONCE(rxwin->tx_win); in put_rx_win()
570 atomic_dec(&rxwin->num_txwins); in put_rx_win()
584 struct vas_window *rxwin; in get_user_rxwin() local
591 rxwin = vinst->windows[winid]; in get_user_rxwin()
593 if (!rxwin || rxwin->tx_win || rxwin->cop != VAS_COP_TYPE_FTW) in get_user_rxwin()
596 return rxwin; in get_user_rxwin()
608 struct vas_window *rxwin; in get_vinst_rxwin() local
613 rxwin = get_user_rxwin(vinst, pswid); in get_vinst_rxwin()
615 rxwin = vinst->rxwin[cop] ?: ERR_PTR(-EINVAL); in get_vinst_rxwin()
[all …]
Dvas.h340 struct vas_window *rxwin[VAS_COP_TYPE_MAX]; member
370 struct vas_window *rxwin; member
/Linux-v5.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()
1011 if (coproc->vas.rxwin) in nx_delete_coprocs()
1012 vas_win_close(coproc->vas.rxwin); in nx_delete_coprocs()