Home
last modified time | relevance | path

Searched refs:txwin (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/arch/powerpc/platforms/book3s/
H A Dvas-api.c55 struct vas_window *txwin; member
293 if (cp_inst->txwin) in coproc_ioc_tx_win_open()
314 if (IS_ERR(txwin)) { in coproc_ioc_tx_win_open()
316 PTR_ERR(txwin)); in coproc_ioc_tx_win_open()
317 return PTR_ERR(txwin); in coproc_ioc_tx_win_open()
321 cp_inst->txwin = txwin; in coproc_ioc_tx_win_open()
331 if (cp_inst->txwin) { in coproc_release()
413 txwin = cp_inst->txwin; in vas_mmap_fault()
487 txwin = cp_inst->txwin; in vas_mmap_close()
516 txwin = cp_inst->txwin; in coproc_mmap()
[all …]
/linux-6.15/arch/powerpc/platforms/pseries/
H A Dvas.c275 txwin->fault_virq = irq_create_mapping(NULL, txwin->fault_irq); in allocate_setup_window()
284 if (!txwin->name) { in allocate_setup_window()
292 txwin->name, txwin); in allocate_setup_window()
295 txwin->vas_win.winid, txwin->fault_virq, rc); in allocate_setup_window()
303 kfree(txwin->name); in allocate_setup_window()
313 free_irq(txwin->fault_virq, txwin); in free_irq_setup()
314 kfree(txwin->name); in free_irq_setup()
327 txwin = kzalloc(sizeof(*txwin), GFP_KERNEL); in vas_allocate_window()
328 if (!txwin) in vas_allocate_window()
469 free_irq_setup(txwin); in vas_allocate_window()
[all …]
/linux-6.15/arch/powerpc/platforms/powernv/
H A Dvas-window.c79 txwin->vas_win.winid); in map_paste_region()
956 if (txwin->vinst->virq) in init_winctx_for_txwin()
963 if (txwin->vinst->virq) in init_winctx_for_txwin()
1030 if (IS_ERR(txwin)) { in vas_tx_win_open()
1031 rc = PTR_ERR(txwin); in vas_tx_win_open()
1036 txwin->tx_win = 1; in vas_tx_win_open()
1037 txwin->rxwin = rxwin; in vas_tx_win_open()
1038 txwin->nx_win = txwin->rxwin->nx_win; in vas_tx_win_open()
1054 if (!txwin->user_win) { in vas_tx_win_open()
1055 txwin->paste_kaddr = map_paste_region(txwin); in vas_tx_win_open()
[all …]
/linux-6.15/drivers/crypto/nx/
H A Dnx-common-powernv.c564 struct vas_window *txwin; in nx842_exec_vas() local
684 struct vas_window *txwin = NULL; in nx_alloc_txwin() local
698 if (IS_ERR(txwin)) in nx_alloc_txwin()
700 PTR_ERR(txwin)); in nx_alloc_txwin()
702 return txwin; in nx_alloc_txwin()
733 if (IS_ERR(txwin)) in nx_open_percpu_txwins()
734 return PTR_ERR(txwin); in nx_open_percpu_txwins()
996 struct vas_window *txwin; in nx_delete_coprocs() local
1003 txwin = per_cpu(cpu_txwin, i); in nx_delete_coprocs()
1004 if (txwin) in nx_delete_coprocs()
[all …]