/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_main.c | 18 static void cptpf_enable_vfpf_mbox_intr(struct otx2_cptpf_dev *cptpf, in cptpf_enable_vfpf_mbox_intr() argument 24 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, in cptpf_enable_vfpf_mbox_intr() 26 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, in cptpf_enable_vfpf_mbox_intr() 31 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, in cptpf_enable_vfpf_mbox_intr() 38 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, in cptpf_enable_vfpf_mbox_intr() 44 static void cptpf_disable_vfpf_mbox_intr(struct otx2_cptpf_dev *cptpf, in cptpf_disable_vfpf_mbox_intr() argument 50 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, in cptpf_disable_vfpf_mbox_intr() 52 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, in cptpf_disable_vfpf_mbox_intr() 55 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, in cptpf_disable_vfpf_mbox_intr() 58 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFPF_MBOX0); in cptpf_disable_vfpf_mbox_intr() [all …]
|
H A D | otx2_cptpf_mbox.c | 28 static int forward_to_af(struct otx2_cptpf_dev *cptpf, in forward_to_af() argument 35 mutex_lock(&cptpf->lock); in forward_to_af() 36 msg = otx2_mbox_alloc_msg(&cptpf->afpf_mbox, 0, size); in forward_to_af() 38 mutex_unlock(&cptpf->lock); in forward_to_af() 49 ret = otx2_cpt_sync_mbox_msg(&cptpf->afpf_mbox); in forward_to_af() 56 dev_warn(&cptpf->pdev->dev, in forward_to_af() 58 mutex_unlock(&cptpf->lock); in forward_to_af() 61 mutex_unlock(&cptpf->lock); in forward_to_af() 65 static int handle_msg_get_caps(struct otx2_cptpf_dev *cptpf, in handle_msg_get_caps() argument 72 otx2_mbox_alloc_msg(&cptpf->vfpf_mbox, vf->vf_id, in handle_msg_get_caps() [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 79 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get() 84 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get() 89 return otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get() [all …]
|
H A D | otx2_cptpf_ucode.c | 122 struct otx2_cptpf_dev *cptpf = dev_get_drvdata(dev); in get_ucode_type() local 125 struct pci_dev *pdev = cptpf->pdev; in get_ucode_type() 158 static int __write_ucode_base(struct otx2_cptpf_dev *cptpf, int eng, in __write_ucode_base() argument 161 return otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in __write_ucode_base() 167 struct otx2_cptpf_dev *cptpf, int blkaddr) in cptx_set_ucode_base() argument 174 ret = otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev, in cptx_set_ucode_base() 176 cptpf->pf_id << RVU_PFVF_PF_SHIFT, blkaddr); in cptx_set_ucode_base() 193 ret = __write_ucode_base(cptpf, bit, dma_addr, in cptx_set_ucode_base() 204 struct otx2_cptpf_dev *cptpf = obj; in cpt_set_ucode_base() local 207 if (cptpf->has_cpt1) { in cpt_set_ucode_base() [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
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |