Searched refs:cptpf (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_devlink.h13 struct otx2_cptpf_dev *cptpf; member in struct:otx2_cpt_devlink
17 int otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf);
18 void otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf);
H A Dotx2_cptpf_main.c20 static void cptpf_enable_vfpf_mbox_intr(struct otx2_cptpf_dev *cptpf, argument
26 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0,
28 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0,
33 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0,
40 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0,
46 static void cptpf_disable_vfpf_mbox_intr(struct otx2_cptpf_dev *cptpf, argument
52 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0,
54 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0,
57 otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0,
60 vector = pci_irq_vector(cptpf
71 cptpf_enable_vf_flr_me_intrs(struct otx2_cptpf_dev *cptpf, int num_vfs) argument
102 cptpf_disable_vf_flr_me_intrs(struct otx2_cptpf_dev *cptpf, int num_vfs) argument
179 struct otx2_cptpf_dev *cptpf = arg; local
210 struct otx2_cptpf_dev *cptpf = arg; local
235 cptpf_unregister_vfpf_intr(struct otx2_cptpf_dev *cptpf, int num_vfs) argument
242 cptpf_register_vfpf_intr(struct otx2_cptpf_dev *cptpf, int num_vfs) argument
334 cptpf_flr_wq_init(struct otx2_cptpf_dev *cptpf, int num_vfs) argument
358 cptpf_vfpf_mbox_init(struct otx2_cptpf_dev *cptpf, int num_vfs) argument
408 cptpf_vfpf_mbox_destroy(struct otx2_cptpf_dev *cptpf) argument
414 cptpf_disable_afpf_mbox_intr(struct otx2_cptpf_dev *cptpf) argument
423 cptpf_register_afpf_mbox_intr(struct otx2_cptpf_dev *cptpf) argument
454 cptpf_afpf_mbox_init(struct otx2_cptpf_dev *cptpf) argument
498 cptpf_afpf_mbox_destroy(struct otx2_cptpf_dev *cptpf) argument
508 struct otx2_cptpf_dev *cptpf = dev_get_drvdata(dev); local
517 struct otx2_cptpf_dev *cptpf = dev_get_drvdata(dev); local
534 struct otx2_cptpf_dev *cptpf = dev_get_drvdata(dev); local
543 struct otx2_cptpf_dev *cptpf = dev_get_drvdata(dev); local
573 cpt_is_pf_usable(struct otx2_cptpf_dev *cptpf) argument
592 cptpf_get_rid(struct pci_dev *pdev, struct otx2_cptpf_dev *cptpf) argument
610 cptpf_check_block_implemented(struct otx2_cptpf_dev *cptpf) argument
620 cptpf_device_init(struct otx2_cptpf_dev *cptpf) argument
647 struct otx2_cptpf_dev *cptpf = pci_get_drvdata(pdev); local
665 struct otx2_cptpf_dev *cptpf = pci_get_drvdata(pdev); local
724 struct otx2_cptpf_dev *cptpf; local
824 struct otx2_cptpf_dev *cptpf = pci_get_drvdata(pdev); local
[all...]
H A Dotx2_cptpf_mbox.c28 static int forward_to_af(struct otx2_cptpf_dev *cptpf, argument
35 mutex_lock(&cptpf->lock);
36 msg = otx2_mbox_alloc_msg(&cptpf->afpf_mbox, 0, size);
38 mutex_unlock(&cptpf->lock);
49 ret = otx2_cpt_sync_mbox_msg(&cptpf->afpf_mbox);
56 dev_warn(&cptpf->pdev->dev,
58 mutex_unlock(&cptpf->lock);
61 mutex_unlock(&cptpf->lock);
65 static int handle_msg_get_caps(struct otx2_cptpf_dev *cptpf, argument
72 otx2_mbox_alloc_msg(&cptpf
87 handle_msg_get_eng_grp_num(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req) argument
110 handle_msg_kvf_limits(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req) argument
129 send_inline_ipsec_inbound_msg(struct otx2_cptpf_dev *cptpf, int sso_pf_func, u8 slot) argument
155 rx_inline_ipsec_lf_cfg(struct otx2_cptpf_dev *cptpf, u8 egrp, struct otx2_cpt_rx_inline_lf_cfg *req) argument
203 otx2_inline_cptlf_setup(struct otx2_cptpf_dev *cptpf, struct otx2_cptlfs_info *lfs, u8 egrp, int num_lfs) argument
243 handle_msg_rx_inline_ipsec_lf_cfg(struct otx2_cptpf_dev *cptpf, struct mbox_msghdr *req) argument
309 cptpf_handle_vf_req(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req, int size) argument
347 struct otx2_cptpf_dev *cptpf = arg; local
378 struct otx2_cptpf_dev *cptpf; local
424 struct otx2_cptpf_dev *cptpf = arg; local
454 process_afpf_mbox_msg(struct otx2_cptpf_dev *cptpf, struct mbox_msghdr *msg) argument
519 forward_to_vf(struct otx2_cptpf_dev *cptpf, struct mbox_msghdr *msg, int vf_id, int size) argument
565 struct otx2_cptpf_dev *cptpf; local
600 handle_msg_cpt_inst_lmtst(struct otx2_cptpf_dev *cptpf, struct mbox_msghdr *msg) argument
622 process_afpf_mbox_up_msg(struct otx2_cptpf_dev *cptpf, struct mbox_msghdr *msg) argument
642 struct otx2_cptpf_dev *cptpf; local
[all...]
H A Dotx2_cpt_devlink.c10 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; local
12 return otx2_cpt_dl_custom_egrp_create(cptpf, ctx);
19 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; local
21 return otx2_cpt_dl_custom_egrp_delete(cptpf, ctx);
36 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; local
37 struct pci_dev *pdev = cptpf->pdev;
40 otx2_cpt_read_af_reg(&cptpf
51 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; local
117 struct otx2_cptpf_dev *cptpf = cpt_dl->cptpf; local
138 otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf) argument
169 otx2_cpt_unregister_dl(struct otx2_cptpf_dev *cptpf) argument
[all...]
H A Dotx2_cptpf_ucode.h160 int otx2_cpt_create_eng_grps(struct otx2_cptpf_dev *cptpf,
162 int otx2_cpt_disable_all_cores(struct otx2_cptpf_dev *cptpf);
164 int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf);
165 int otx2_cpt_dl_custom_egrp_create(struct otx2_cptpf_dev *cptpf,
167 int otx2_cpt_dl_custom_egrp_delete(struct otx2_cptpf_dev *cptpf,
169 void otx2_cpt_print_uc_dbg_info(struct otx2_cptpf_dev *cptpf);
H A Dcn10k_cpt.c48 int cn10k_cptpf_lmtst_init(struct otx2_cptpf_dev *cptpf) argument
50 struct pci_dev *pdev = cptpf->pdev;
54 if (!test_bit(CN10K_LMTST, &cptpf->cap_flag)) {
55 cptpf->lfs.ops = &otx2_hw_ops;
59 cptpf->lfs.ops = &cn10k_hw_ops;
60 lmt_base = readq(cptpf->reg_base + RVU_PF_LMTLINE_ADDR);
66 size -= ((1 + cptpf->max_vfs) * MBOX_SIZE);
67 cptpf->lfs.lmt_base = devm_ioremap_wc(&pdev->dev, lmt_base, size);
68 if (!cptpf->lfs.lmt_base) {
H A Dotx2_cptpf_ucode.c160 static int __write_ucode_base(struct otx2_cptpf_dev *cptpf, int eng, argument
163 return otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev,
169 struct otx2_cptpf_dev *cptpf, int blkaddr)
176 ret = otx2_cpt_write_af_reg(&cptpf->afpf_mbox, cptpf->pdev,
178 cptpf->pf_id << RVU_PFVF_PF_SHIFT, blkaddr);
195 ret = __write_ucode_base(cptpf, bit, dma_addr,
206 struct otx2_cptpf_dev *cptpf = obj; local
209 if (cptpf
168 cptx_set_ucode_base(struct otx2_cpt_eng_grp_info *eng_grp, struct otx2_cptpf_dev *cptpf, int blkaddr) argument
217 cptx_detach_and_disable_cores(struct otx2_cpt_eng_grp_info *eng_grp, struct otx2_cptpf_dev *cptpf, struct otx2_cpt_bitmap bmap, int blkaddr) argument
286 struct otx2_cptpf_dev *cptpf = obj; local
304 cptx_attach_and_enable_cores(struct otx2_cpt_eng_grp_info *eng_grp, struct otx2_cptpf_dev *cptpf, struct otx2_cpt_bitmap bmap, int blkaddr) argument
346 struct otx2_cptpf_dev *cptpf = obj; local
1144 otx2_cpt_create_eng_grps(struct otx2_cptpf_dev *cptpf, struct otx2_cpt_eng_grps *eng_grps) argument
1280 cptx_disable_all_cores(struct otx2_cptpf_dev *cptpf, int total_cores, int blkaddr) argument
1334 otx2_cpt_disable_all_cores(struct otx2_cptpf_dev *cptpf) argument
1486 otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf) argument
1578 otx2_cpt_dl_custom_egrp_create(struct otx2_cptpf_dev *cptpf, struct devlink_param_gset_ctx *ctx) argument
1740 otx2_cpt_dl_custom_egrp_delete(struct otx2_cptpf_dev *cptpf, struct devlink_param_gset_ctx *ctx) argument
1819 otx2_cpt_print_uc_dbg_info(struct otx2_cptpf_dev *cptpf) argument
[all...]
H A Dotx2_cptpf.h14 struct otx2_cptpf_dev *cptpf; /* PF pointer this VF belongs to */ member in struct:otx2_cptvf_info
74 int otx2_inline_cptlf_setup(struct otx2_cptpf_dev *cptpf,
H A Dcn10k_cpt.h51 int cn10k_cptpf_lmtst_init(struct otx2_cptpf_dev *cptpf);
/linux-master/drivers/crypto/cavium/cpt/
H A DMakefile2 obj-$(CONFIG_CAVIUM_CPT) += cptpf.o cptvf.o
3 cptpf-objs := cptpf_main.o cptpf_mbox.o

Completed in 139 milliseconds