Lines Matching defs:otx2_cptpf_dev
26 struct otx2_cptpf_dev { struct
27 void __iomem *reg_base; /* CPT PF registers start address */
28 void __iomem *afpf_mbox_base; /* PF-AF mbox start address */
29 void __iomem *vfpf_mbox_base; /* VF-PF mbox start address */
30 struct pci_dev *pdev; /* PCI device handle */
31 struct otx2_cptvf_info vf[OTX2_CPT_MAX_VFS_NUM];
32 struct otx2_cpt_eng_grps eng_grps;/* Engine groups information */
33 struct otx2_cptlfs_info lfs; /* CPT LFs attached to this PF */
34 struct otx2_cptlfs_info cpt1_lfs; /* CPT1 LFs attached to this PF */
36 union otx2_cpt_eng_caps eng_caps[OTX2_CPT_MAX_ENG_TYPES];
37 bool is_eng_caps_discovered;
40 struct otx2_mbox afpf_mbox;
41 struct work_struct afpf_mbox_work;
42 struct workqueue_struct *afpf_mbox_wq;
44 struct otx2_mbox afpf_mbox_up;
45 struct work_struct afpf_mbox_up_work;
48 struct otx2_mbox vfpf_mbox;
49 struct workqueue_struct *vfpf_mbox_wq;
51 struct workqueue_struct *flr_wq;
52 struct cptpf_flr_work *flr_work;
53 struct mutex lock; /* serialize mailbox access */
55 unsigned long cap_flag;
56 u8 pf_id; /* RVU PF number */
57 u8 max_vfs; /* Maximum number of VFs supported by CPT */
58 u8 enabled_vfs; /* Number of enabled VFs */
59 u8 sso_pf_func_ovrd; /* SSO PF_FUNC override bit */
60 u8 kvf_limits; /* Kernel crypto limits */
61 bool has_cpt1;
62 u8 rsrc_req_blkaddr;
65 struct devlink *dl;