Searched refs:cptpf (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_main.c | 193 queue_work(cptpf->flr_wq, &cptpf->flr_work[dev].work); in cptpf_vf_flr_intr() 249 cptpf); in cptpf_register_vfpf_intr() 284 cptpf); in cptpf_register_vfpf_intr() 293 cptpf); in cptpf_register_vfpf_intr() 346 cptpf->flr_work[vf].pf = cptpf; in cptpf_flr_wq_init() 387 cptpf->pdev, cptpf->reg_base, MBOX_DIR_PFVF, in cptpf_vfpf_mbox_init() 394 cptpf->vf[i].cptpf = cptpf; in cptpf_vfpf_mbox_init() 709 ret = otx2_cpt_create_eng_grps(cptpf, &cptpf->eng_grps); in cptpf_sriov_enable() 749 cptpf = devm_kzalloc(dev, sizeof(*cptpf), GFP_KERNEL); in otx2_cptpf_probe() 750 if (!cptpf) in otx2_cptpf_probe() [all …]
|
H A D | otx2_cptpf_mbox.c | 35 mutex_lock(&cptpf->lock); in forward_to_af() 38 mutex_unlock(&cptpf->lock); in forward_to_af() 191 if (cptpf->has_cpt1) { in rx_inline_ipsec_lf_cfg() 224 otx2_cptlf_set_dev_info(&cptpf->lfs, cptpf->pdev, cptpf->reg_base, in handle_msg_rx_inline_ipsec_lf_cfg() 234 if (cptpf->has_cpt1) { in handle_msg_rx_inline_ipsec_lf_cfg() 236 otx2_cptlf_set_dev_info(&cptpf->cpt1_lfs, cptpf->pdev, in handle_msg_rx_inline_ipsec_lf_cfg() 237 cptpf->reg_base, &cptpf->afpf_mbox, in handle_msg_rx_inline_ipsec_lf_cfg() 340 cptpf = vf->cptpf; in otx2_cptpf_vfpf_mbox_handler() 392 queue_work(cptpf->afpf_mbox_wq, &cptpf->afpf_mbox_work); in otx2_cptpf_afpf_mbox_intr() 399 queue_work(cptpf->afpf_mbox_wq, &cptpf->afpf_mbox_up_work); in otx2_cptpf_afpf_mbox_intr() [all …]
|
H A D | otx2_cpt_devlink.c | 10 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; in otx2_cpt_dl_egrp_create() local 12 return otx2_cpt_dl_custom_egrp_create(cptpf, ctx); in otx2_cpt_dl_egrp_create() 19 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; in otx2_cpt_dl_egrp_delete() local 21 return otx2_cpt_dl_custom_egrp_delete(cptpf, ctx); in otx2_cpt_dl_egrp_delete() 28 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; in otx2_cpt_dl_uc_info() local 30 otx2_cpt_print_uc_dbg_info(cptpf); in otx2_cpt_dl_uc_info() 76 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; in otx2_cpt_devlink_info_get() local 99 struct device *dev = &cptpf->pdev->dev; in otx2_cpt_register_dl() 113 cpt_dl->cptpf = cptpf; in otx2_cpt_register_dl() 114 cptpf->dl = dl; in otx2_cpt_register_dl() [all …]
|
H A D | otx2_cptpf_ucode.c | 161 return otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in __write_ucode_base() 174 ret = otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_set_ucode_base() 226 ret = otx2_cpt_read_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_detach_and_disable_cores() 236 cptpf->pdev, in cptx_detach_and_disable_cores() 253 cptpf->pdev, in cptx_detach_and_disable_cores() 312 ret = otx2_cpt_read_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_attach_and_enable_cores() 332 ret = otx2_cpt_add_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_attach_and_enable_cores() 338 return otx2_cpt_send_af_reg_requests(&cptpf->afpf_mbox, cptpf->pdev); in cptx_attach_and_enable_cores() 1281 ret = otx2_cpt_add_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_disable_all_cores() 1317 ret = otx2_cpt_add_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_disable_all_cores() [all …]
|
H A D | cn10k_cpt.c | 46 int cn10k_cptpf_lmtst_init(struct otx2_cptpf_dev *cptpf) in cn10k_cptpf_lmtst_init() argument 48 struct pci_dev *pdev = cptpf->pdev; in cn10k_cptpf_lmtst_init() 52 if (!test_bit(CN10K_LMTST, &cptpf->cap_flag)) { in cn10k_cptpf_lmtst_init() 53 cptpf->lfs.ops = &otx2_hw_ops; in cn10k_cptpf_lmtst_init() 57 cptpf->lfs.ops = &cn10k_hw_ops; in cn10k_cptpf_lmtst_init() 58 lmt_base = readq(cptpf->reg_base + RVU_PF_LMTLINE_ADDR); in cn10k_cptpf_lmtst_init() 64 size -= ((1 + cptpf->max_vfs) * MBOX_SIZE); in cn10k_cptpf_lmtst_init() 65 cptpf->lfs.lmt_base = devm_ioremap_wc(&pdev->dev, lmt_base, size); in cn10k_cptpf_lmtst_init() 66 if (!cptpf->lfs.lmt_base) { in cn10k_cptpf_lmtst_init()
|
H A D | otx2_cptpf_ucode.h | 159 int otx2_cpt_create_eng_grps(struct otx2_cptpf_dev *cptpf, 161 int otx2_cpt_disable_all_cores(struct otx2_cptpf_dev *cptpf); 163 int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf); 164 int otx2_cpt_dl_custom_egrp_create(struct otx2_cptpf_dev *cptpf, 166 int otx2_cpt_dl_custom_egrp_delete(struct otx2_cptpf_dev *cptpf, 168 void otx2_cpt_print_uc_dbg_info(struct otx2_cptpf_dev *cptpf);
|
H A D | otx2_cpt_devlink.h | 13 struct otx2_cptpf_dev *cptpf; member 17 int otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf); 18 void otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf);
|
H A D | cn10k_cpt.h | 31 int cn10k_cptpf_lmtst_init(struct otx2_cptpf_dev *cptpf);
|
H A D | otx2_cptpf.h | 14 struct otx2_cptpf_dev *cptpf; /* PF pointer this VF belongs to */ member
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | Makefile | 2 obj-$(CONFIG_CAVIUM_CPT) += cptpf.o cptvf.o 3 cptpf-objs := cptpf_main.o cptpf_mbox.o
|