Searched refs:coproc (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/crypto/nx/ |
D | nx-common-powernv.c | 676 static inline void nx_add_coprocs_list(struct nx_coproc *coproc, in nx_add_coprocs_list() argument 679 coproc->chip_id = chipid; in nx_add_coprocs_list() 680 INIT_LIST_HEAD(&coproc->list); in nx_add_coprocs_list() 681 list_add(&coproc->list, &nx_coprocs); in nx_add_coprocs_list() 684 static struct vas_window *nx_alloc_txwin(struct nx_coproc *coproc) in nx_alloc_txwin() argument 693 vas_init_tx_win_attr(&txattr, coproc->ct); in nx_alloc_txwin() 699 txwin = vas_tx_win_open(coproc->vas.id, coproc->ct, &txattr); in nx_alloc_txwin() 715 struct nx_coproc *coproc, *n; in nx_open_percpu_txwins() local 723 list_for_each_entry_safe(coproc, n, &nx_coprocs, list) { in nx_open_percpu_txwins() 730 if (coproc->ct != VAS_COP_TYPE_842_HIPRI) in nx_open_percpu_txwins() [all …]
|
/Linux-v6.1/arch/powerpc/platforms/book3s/ |
D | vas-api.c | 52 struct coproc_dev *coproc; member 272 cp_inst->coproc = container_of(inode->i_cdev, struct coproc_dev, in coproc_open() 306 if (!cp_inst->coproc->vops || !cp_inst->coproc->vops->open_win) { in coproc_ioc_tx_win_open() 311 txwin = cp_inst->coproc->vops->open_win(uattr.vas_id, uattr.flags, in coproc_ioc_tx_win_open() 312 cp_inst->coproc->cop_type); in coproc_ioc_tx_win_open() 331 if (cp_inst->coproc->vops && in coproc_release() 332 cp_inst->coproc->vops->close_win) { in coproc_release() 333 rc = cp_inst->coproc->vops->close_win(cp_inst->txwin); in coproc_release() 437 paste_addr = cp_inst->coproc->vops->paste_addr(txwin); in vas_mmap_fault() 495 if (!cp_inst->coproc->vops || !cp_inst->coproc->vops->paste_addr) { in coproc_mmap() [all …]
|