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

/linux-master/arch/powerpc/platforms/book3s/
H A Dvas-api.c55 struct vas_window *txwin; member in struct:coproc_instance
285 struct vas_window *txwin; local
293 if (cp_inst->txwin)
312 txwin = cp_inst->coproc->vops->open_win(uattr.vas_id, uattr.flags,
314 if (IS_ERR(txwin)) {
316 PTR_ERR(txwin));
317 return PTR_ERR(txwin);
320 mutex_init(&txwin->task_ref.mmap_mutex);
321 cp_inst->txwin = txwin;
400 struct vas_window *txwin; local
474 struct vas_window *txwin; local
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dvas.c199 struct pseries_vas_window *txwin = data; local
204 while (atomic_read(&txwin->pending_faults)) {
205 rc = h_get_nx_fault(txwin->vas_win.winid, (u64)virt_to_phys(&crb));
207 tsk_ref = &txwin->vas_win.task_ref;
211 atomic_dec(&txwin->pending_faults);
228 struct pseries_vas_window *txwin = data; local
234 atomic_inc(&txwin->pending_faults);
242 static int allocate_setup_window(struct pseries_vas_window *txwin, argument
247 rc = h_allocate_vas_window(txwin, domain, wintype, DEF_WIN_CREDS);
255 txwin
291 free_irq_setup(struct pseries_vas_window *txwin) argument
304 struct pseries_vas_window *txwin; local
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dvas-window.c71 static void *map_paste_region(struct pnv_vas_window *txwin) argument
78 name = kasprintf(GFP_KERNEL, "window-v%d-w%d", txwin->vinst->vas_id,
79 txwin->vas_win.winid);
83 txwin->paste_addr_name = name;
84 vas_win_paste_addr(txwin, &start, &len);
339 static void init_rsvd_tx_buf_count(struct pnv_vas_window *txwin, argument
342 write_hvwc_reg(txwin, VREG(TX_RSVD_BUF_COUNT), 0ULL);
910 static void init_winctx_for_txwin(struct pnv_vas_window *txwin, argument
931 winctx->wcreds_max = txwin->vas_win.wcreds_max;
934 winctx->nx_win = txwin
999 struct pnv_vas_window *txwin; local
1100 struct pnv_vas_window *txwin; local
1431 vas_user_win_paste_addr(struct vas_window *txwin) argument
1442 vas_user_win_close(struct vas_window *txwin) argument
[all...]
/linux-master/drivers/crypto/nx/
H A Dnx-common-powernv.c563 struct vas_window *txwin; local
586 txwin = this_cpu_read(cpu_txwin);
596 * @txwin, @offset and @last (must be true).
598 ret = vas_paste_crb(txwin, 0, 1);
683 struct vas_window *txwin = NULL; local
696 txwin = vas_tx_win_open(coproc->vas.id, coproc->ct, &txattr);
697 if (IS_ERR(txwin))
699 PTR_ERR(txwin));
701 return txwin;
706 * engine and save txwin i
716 struct vas_window *txwin = NULL; local
995 struct vas_window *txwin; local
[all...]

Completed in 100 milliseconds