Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/platforms/powernv/
Dvas-window.c564 static void put_rx_win(struct vas_window *rxwin) in put_rx_win() argument
567 WARN_ON_ONCE(rxwin->tx_win); in put_rx_win()
569 atomic_dec(&rxwin->num_txwins); in put_rx_win()
583 struct vas_window *rxwin; in get_user_rxwin() local
590 rxwin = vinst->windows[winid]; in get_user_rxwin()
592 if (!rxwin || rxwin->tx_win || rxwin->cop != VAS_COP_TYPE_FTW) in get_user_rxwin()
595 return rxwin; in get_user_rxwin()
607 struct vas_window *rxwin; in get_vinst_rxwin() local
612 rxwin = get_user_rxwin(vinst, pswid); in get_vinst_rxwin()
614 rxwin = vinst->rxwin[cop] ?: ERR_PTR(-EINVAL); in get_vinst_rxwin()
[all …]
Dvas.h317 struct vas_window *rxwin[VAS_COP_TYPE_MAX]; member
345 struct vas_window *rxwin; member
/Linux-v5.4/drivers/crypto/nx/
Dnx-842-powernv.c48 struct vas_window *rxwin; member
749 struct vas_window *rxwin = NULL; in vas_cfg_coproc_info() local
823 rxwin = vas_rx_win_open(vasid, coproc->ct, &rxattr); in vas_cfg_coproc_info()
824 if (IS_ERR(rxwin)) { in vas_cfg_coproc_info()
825 ret = PTR_ERR(rxwin); in vas_cfg_coproc_info()
831 coproc->vas.rxwin = rxwin; in vas_cfg_coproc_info()
962 if (coproc->vas.rxwin) in nx842_delete_coprocs()
963 vas_win_close(coproc->vas.rxwin); in nx842_delete_coprocs()