Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/nx/
H A Dnx-common-powernv.c471 /* shoudn't happen, we don't load without a coproc */ in nx842_exec_icswx()
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, * in nx_open_percpu_txwins() local
753 nx_set_ct(struct nx_coproc *coproc, const char *priority, int high, int normal) nx_set_ct() argument
774 struct nx_coproc *coproc; vas_cfg_coproc_info() local
956 struct nx_coproc *coproc; nx842_powernv_probe() local
997 struct nx_coproc *coproc, *n; nx_delete_coprocs() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx-common-powernv.c468 /* shoudn't happen, we don't load without a coproc */ in nx842_exec_icswx()
673 static inline void nx_add_coprocs_list(struct nx_coproc *coproc, in nx_add_coprocs_list() argument
676 coproc->chip_id = chipid; in nx_add_coprocs_list()
677 INIT_LIST_HEAD(&coproc->list); in nx_add_coprocs_list()
678 list_add(&coproc->list, &nx_coprocs); in nx_add_coprocs_list()
681 static struct vas_window *nx_alloc_txwin(struct nx_coproc *coproc) in nx_alloc_txwin() argument
690 vas_init_tx_win_attr(&txattr, coproc->ct); in nx_alloc_txwin()
696 txwin = vas_tx_win_open(coproc->vas.id, coproc->ct, &txattr); in nx_alloc_txwin()
712 struct nx_coproc *coproc, * in nx_open_percpu_txwins() local
750 nx_set_ct(struct nx_coproc *coproc, const char *priority, int high, int normal) nx_set_ct() argument
771 struct nx_coproc *coproc; vas_cfg_coproc_info() local
953 struct nx_coproc *coproc; nx842_powernv_probe() local
994 struct nx_coproc *coproc, *n; nx_delete_coprocs() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/book3s/
H A Dvas-api.c54 struct coproc_dev *coproc; member
273 cp_inst->coproc = container_of(inode->i_cdev, struct coproc_dev, in coproc_open()
307 if (!cp_inst->coproc->vops || !cp_inst->coproc->vops->open_win) { in coproc_ioc_tx_win_open()
312 txwin = cp_inst->coproc->vops->open_win(uattr.vas_id, uattr.flags, in coproc_ioc_tx_win_open()
313 cp_inst->coproc->cop_type); in coproc_ioc_tx_win_open()
332 if (cp_inst->coproc->vops && in coproc_release()
333 cp_inst->coproc->vops->close_win) { in coproc_release()
334 rc = cp_inst->coproc->vops->close_win(cp_inst->txwin); in coproc_release()
436 paste_addr = cp_inst->coproc in vas_mmap_fault()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dvas-api.c48 struct coproc_dev *coproc; member
65 cp_inst->coproc = container_of(inode->i_cdev, struct coproc_dev, in coproc_open()
102 vas_init_tx_win_attr(&txattr, cp_inst->coproc->cop_type); in coproc_ioc_tx_win_open()
113 txwin = vas_tx_win_open(vasid, cp_inst->coproc->cop_type, &txattr); in coproc_ioc_tx_win_open()
218 pr_err("Unable to allocate coproc major number: %i\n", rc); in vas_register_coproc_api()
248 pr_err("Unable to create coproc-%d %d\n", MINOR(devno), rc); in vas_register_coproc_api()

Completed in 5 milliseconds